about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAndrew Cann <shum@canndrew.org>2017-02-11 13:01:37 +0800
committerAndrew Cann <shum@canndrew.org>2017-02-11 13:01:37 +0800
commit6e2631a014f4dc4df3d863cc8ddf1efe64635068 (patch)
tree0a9aa2cfff52d451197491acf66df5f9f7c4ad1b /src/bootstrap
parent64c1ac82dc7fb3661ba56ad6081102d597909c61 (diff)
downloadrust-6e2631a014f4dc4df3d863cc8ddf1efe64635068.tar.gz
rust-6e2631a014f4dc4df3d863cc8ddf1efe64635068.zip
Change test for being on NixOS
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index c5e00a58185..0ac4de2b8bf 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