1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-17 01:23:48 +00:00

gnutar: fix cross compilation on darwin

This commit is contained in:
Andrew Childs 2020-11-19 16:22:26 +09:00
parent 21541fc97c
commit 0a5dcc9840

View file

@ -30,9 +30,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "info" ];
buildInputs = [ ]
++ lib.optional stdenv.isLinux acl
++ lib.optional stdenv.isDarwin autoreconfHook;
nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook;
buildInputs = lib.optional stdenv.isLinux acl;
# May have some issues with root compilation because the bootstrap tool
# cannot be used as a login shell for now.