mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
cups: Only apply patch for appropriate version
This commit is contained in:
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "lib" "dev" "man" ];
|
||||
|
||||
patches = [ ./0001-TargetConditionals.patch ];
|
||||
patches = lib.optional (version == "2.2.6") ./0001-TargetConditionals.patch;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cups/testfile.c \
|
||||
|
||||
Reference in New Issue
Block a user