Skip to content
Snippets Groups Projects
  1. Apr 13, 2012
  2. Apr 10, 2012
  3. Mar 19, 2012
    • Eelco Dolstra's avatar
      Add a command "nix-build --run-env" to reproduce the environment of a derivation · 7f38087f
      Eelco Dolstra authored
      This command builds or fetches all dependencies of the given
      derivation, then starts a shell with the environment variables from
      the derivation.  This shell also sources $stdenv/setup to initialise
      the environment further.
      
      The current directory is not changed.  Thus this is a convenient way
      to reproduce a build environment in an existing working tree.
      
      Existing environment variables are left untouched (unless the
      derivation overrides them).  As a special hack, the original value of
      $PATH is appended to the $PATH produced by $stdenv/setup.
      
      Example session:
      
      $ nix-build --run-env '<nixpkgs>' -A xterm
      (the dependencies of xterm are built/fetched...)
      $ tar xf $src
      $ ./configure
      $ make
      $ emacs
      (... hack source ...)
      $ make
      $ ./xterm
      7f38087f
  4. Mar 05, 2012
  5. Jan 18, 2012
  6. Jan 12, 2012
  7. Jan 11, 2012
  8. Jan 05, 2012
  9. Jan 03, 2012
  10. Dec 02, 2011
  11. Nov 29, 2011
  12. Nov 23, 2011
    • Eelco Dolstra's avatar
      * Add an API function exportPaths() that provides the functionality of · 5bbd693c
      Eelco Dolstra authored
        ‘nix-store --export’.
      * Add a Perl module that provides the functionality of
        ‘nix-copy-closure --to’.  This is used by build-remote.pl so it no
        longer needs to start a separate nix-copy-closure process.  Also, it
        uses the Perl API to do the export, so it doesn't need to start a
        separate nix-store process either.  As a result, nix-copy-closure
        and build-remote.pl should no longer fail on very large closures due
        to an "Argument list too long" error.  (Note that having very many
        dependencies in a single derivation can still fail because the
        environment can become too large.  Can't be helped though.)
      5bbd693c
    • Eelco Dolstra's avatar
  13. Nov 22, 2011
  14. Nov 16, 2011
  15. Oct 11, 2011
  16. Oct 10, 2011
Loading