dash: fix compilation on darwin
it has been broken since: https://github.com/NixOS/nixpkgs/commit/adbace3c212a64cfa151590f907965aa3eaabf8b
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user