diff options
author | Dan Peebles <pumpkingod@gmail.com> | 2015-06-13 21:26:50 -0400 |
---|---|---|
committer | Dan Peebles <pumpkingod@gmail.com> | 2015-06-13 21:26:50 -0400 |
commit | ebde5fd9d48e79b4ee9fabf51440f09d27f3fc5f (patch) | |
tree | fa622b398a6a9d927de11cca3bc01abe076d3447 /nixos/modules/virtualisation | |
parent | 6fa931421ed02ce6ee5dd13e2f7eccd795216c27 (diff) |
Use the right nix when doing things in our amazoninit
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/amazon-init.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-init.nix b/nixos/modules/virtualisation/amazon-init.nix index c5dfb3643e130..6058a7019e843 100644 --- a/nixos/modules/virtualisation/amazon-init.nix +++ b/nixos/modules/virtualisation/amazon-init.nix @@ -8,7 +8,7 @@ let echo "attempting to fetch configuration from user-data..." - export PATH=${pkgs.nix}/bin:${pkgs.wget}/bin:${pkgs.systemd}/bin:${pkgs.gnugrep}/bin:${pkgs.gnused}/bin:${config.system.build.nixos-rebuild}/bin:$PATH + export PATH=${config.nix.package}/bin:${pkgs.wget}/bin:${pkgs.systemd}/bin:${pkgs.gnugrep}/bin:${pkgs.gnused}/bin:${config.system.build.nixos-rebuild}/bin:$PATH export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels userData="$(mktemp)" |