mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
Merge pull request #135664 from zakame/contrib/perl-File-lchown-fix-build-on-Darwin
perlPackages.Filelchown: fix build on Darwin
This commit is contained in:
commit
6248814b68
|
@ -8081,7 +8081,7 @@ let
|
|||
sha256 = "a02fbf285406a8a4d9399284f032f2d55c56975154c2e1674bd109837b8096ec";
|
||||
};
|
||||
buildInputs = [ ExtUtilsCChecker ];
|
||||
perlPreHook = lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
|
||||
perlPreHook = lib.optionalString (stdenv.isi686 || stdenv.isDarwin) "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
|
||||
meta = {
|
||||
description = "Modify attributes of symlinks without dereferencing them";
|
||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||
|
|
Loading…
Reference in a new issue