Merge pull request #36615 from rdnetto/cuda_fixes
haskellPackages.cuda: Fixed broken dependency
This commit is contained in:
commit
9132156ae4
@ -58,9 +58,8 @@ self: super: builtins.intersectAttrs super {
|
|||||||
# CUDA needs help finding the SDK headers and libraries.
|
# CUDA needs help finding the SDK headers and libraries.
|
||||||
cuda = overrideCabal super.cuda (drv: {
|
cuda = overrideCabal super.cuda (drv: {
|
||||||
extraLibraries = (drv.extraLibraries or []) ++ [pkgs.linuxPackages.nvidia_x11];
|
extraLibraries = (drv.extraLibraries or []) ++ [pkgs.linuxPackages.nvidia_x11];
|
||||||
configureFlags = (drv.configureFlags or []) ++
|
configureFlags = (drv.configureFlags or []) ++ [
|
||||||
pkgs.lib.optional pkgs.stdenv.is64bit "--extra-lib-dirs=${pkgs.cudatoolkit}/lib64" ++ [
|
"--extra-lib-dirs=${pkgs.cudatoolkit.lib}/lib"
|
||||||
"--extra-lib-dirs=${pkgs.cudatoolkit}/lib"
|
|
||||||
"--extra-include-dirs=${pkgs.cudatoolkit}/include"
|
"--extra-include-dirs=${pkgs.cudatoolkit}/include"
|
||||||
];
|
];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -54803,8 +54803,8 @@ self: {
|
|||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "cuda";
|
pname = "cuda";
|
||||||
version = "0.9.0.1";
|
version = "0.9.0.2";
|
||||||
sha256 = "1ldn1jd12kisx6dgz5q50l6hx5aqakwj9vq2fbnx21ri309vlyq8";
|
sha256 = "0l7dpvpr6k0nm7fardga2cyc9ivvv67yndnxpmixifrhdsbm8hvc";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
setupHaskellDepends = [ base Cabal directory filepath ];
|
setupHaskellDepends = [ base Cabal directory filepath ];
|
||||||
|
Loading…
Reference in New Issue
Block a user