aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-01-17 23:07:22 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-01-17 23:07:22 +0000
commit4e624849b686894f8a4c23a56098f4d47634a85c (patch)
tree517d2938dfb90ba4a9a321084169dcadd8edd3c1 /doc/manual
parent2a3f4110c54a10ebee67403a699cb8f951fca858 (diff)
* Added a command ‘nix-store --print-env $drvpath’ that prints out the
environment of the given derivation in a format that can be sourced by the shell, e.g. $ eval "$(nix-store --print-env $(nix-instantiate /etc/nixos/nixpkgs -A pkg))" $ NIX_BUILD_TOP=/tmp $ source $stdenv/setup This is especially useful to reproduce the environment used to build a package outside of its builder for development purposes. TODO: add a nix-build option to do the above and fetch the dependencies of the derivation as well.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/release-notes.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml
index 3712a8b91..7ef25401b 100644
--- a/doc/manual/release-notes.xml
+++ b/doc/manual/release-notes.xml
@@ -44,6 +44,10 @@
<para>TODO: <command>nix-store --verify-path</command> command.</para>
</listitem>
+ <listitem>
+ <para>TODO: <command>nix-store --print-env</command> command.</para>
+ </listitem>
+
</itemizedlist>
</section>