Created
September 8, 2019 22:52
-
-
Save Camsbury/6e41e5148491e269cb75be63a75828ee to your computer and use it in GitHub Desktop.
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
let | |
inherit (import <nixpkgs> {}) fetchFromGitHub; | |
nixpkgs = import (fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
rev = "9ebc6ad944c9e53f58536ef50c64b6f057e5fa4c"; | |
sha256 = "1hv53kw8nwg9k3kim19ykbmn3yksgmlw1gjbd6d5midhmjjc6mhv"; | |
}); | |
overlays = [(self: super: { | |
python36 = super.python36.override { | |
packageOverrides = ( | |
pythonSelf: pythonSuper: { | |
pandas = pythonSuper.pandas.overridePythonAttrs ( | |
oldAttrs: { | |
doCheck = false; | |
doInstallCheck = false; | |
} | |
); | |
} | |
); | |
}; | |
})]; | |
pkgs = nixpkgs {inherit overlays;}; | |
in | |
with pkgs; | |
mkShell { | |
name = "pandas"; | |
buildInputs = [ | |
(python36.withPackages ( | |
pythonPackages: with pythonPackages; | |
[ pandas | |
] | |
)) | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment