mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
883191c91d
Instead nix-store --read-log can be used to see the environment variables.
7 lines
463 B
XML
7 lines
463 B
XML
<screen xmlns="http://docbook.org/ns/docbook"><prompt>nix-repl> </prompt><userinput>d = derivation { name = "foo"; builder = "${bash}/bin/bash"; args = [ ./builder.sh ]; system = builtins.currentSystem; }</userinput>
|
|
<prompt>nix-repl> </prompt><userinput>:b d</userinput>
|
|
<computeroutput>[1 built, 0.0 MiB DL]
|
|
|
|
this derivation produced the following outputs:
|
|
out -> /nix/store/gczb4qrag22harvv693wwnflqy7lx5pb-<emphasis>foo</emphasis></computeroutput></screen>
|