[Nix-dev] Integrating a Nix expression into the set of packages
Michael Raskin
7c6f434c at mail.ru
Mon Oct 15 18:42:50 CEST 2007
Ludovic Courtès wrote:
> Hi,
>
> I just wrote a simple Nix expression for GNU Guile 1.8.2:
>
> {stdenv, fetchurl, gmp, readline}:
>
> stdenv.mkDerivation {
> name = "guile-1.8.2";
> src = fetchurl {
> url = "ftp://ftp.gnu.org/pub/gnu/guile/guile-1.8.2.tar.gz";
> md5 = "a4b64a992deae0532f8015bcc6c40784";
> sha1 = "b5c624b152a45f302e185e20a468a02f2eb73e38";
> };
>
> buildInputs = [gmp readline];
> }
First, there is an expression for guile 1.8.2 and it even builds (you'll
need at least libtool and probably ncurses)
> What is the recommended way to add new packages that build upon those
> already in `all-packages.nix'?
I just added to configuration.nix (import /path/to/expression pkgs) - in
extraPackages.
More information about the nix-dev
mailing list