diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index c5e00a581852..0ac4de2b8bf3 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -202,7 +202,7 @@ class RustBuild(object): if ostype != "Linux": return - if not os.path.exists("/nix/store"): + if not os.path.exists("/etc/nixos"): return if os.path.exists("/lib"): return