[Nix-dev] Howto add custom packages ? make inherit lazy?

Armijn Hemel armijn at uulug.nl
Thu Apr 26 20:09:48 CEST 2007


On Thu, Apr 26, 2007 at 08:07:42PM +0200, Marc Weber wrote:

> > rec {
> >   mypackage = stdenv.mkDerivation {
> >     name = "mypackage";
> >   };
> >   inherit transfig, ...;
> >   # I'd like to do a inherit *;
> > }
> > 
> > ... are all remeaning packages not listed yet but defined in
> > all-packages.nix
> 
> armijn told me on #trace that I don't want to inherit * because inherit
> isn't lazy ..
> What about making it lazy?

I also said my brain is quite fried at the moment. I think an import would
be better, or using symlinks, like the NixOS build scripts do.

armijn

-- 
 ---------------------------------------------------------------------------
  armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
 ---------------------------------------------------------------------------



More information about the nix-dev mailing list