cups: Change condition so patch won't remain forever
By changing the condition for the patch it'll hopefully break when the version is updated for Darwin and not stick around forever. Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
530b000f09
commit
ea50c9776c
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "lib" "dev" "man" ];
|
outputs = [ "out" "lib" "dev" "man" ];
|
||||||
|
|
||||||
patches = lib.optional (version == "2.2.6") ./0001-TargetConditionals.patch;
|
patches = lib.optional stdenv.isDarwin ./0001-TargetConditionals.patch;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace cups/testfile.c \
|
substituteInPlace cups/testfile.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user