summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-09-07 14:21:07 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-09-07 14:21:07 +0200
commite09781c6b551689dd569f8bd473210e32cdbe6e9 (patch)
tree0c178f0678049c28d29ba6c44e89d025c4632775
parent6eb0f216cf364386ac4f90ef48c6267d62d490ae (diff)
fix: Pass RC_CONFIG and RC_NIXPKGS as environment to scripts
-rwxr-xr-xnix-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script b/nix-script
index 596efda..0234ded 100755
--- a/nix-script
+++ b/nix-script
@@ -165,4 +165,4 @@ SCRIPT_ARGS=$(shift_n $SHIFT_ARGS $*)
# execute the script with its arguments
#
stdout "Calling: '$SCRIPT $SCRIPT_ARGS'"
-exec bash $SCRIPT $SCRIPT_ARGS
+RC_CONFIG=$RC_CONFIG RC_NIXPKGS=$RC_NIXPKGS exec bash $SCRIPT $SCRIPT_ARGS