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 = overrideCabal super.cuda (drv: {
|
||||
extraLibraries = (drv.extraLibraries or []) ++ [pkgs.linuxPackages.nvidia_x11];
|
||||
configureFlags = (drv.configureFlags or []) ++
|
||||
pkgs.lib.optional pkgs.stdenv.is64bit "--extra-lib-dirs=${pkgs.cudatoolkit}/lib64" ++ [
|
||||
"--extra-lib-dirs=${pkgs.cudatoolkit}/lib"
|
||||
configureFlags = (drv.configureFlags or []) ++ [
|
||||
"--extra-lib-dirs=${pkgs.cudatoolkit.lib}/lib"
|
||||
"--extra-include-dirs=${pkgs.cudatoolkit}/include"
|
||||
];
|
||||
preConfigure = ''
|
||||
|
@ -54803,8 +54803,8 @@ self: {
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "cuda";
|
||||
version = "0.9.0.1";
|
||||
sha256 = "1ldn1jd12kisx6dgz5q50l6hx5aqakwj9vq2fbnx21ri309vlyq8";
|
||||
version = "0.9.0.2";
|
||||
sha256 = "0l7dpvpr6k0nm7fardga2cyc9ivvv67yndnxpmixifrhdsbm8hvc";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
setupHaskellDepends = [ base Cabal directory filepath ];
|
||||
|
Loading…
Reference in New Issue
Block a user