Consistent file naming between overlays for eventual auto inclusion
This commit is contained in:
21
temporary/all-packages.nix
Normal file
21
temporary/all-packages.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
# Temporary stuff (e.g., upstream bug fixes that haven't landed)
|
||||
#
|
||||
# self - next package set (after our additions)
|
||||
# super - prior package set (before our additions)
|
||||
# pkgs - final package set (after everyone's additions)
|
||||
#
|
||||
|
||||
self: super: pkgs: with pkgs; {
|
||||
|
||||
# tensorflow requires cudatoolkit90
|
||||
inherit (callPackages ./tf-cudatoolkit.nix { }) cudatoolkit90;
|
||||
inherit (callPackages ./tf-cudnn.nix { }) cudnn_cudatoolkit90;
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/44426
|
||||
python27 = super.python27.override { packageOverrides = pythonOverrides; };
|
||||
python34 = super.python34.override { packageOverrides = pythonOverrides; };
|
||||
python35 = super.python35.override { packageOverrides = pythonOverrides; };
|
||||
python36 = super.python36.override { packageOverrides = pythonOverrides; };
|
||||
|
||||
pythonOverrides = import ./python-packages.nix pkgs;
|
||||
}
|
||||
Reference in New Issue
Block a user