mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
perl522: fix build on Darwin
The sw_vers patch only applies to version 5.24
This commit is contained in:
parent
4338ddd0f9
commit
982af09d2c
|
@ -36,7 +36,8 @@ let
|
|||
./no-sys-dirs.patch
|
||||
]
|
||||
++ optional stdenv.isSunOS ./ld-shared.patch
|
||||
++ optional stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ];
|
||||
++ optional stdenv.isDarwin ./cpp-precomp.patch
|
||||
++ optional (stdenv.isDarwin && versionAtLeast version "5.24") ./sw_vers.patch;
|
||||
|
||||
postPatch = ''
|
||||
pwd="$(type -P pwd)"
|
||||
|
|
Loading…
Reference in a new issue