opencv3: pull patches only if necessary
This commit is contained in:
parent
50466c2d4f
commit
d6f1081314
@ -42,7 +42,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1l0w12czavgs0wzw1c594g358ilvfg2fn32cn8z7pv84zxj4g429";
|
sha256 = "1l0w12czavgs0wzw1c594g358ilvfg2fn32cn8z7pv84zxj4g429";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches =
|
||||||
|
lib.optionals enableCuda [
|
||||||
(fetchpatch { # Patch for CUDA 8 compatibility
|
(fetchpatch { # Patch for CUDA 8 compatibility
|
||||||
url = "https://github.com/opencv/opencv/commit/10896129b39655e19e4e7c529153cb5c2191a1db.patch";
|
url = "https://github.com/opencv/opencv/commit/10896129b39655e19e4e7c529153cb5c2191a1db.patch";
|
||||||
sha256 = "0jka3kxxywgs3prqqgym5kav6p73rrblwj50k1nf3fvfpk194ah1";
|
sha256 = "0jka3kxxywgs3prqqgym5kav6p73rrblwj50k1nf3fvfpk194ah1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user