shell: drop unused config variable

This commit is contained in:
tv 2017-07-22 12:33:38 +02:00
parent 899b16848a
commit 9ea2bb7986

View File

@ -47,10 +47,8 @@ let
''; '';
init.env = pkgs.writeText "init.env" /* sh */ '' init.env = pkgs.writeText "init.env" /* sh */ ''
config=''${config-$user/1systems/$system/config.nix}
source=''${source-$user/1systems/$system/source.nix} source=''${source-$user/1systems/$system/source.nix}
export config
export source export source
export system export system
export target export target
@ -98,7 +96,6 @@ let
--readonly-mode \ --readonly-mode \
--show-trace \ --show-trace \
--strict \ --strict \
-I nixos-config="$config" \
"$source") "$source")
echo $_source | echo $_source |
${pkgs.populate}/bin/populate \ ${pkgs.populate}/bin/populate \
@ -118,7 +115,6 @@ let
STOCKHOLM_VERSION=$STOCKHOLM_VERSION \ STOCKHOLM_VERSION=$STOCKHOLM_VERSION \
nix-shell \ nix-shell \
--run $(q \ --run $(q \
config=$config \
system=$system \ system=$system \
target=$target \ target=$target \
using_proxy=true \ using_proxy=true \