Change test for being on NixOS

This commit is contained in:
Andrew Cann 2017-02-11 13:01:37 +08:00
parent 64c1ac82dc
commit 6e2631a014

View file

@ -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