26 lines
653 B
Nix
26 lines
653 B
Nix
{
|
|
description = "virtual environments";
|
|
|
|
inputs.devshell.url = "github:numtide/devshell";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
inputs.flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
|
|
outputs = { self, flake-utils, devshell, nixpkgs, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system: {
|
|
devShells.default =
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
|
|
overlays = [ devshell.overlays.default ];
|
|
};
|
|
in
|
|
pkgs.devshell.mkShell {
|
|
imports = [ (pkgs.devshell.importTOML ./devshell.toml) ];
|
|
};
|
|
});
|
|
}
|