/ templates / devshell / nix / flake.nix
flake.nix
 1  {
 2    description = "A startup basic project";
 3  
 4    inputs = {
 5      nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
 6      flake-parts.url = "github:hercules-ci/flake-parts";
 7  
 8      devshell.url = "github:numtide/devshell";
 9    };
10  
11    outputs = inputs@{ flake-parts, ... }:
12      flake-parts.lib.mkFlake { inherit inputs; } {
13        imports = [
14          inputs.devshell.flakeModule
15        ];
16  
17        perSystem = _: {
18          devshells.default = {
19            env = [ ];
20            commands = [ ];
21            packages = [ ];
22          };
23        };
24  
25        systems = [
26          "x86_64-linux"
27          "aarch64-linux"
28          "aarch64-darwin"
29          "x86_64-darwin"
30        ];
31      };
32  }