Last active
May 17, 2019 19:35
-
-
Save tbenst/47ca22c136795cde28603b673a69d80a to your computer and use it in GitHub Desktop.
error: undefined variable 'nbdime'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
/* local pkg (can delete after in upstream)*/ | |
(self: super: { | |
}) | |
/* configure pkg */ | |
(self: super: { | |
pythonOverrides = python-self: python-super: { | |
magma = python-super.callPackage /Computer/packages/magma.nix { }; | |
pytorch = python-super.callPackage /Computer/packages/pytorch.nix { }; | |
jsonschema = python-super.callPackage /Computer/packages/jsonschema.nix { }; | |
nbdime = python-super.callPackage /Computer/packages/nbdime.nix { }; | |
}; | |
firefox = super.firefox.override { | |
enableAdobeFlash = true; | |
}; | |
numpy = super.numpy.overridePythonAttrs (old: { | |
blas = self.mkl; | |
}); | |
pytorch = super.pytorch.overridePythonAttrs | |
(old: { | |
cudaSupport = true; | |
cudatoolkit = self.cudatoolkit_10; | |
}); | |
tensorflow = super.tensorflow.overridePythonAttrs | |
(old: { cudaSupport = true; }); | |
opencv3 = super.opencv3.override { | |
enableCuda = true; | |
enableFfmpeg = true; | |
}; | |
}) | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{pkgs, ...}: | |
let | |
python = (pkgs.python37.override {packageOverrides = pkgs.pythonOverrides;}).withPackages (ps: with ps; [ | |
setuptools | |
click | |
h5py | |
ipython | |
matplotlib | |
moviepy | |
nbdime | |
numpy | |
opencv3 | |
pandas | |
pytorch | |
pyyaml | |
requests | |
scikitimage | |
scikitlearn | |
scipy | |
tqdm | |
tensorflow | |
wheel | |
]); | |
in | |
{ | |
home.packages = [ | |
python | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment