24 lines
597 B
Nix
24 lines
597 B
Nix
{
|
|
description = "virtual environments";
|
|
|
|
inputs.devshell.url = "github:numtide/devshell";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = { self, flake-utils, devshell, nixpkgs }:
|
|
flake-utils.lib.eachDefaultSystem (system: {
|
|
devShell =
|
|
let pkgs = import nixpkgs {
|
|
inherit system;
|
|
|
|
overlays = [ devshell.overlay ];
|
|
};
|
|
in
|
|
pkgs.devshell.mkShell {
|
|
imports = [ (pkgs.devshell.importTOML ./devshell.toml) ];
|
|
devshell.packages = with pkgs; [
|
|
gnumake
|
|
];
|
|
};
|
|
});
|
|
}
|