diff --git a/shell.nix b/shell.nix index c32ca2b..df9d51a 100644 --- a/shell.nix +++ b/shell.nix @@ -23,6 +23,10 @@ let deploy = '' set -e + # If a deployment to localhost introduces an evaluation error, future + # deployments will fail since the overlay compat can’t parse the + # configuration. Overlays aren’t needed to build the krops deploy script. + export NIX_PATH="$(sed 's/:nixpkgs-overlays=[^:]*//' <<< "$NIX_PATH")" $(nix-build --no-out-link deploy.nix -A "$1") '';