peerix/shell.nix
2021-10-17 02:09:38 +02:00

19 lines
362 B
Nix

let
sources = import ./nix/sources.nix {};
in
{ pkgs ? import sources.nixpkgs {} }:
let
mach-nix = import sources.mach-nix {
inherit pkgs;
};
in
pkgs.mkShell {
buildInputs = with pkgs; [
nix-serve
niv
(mach-nix.mkPython {
python = "python39";
requirements = (builtins.readFile ./requirements.txt) + "\nipython";
})
];
}