don't keep appending --impure to nix_options when running tests

This commit is contained in:
Jörg Thalheim
2025-06-27 18:54:01 +02:00
parent 5d88ac440a
commit 1e6ceac2bd

View File

@@ -731,7 +731,7 @@ class Flake:
self.invalidate_cache() self.invalidate_cache()
assert self._cache is not None assert self._cache is not None
nix_options = self.nix_options if self.nix_options is not None else [] nix_options = self.nix_options[:] if self.nix_options is not None else []
str_selectors: list[str] = [] str_selectors: list[str] = []
for selector in selectors: for selector in selectors: