mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03: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 New Issue
Block a user