summaryrefslogtreecommitdiffstats
path: root/nix-script
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-06-19 15:08:27 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-06-19 15:16:01 +0200
commitec6860cf411206d4a056250f73544c10970a9dc0 (patch)
tree44b18beae699386a0355072816e9e2b58244fc3a /nix-script
parentc58fe70fa1de0015f8cf824a2eab53a7715b28b1 (diff)
Ensure RC variable passthrough
Diffstat (limited to 'nix-script')
-rwxr-xr-xnix-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script b/nix-script
index 5bdfe15..5ff5fb4 100755
--- a/nix-script
+++ b/nix-script
@@ -146,4 +146,4 @@ SCRIPT_ARGS=$(shift_n $SHIFT_ARGS $*)
# execute the script with its arguments
#
stdout "Calling: '$SCRIPT $SCRIPT_ARGS'"
-RC_CONFIG=$RC_CONFIG RC_NIXPKGS=$RC_NIXPKGS exec bash $SCRIPT $SCRIPT_ARGS
+RC=$RC RC_CONFIG=$RC_CONFIG RC_NIXPKGS=$RC_NIXPKGS exec bash $SCRIPT $SCRIPT_ARGS