Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #224 from multinet-app/shell.nix
Browse files Browse the repository at this point in the history
Add shell.nix file
  • Loading branch information
waxlamp committed Dec 30, 2019
2 parents f2c5901 + 4cc254c commit 819d93a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
with import <nixpkgs> {};

let manyLinuxFile = writeTextDir "_manylinux.py"
''
print("in _manylinux.py")
manylinux1_compatible = True
'';
in
(buildFHSUserEnv {
name = "multinet-python-env";
targetPkgs = pkgs: with pkgs; [
python3
pipenv
ncurses.dev
];

profile = ''
export PYTHONPATH=${manyLinuxFile.out}:/usr/lib/python3.6/site-packages
export SOURCE_DATE_EPOCH=$(date +%s)
'';
runScript = "zsh";
}).env

0 comments on commit 819d93a

Please sign in to comment.