[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17661 - raskin - in nixpkgs/trunk/pkgs: development/libraries/avahi development/libraries/consolekit development/libraries/gstreamer development/libraries/gstreamer/gst-ffmpeg development/libraries/gstreamer/gst-plugins-base development/libraries/gstreamer/gst-plugins-good development/libraries/gstreamer/gstreamer development/libraries/libjpeg development/libraries/liboil development/libraries/libxml2 development/libraries/policykit os-specific/linux/udev os-specific/linux/util-linux-ng servers/pulseaudio top-level

Michael Raskin 7c6f434c at mail.ru
Sat Oct 24 20:08:35 CEST 2009


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

Eelco Dolstra wrote:
>> --- nixpkgs/trunk/pkgs/development/libraries/avahi/default.nix	2009-10-05 23:47:50 UTC (rev 17660)
>> +++ nixpkgs/trunk/pkgs/development/libraries/avahi/default.nix	2009-10-06 05:43:51 UTC (rev 17661)
>> @@ -1,6 +1,6 @@
>>  { fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser
>>  , expat, gettext, intltool, glib, gtk, qt4 ? null, lib
>> -, qt4Support ? false }:
>> +, qt4Support ? false, ...}:
> 
> Why these "..."?  (I guess it has something to do with the failure above and I
> should add "..." to libxslt's arguments...)

Exactly. I thought about how much easier it will be when we are able to
query argument list of a function. deepOverride "ideal semantics" is to
force all transitive dependencies to use some version of the package if
they need it at all. Unfortunately, the last part can only be
implemented with the latest stable Nix as "..." in argument list.

> As far as I'm concerned "..." in package function argument lists was a failed
> experiment in reducing typing overhead and is deprecated (just like "with args").

I grep for the word "deprecated" in Nix/NixPkgs doc.. OK, whether "..."
is deprecated is quite hard to know. Also, we need transitive overrides
to actually use one of the selling points (all our "many versions of a
library simultaneously" ideas are worthless if we cannot easily create
package set "slices" with given library versions - like I did for
WebKit). It is the only way to implement it, and not an unmaintainable one.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK40KiAAoJEE6tnN0aWvw3Gy4H/j/H/27Etc2eRDKXzEzWZG3d
dJ/L7f+m6RI8IN8v+Ov/TzOxISCSozgoPag5sy64Le9c9xYANaPLSUkWglVeUpU6
jBx+c1ztUjADu5fcXipREFSA5nBfsLk1CeqnF4O+5YEjWbZfBUSJRDEcF88Qgakh
WlFgUEypCJoZ2RR63d6Faj4NEN/SLh3yXHj5/ErtHZ8oHQDrRkN0jSc9P4QMWJCd
3sEfDTXFoF+7zPCPxusZkrpwds19RTUX7pB5T2XpOvSgNTLN270GdxH1+ucgigGp
H+U21cmZ14BkaTjowmKFNaKBGm+bFaiAGohO81QYZmWg6Q794WyTTuk3LCadmj8=
=I033
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list