gnu-config: set dontUpdateAutotoolsGnuConfigScripts = true

This commit is contained in:
Adam Joseph 2023-08-16 05:25:37 -07:00
parent b563d910a0
commit 3ddf69b37d

View file

@ -31,6 +31,13 @@ in stdenv.mkDerivation {
runHook postUnpack
'';
# If this isn't set, `pkgs.gnu-config.overrideAttrs( _: { patches
# = ...; })` will behave very counterintuitively: the (unpatched)
# gnu-config from the updateAutotoolsGnuConfigScriptsHook stdenv's
# defaultNativeBuildInputs will "update" the patched gnu-config by
# reverting the patch!
dontUpdateAutotoolsGnuConfigScripts = true;
dontConfigure = true;
dontBuild = true;