Merge pull request #96970 from obsidiansystems/dash-cross
dash: Fix cross build
This commit is contained in:
commit
bd3583fc71
|
@ -1,4 +1,4 @@
|
||||||
{ autoreconfHook, lib, stdenv, fetchurl }:
|
{ stdenv, buildPackages, autoreconfHook, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dash-0.5.11.1";
|
name = "dash-0.5.11.1";
|
||||||
|
@ -11,8 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
# Temporary fix until a proper one is accepted upstream
|
# Temporary fix until a proper one is accepted upstream
|
||||||
patches = lib.lists.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch;
|
patches = stdenv.lib.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch;
|
||||||
nativeBuildInputs = lib.lists.optional stdenv.isDarwin autoreconfHook;
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://gondor.apana.org.au/~herbert/dash/";
|
homepage = "http://gondor.apana.org.au/~herbert/dash/";
|
||||||
|
|
Loading…
Reference in a new issue