diff options
Diffstat (limited to 'pkgs/shells/dash/default.nix')
-rw-r--r-- | pkgs/shells/dash/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index c76191cfd3778..f9dd578ad98b2 100644 --- a/pkgs/shells/dash/default.nix +++ b/pkgs/shells/dash/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ autoreconfHook, lib, stdenv, fetchurl }: stdenv.mkDerivation rec { name = "dash-0.5.11.1"; @@ -10,6 +10,10 @@ 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; + meta = with stdenv.lib; { homepage = "http://gondor.apana.org.au/~herbert/dash/"; description = "A POSIX-compliant implementation of /bin/sh that aims to be as small as possible"; |