13 lines
378 B
Nix
13 lines
378 B
Nix
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
|
|
mkShell {
|
|
buildInputs = [
|
|
(python.withPackages ( ps: with ps; machnixDeps ++ [ pytest_6 twine ] ))
|
|
];
|
|
shellHook = ''
|
|
export PYTHONPATH=$(pwd)/
|
|
'';
|
|
}
|