[Nix-dev] xorgReplacements broke in nix-0.12pre12474

Jeevakan Suresh Jeevakan.Suresh at macquarie.com
Wed Oct 29 07:36:24 CET 2008


So can I upgrade my nix (via nix) so that it handles these - or do I
have to rebuild from svn trunk? 

-----Original Message-----
From: Michael Raskin [mailto:7c6f434c at mail.ru] 
Sent: Wednesday, October 29, 2008 4:48 PM
To: Jeevakan Suresh
Cc: nix-dev at cs.uu.nl
Subject: Re: [Nix-dev] xorgReplacements broke in nix-0.12pre12474

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

Jeevakan Suresh wrote:
> I just did an svn update, and when I try to install anything - I get 
> the following error.
> 
> error: while evaluating the function at 
> `/home/isdtc/jsuresh/.nix-defexpr/channels/channel/nixexpr/pkgs/lib/de
> fa
> ult.nix', line 42:
> while evaluating the attribute `<let-body>' at 
> `/home/isdtc/jsuresh/.nix-defexpr/channels/channel/nixexpr/pkgs/lib/de
> fa
> ult.nix', line 43:
> syntax error, unexpected '.', expecting '}', at 
> `/home/isdtc/jsuresh/.nix-defexpr/channels/channel/nixexpr/pkgs/server
> s/
> x11/xorg/replacements.nix':1:76
> 
> I got rid of the compile errors by commenting out the '...' on line 1 
> and 3 in replacements.nix - I'm currently running nix-0.12pre12474 - 
> I'm guessing this is a new language feature?

Yes, now function can accept variable number of arguments, ignoring the
unexpected part.

> When such changes are made, can I simply update nix via nix? Or do I 
> have to track the svn version of nix?

NixPkgs Nix expression approximately tracks SVN with some delay.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJB/j/AAoJEE6tnN0aWvw3530IAKEITocrU/MTNRNH+xY+LDBk
flKeIsjeDbfV7pAEBW9MImIBTbW7XPad8QjNkltGKAurpx75igEtPCphscjjgJRc
YkwbyvU4P8+B0pFxB/n/dDfgBfpL7PbxS9p4AxR3kVsNgP19l1PKbCno0hO3O/7H
qCeDCyShbHpqPBmzR/8ZAiyCtu8pCwWTbMkj9llBVuM15zBIRUgv+MSzxgHpwJUx
sdqdx/fbD0Wok3WdJ6eKEKZG4gX/rD3blhhbdT01ZoqG1kZP4fSLfOvgTEL6GUZJ
HhQBJuKk0MVCTh5UV5WIzEej3lsvrhYa/IEtj1Dsm9iWYlal7iM4W9CG/1UyygE=
=RADu
-----END PGP SIGNATURE-----

NOTICE
This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited.




More information about the nix-dev mailing list