Skip to content

Commit 982af09

Browse files
committedJul 1, 2017
perl522: fix build on Darwin
The sw_vers patch only applies to version 5.24
1 parent 4338ddd commit 982af09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎pkgs/development/interpreters/perl/default.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ let
3636
./no-sys-dirs.patch
3737
]
3838
++ optional stdenv.isSunOS ./ld-shared.patch
39-
++ optional stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ];
39+
++ optional stdenv.isDarwin ./cpp-precomp.patch
40+
++ optional (stdenv.isDarwin && versionAtLeast version "5.24") ./sw_vers.patch;
4041

4142
postPatch = ''
4243
pwd="$(type -P pwd)"

0 commit comments

Comments
 (0)
Please sign in to comment.