Created
August 18, 2020 08:23
-
-
Save BenSchZA/67f2431fa8eb6f5fa01ac2022a33dead to your computer and use it in GitHub Desktop.
Nix derivation for Python Jupyter environment
This file contains hidden or 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
with import <nixpkgs> { }; | |
(let | |
cadCAD = pkgs.callPackage ./cadCAD.nix { inherit (pkgs) ; }; | |
python = pkgs.python38.override { | |
packageOverrides = python-self: python-super: { | |
buildPythonPackage = python-super.buildPythonPackage.overridePythonAttrs | |
(oldAttrs: { doCheck = !pkgs.stdenv.isDarwin; }); | |
}; | |
}; | |
in python.withPackages | |
(ps: with ps; [ cadCAD jupyter notebook setuptools ])).env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
error: value is a function while a set was expected, at shell.nix:7:28