diff options
| author | Andrew Cann <shum@canndrew.org> | 2017-02-11 13:01:37 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-02-11 13:01:37 +0800 |
| commit | 6e2631a014f4dc4df3d863cc8ddf1efe64635068 (patch) | |
| tree | 0a9aa2cfff52d451197491acf66df5f9f7c4ad1b /src/bootstrap/bootstrap.py | |
| parent | 64c1ac82dc7fb3661ba56ad6081102d597909c61 (diff) | |
| download | rust-6e2631a014f4dc4df3d863cc8ddf1efe64635068.tar.gz rust-6e2631a014f4dc4df3d863cc8ddf1efe64635068.zip | |
Change test for being on NixOS
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 2 |
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 |
