-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nicolas Pierron wrote: > On Fri, Jan 9, 2009 at 00:02, Michael Raskin <[email protected]> wrote: >> Modified: nixpkgs/trunk/pkgs/lib/default.nix >> =================================================================== >> --- nixpkgs/trunk/pkgs/lib/default.nix 2009-01-08 22:21:32 UTC (rev 13725) >> +++ nixpkgs/trunk/pkgs/lib/default.nix 2009-01-08 23:02:44 UTC (rev 13726) >> @@ -484,6 +484,7 @@ >> else if all __isList list then concatLists list >> else if all __isAttrs list then mergeAttrs list >> else if all (x: true == x || false == x) list then fold logicalOR false >> list >> + else if all (x: x == toString x) list then concatStrings x >> else abort "${name}: Cannot merge values."; > > Nice trick, but it would be better to have a builtins.isString for that.
Well, I hope to find some small quantum time and update LiveDVD. I would be happy to receive some direct advice on doing feature sets, but that's another can of worms. I do not want to use a fortnight old builtin inside NixOS tree (in a much used place) anyway. So I have no choice.. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJa7mkAAoJEE6tnN0aWvw3IyYH/iz1jPL1c7cBKNpCYpOB7/1y fkop3YTp3EyxTeLrRVfudHUdfUNGxRnIDXeqAcBIhoSjKCsanMkIc4LLefCm1cl0 z+rg3jj0bvVCDWZ7QGtSOYeGXIFDSLssXKw5JaZCSnJQl2AZ001E2uR7DSmkxVRF 1qaAv/w3UQXVkfFGufggySaji3jiwCfKfz6TtTiMMptaFpICuMVC69VssDHACwMm NXHXzrpY1rJVsphETVNzpJP/m8wUJ9PDLdlLBOAqpnCqgf08+Lzi7yJF5pOZaIEV vEm/1A0S3F7Y4aj4EjfxQilz6h5uD5tKBhKiI2FKtfVWIuJcAGVLN1lkYxq1Q1I= =phzQ -----END PGP SIGNATURE----- _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
