mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
cuda-modules: fix sort
predicate stability (#368366)
This commit is contained in:
commit
2cd2decd3a
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ let
|
|||
redistArch = flags.getRedistArch hostPlatform.system;
|
||||
|
||||
preferable =
|
||||
p1: p2: (isSupported p2 -> isSupported p1) && (strings.versionAtLeast p1.version p2.version);
|
||||
p1: p2: (isSupported p2 -> isSupported p1) && (strings.versionOlder p2.version p1.version);
|
||||
|
||||
# All the supported packages we can build for our platform.
|
||||
# perSystemReleases :: List Package
|
||||
|
|
|
@ -364,7 +364,7 @@ buildPythonPackage rec {
|
|||
''
|
||||
+ lib.optionalString (cudaSupport && cudaPackages ? cudnn) ''
|
||||
export CUDNN_INCLUDE_DIR=${lib.getLib cudnn}/include
|
||||
export CUDNN_LIB_DIR=${cudnn.lib}/lib
|
||||
export CUDNN_LIB_DIR=${lib.getLib cudnn}/lib
|
||||
''
|
||||
+ lib.optionalString rocmSupport ''
|
||||
export ROCM_PATH=${rocmtoolkit_joined}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue