Created
December 23, 2019 09:20
-
-
Save tbenst/329db435bd78a61588144a6dcb8449c3 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
# this file is used for Continuous Integration | |
# { supportedSystems ? [ "x86_64-linux" ]}: | |
let | |
nixpkgsSHA = "07be0186f298e5b16897a168eae6ab01a5540fc4"; | |
pkgs = import (fetchTarball | |
"https://github.com/tbenst/nixpkgs/archive/${nixpkgsSHA}.tar.gz") { | |
system = builtins.currentSystem; | |
overlays = import ./overlays.nix; | |
config = with pkgs.stdenv; { | |
whitelistedLicenses = with lib.licenses; [ | |
unfreeRedistributable | |
issl | |
]; | |
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ | |
"cudnn_cudatoolkit_10" | |
"cudatoolkit-10.1.243" | |
]; | |
}; | |
}; | |
in { | |
hello = pkgs.hello; | |
babelfish = pkgs.python3Packages.babelfish; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment