test naive templates
This commit is contained in:
17
python/flake.nix
Normal file
17
python/flake.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
description = "A small file sorter using tkinter and python";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
|
||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
|
||||
in
|
||||
{
|
||||
devShells = forAllSystems (system: {
|
||||
default = pkgs.${system}.callPackage ./shell.nix {} ;
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user