mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
icu: enable updateAutotoolsGnuConfigScriptsHook
This commit is contained in:
parent
612b7cbb4b
commit
448a3c064c
@ -1,8 +1,8 @@
|
||||
{ stdenv, lib, fetchurl, fetchpatch, fixDarwinDylibNames, testers, buildPackages }:
|
||||
{ stdenv, lib, fetchurl, fetchpatch, fixDarwinDylibNames, testers, buildPackages, updateAutotoolsGnuConfigScriptsHook }:
|
||||
|
||||
let
|
||||
make-icu = (import ./make-icu.nix) {
|
||||
inherit stdenv lib buildPackages fetchurl fixDarwinDylibNames testers;
|
||||
inherit stdenv lib buildPackages fetchurl fixDarwinDylibNames testers updateAutotoolsGnuConfigScriptsHook;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, buildPackages, fetchurl, fixDarwinDylibNames, testers }:
|
||||
{ stdenv, lib, buildPackages, fetchurl, fixDarwinDylibNames, testers, updateAutotoolsGnuConfigScriptsHook }:
|
||||
|
||||
{ version, hash, patches ? [], patchFlags ? [], withStatic ? stdenv.hostPlatform.isStatic }:
|
||||
|
||||
@ -64,9 +64,11 @@ let
|
||||
outputs = [ "out" "dev" ] ++ lib.optional withStatic "static";
|
||||
outputBin = "dev";
|
||||
|
||||
# FIXME: This fixes dylib references in the dylibs themselves, but
|
||||
# not in the programs in $out/bin.
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ] ++
|
||||
# FIXME: This fixes dylib references in the dylibs themselves, but
|
||||
# not in the programs in $out/bin.
|
||||
lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
|
||||
|
||||
# remove dependency on bootstrap-tools in early stdenv build
|
||||
postInstall = lib.optionalString withStatic ''
|
||||
|
Loading…
Reference in New Issue
Block a user