diff options
author | John Ericson <git@JohnEricson.me> | 2020-09-03 14:10:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 14:10:15 -0400 |
commit | bd3583fc712142fc77c333c202c7e81819b39da7 (patch) | |
tree | 905409856acc8f67296a9a6e20dc868a31c474c7 /pkgs/shells | |
parent | 7a4e3e5762d7e15b3c0f1c966e991989750efa01 (diff) | |
parent | a47d059689df48f07f466d719e5e6f26fe4f1e33 (diff) |
Merge pull request #96970 from obsidiansystems/dash-cross
dash: Fix cross build
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/dash/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index f9dd578ad98b2..3f344f673f162 100644 --- a/pkgs/shells/dash/default.nix +++ b/pkgs/shells/dash/default.nix @@ -1,4 +1,4 @@ -{ autoreconfHook, lib, stdenv, fetchurl }: +{ stdenv, buildPackages, autoreconfHook, fetchurl }: stdenv.mkDerivation rec { name = "dash-0.5.11.1"; @@ -11,8 +11,9 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; # Temporary fix until a proper one is accepted upstream - patches = lib.lists.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch; - nativeBuildInputs = lib.lists.optional stdenv.isDarwin autoreconfHook; + patches = stdenv.lib.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch; + depsBuildBuild = [ buildPackages.stdenv.cc ]; + nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook; meta = with stdenv.lib; { homepage = "http://gondor.apana.org.au/~herbert/dash/"; |