nixos-rebuild: Don't pass --impure to realization when building flake remotely and impurely

It doesn't work and it's not required for building.
This commit is contained in:
Charlotte Van Petegem 2022-01-05 10:56:11 +01:00 committed by Benno Fünfstück
parent d82d0d9fb0
commit a2c0cb0db7

View File

@ -247,6 +247,8 @@ nixFlakeBuild() {
local k="$1"; shift 1
evalArgs+=("$i" "$j" "$k")
;;
--impure) # We don't want this in buildArgs, it's only needed at evaluation time, and unsupported during realisation
;;
*)
buildArgs+=("$i")
;;