mach-nix/shell.nix

15 lines
399 B
Nix
Raw Normal View History

with import (import ./mach_nix/nix/nixpkgs-src.nix) { config = {}; };
let
python = python37;
machnixDeps = (lib.attrValues (import ./mach_nix/nix/python-deps.nix { inherit python; fetchurl = fetchurl; }));
in
2020-04-22 09:28:58 +00:00
mkShell {
buildInputs = [
(python.withPackages ( ps: with ps; machnixDeps ++ [ pytest_6 twine ] ))
nix-prefetch-git
2020-04-22 09:28:58 +00:00
];
shellHook = ''
export PYTHONPATH=$(pwd)/
'';
}