Hi Sander,
On Tue, Apr 28, 2009 at 16:05, Sander van der Burg
<[email protected]> wrote:
> Added: configurations/trunk/misc/sander.van.der.burg/dutipm.nix
> ===================================================================
> --- configurations/trunk/misc/sander.van.der.burg/dutipm.nix
> (rev 0)
> +++ configurations/trunk/misc/sander.van.der.burg/dutipm.nix 2009-04-28
> 14:05:52 UTC (rev 15377)
> @@ -0,0 +1,52 @@
> +let
> + pkgs = import (builtins.getEnv "NIXPKGS_ALL") {};
> + kernelPackages = pkgs.kernelPackages_2_6_28;
> +in
I'd recommend you to use the following lines instead of what I've
quoted. The reason is that the "pkgs" attribute that you are creating
may not be the same as the one used by the other modules. This may
cause extra work and extra package duplication/compilation.
------
{pkgs, ...}:
let
kernelPackages = pkgs.kernelPackages_2_6_28;
in
------
Cheers,
--
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
- If you are doing something twice then you should try to do it once.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev