From 6e2631a014f4dc4df3d863cc8ddf1efe64635068 Mon Sep 17 00:00:00 2001 From: Andrew Cann Date: Sat, 11 Feb 2017 13:01:37 +0800 Subject: [PATCH] Change test for being on NixOS --- src/bootstrap/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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