[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17405 - MarcWeber - in nixpkgs/trunk/pkgs: tools/package-management/nix top-level

Michael Raskin 7c6f434c at mail.ru
Fri Sep 25 06:31:28 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc Weber wrote:
> Are you fine with me adding a link to the patch so that everyone can
> apply it on his own?
> 
> Also did you like allowing passing some patches?
> 
> So is this less intrusive enough ?
> 
> diff --git a/pkgs/tools/package-management/nix/unstable.nix b/pkgs/tools/package-management/nix/unstable.nix
> index 68e836b..58c1c92 100644
> --- a/pkgs/tools/package-management/nix/unstable.nix
> +++ b/pkgs/tools/package-management/nix/unstable.nix
> @@ -4,13 +4,20 @@
>  , supportOldDBs ? true
>  , nameSuffix ? ""
>  , patches ? []
> +  # eg try http://mawercer.de/~marc/debug-coercion-failures.patch to make nix output what item it found when complaining about wrong types
>  }:

We have nixCustomFun for a reason. I'd say it would be more natural to
add patch support there. I guess a bit of documentation about known
patches would be useful.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJKvEecAAoJEE6tnN0aWvw3+Q8IAKTd/K8abDDLAaYN8NfD8v9f
2VA9/rgukSbwcsDvGTdn5mP/Cua7sbPtyHt1N9VBkFElmUutVfsXkqGzkjs0erZM
H8lByCZAxg77cB9u7XeAopOkAn3l69u6XUDEYM3I3LUIFDfS16/F/AcaTGzhRWmZ
yePAI7qQmIKQ5Nb3yoPOD38psLprrE4uF+GiyqGPhrfS2Rtr5N2hHYnPItacT/Wy
3yK3hM4wqxHzJ4XLeBTuJFDAt7ezIwekX81ocGZ4JTSZc43e6VVfRKK/zsi8L52g
VvHyF2348pK9X6iMq/6S4WC7HlDnrpf0MuWQ1Op0eILNElRCcfbKCGlcYw++3SI=
=YueR
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list