Skip to content

Instantly share code, notes, and snippets.

@tbenst
Created December 23, 2019 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbenst/329db435bd78a61588144a6dcb8449c3 to your computer and use it in GitHub Desktop.
Save tbenst/329db435bd78a61588144a6dcb8449c3 to your computer and use it in GitHub Desktop.
# 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