nixpkgs-suyu/pkgs/development
Eelco Dolstra 892b119c9d * It is now possible to execute a builder using a shell inside the Nix
store, rather than outside (such as /bin/sh).

  For instance, the Nix expression for the ATerm library now looks
  like this:

    {stdenv, fetchurl}:

    stdenv.mkDerivation {
      name = "aterm-2.0.5";
      builder = ./builder.sh;
      ...
    }

  where `mkDerivation' is a helper function in `stdenv' that massages
  the given attribute set into using the bash shell that is part of
  the standard environment:

    mkDerivation = attrs: derivation (att s // {
      builder = pkgs.bash ~ /bin/sh;
      args = ["-e" attrs.builder];
      stdenv = (...);
      system = (...).system;
    });

  Note that this makes it unnecessary to set the `stdenv' and `system'
  attributes, since `mkDerivation' already does that.


svn path=/nixpkgs/trunk/; revision=866
2004-03-28 21:07:43 +00:00
..
compilers expression for strategoxt 0.9.5 2004-03-28 15:52:03 +00:00
interpreters * Finally got stdenv-nix-linux working again. Still not perfect, 2004-03-11 17:26:14 +00:00
libraries * It is now possible to execute a builder using a shell inside the Nix 2004-03-28 21:07:43 +00:00
perl-modules * Added `zapping', a TV viewer application. It depends on Gnome, so 2004-01-21 09:34:19 +00:00
python-modules/wxPython * Added wxPython. 2004-02-17 19:19:26 +00:00
tools * The stdenv setup script now defines a generic builder that allows 2004-03-19 16:53:04 +00:00