[Nix-dev] Re: Integrating a Nix expression into the set of packages
Michael Raskin
7c6f434c at mail.ru
Tue Oct 16 19:17:19 CEST 2007
Marc Weber wrote:
> Now you want to benefit from all-packages (thus using those dependencies
> as arguments to your derivation without adding <your package> at the
> place show above?
>
> You can do this using the 'with' syntax
> with (import <path to all-packages.nix>) {}:
> (import <your file>) { inherit stdenv fetchurl gmp readline }
Note: this doesn't work. all-packages.nix requires
{system=__currentSystem;}; argument.
More information about the nix-dev
mailing list