From 45f0e832cd894c88996d97a231099630db0f780a Mon Sep 17 00:00:00 2001 From: Kirill Elagin Date: Fri, 29 Jun 2018 19:05:57 +0300 Subject: [PATCH] fixup! installer and activation: Sanitise PATH --- pkgs/darwin-installer/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/darwin-installer/default.nix b/pkgs/darwin-installer/default.nix index 70b4615b..169509cc 100644 --- a/pkgs/darwin-installer/default.nix +++ b/pkgs/darwin-installer/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation { set -e orig_path="$PATH" - export PATH="${pkgs.openssh}/bin" # In case nix needs it + export PATH="${pkgs.openssh}/bin:/usr/bin:/bin" # ssh in case nix needs it action=switch while [ "$#" -gt 0 ]; do