xonsh: clear an error message on droid
This commit is contained in:
parent
4ef672844a
commit
b0aa81270d
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ if not 'XONSH_HAS_NIXOS' in ${...}:
|
||||||
$XONSH_HAS_NIXOS = False;
|
$XONSH_HAS_NIXOS = False;
|
||||||
|
|
||||||
if not $XONSH_HAS_NIXOS:
|
if not $XONSH_HAS_NIXOS:
|
||||||
if !(grep -q "DISTRIB_ID=nixos" /etc/lsb-release).returncode == 0:
|
if (p"/etc/lsb_release".exists()) && !(grep -q "DISTRIB_ID=nixos" /etc/lsb-release).returncode == 0:
|
||||||
if XONSHRC_VERBOSE:
|
if XONSHRC_VERBOSE:
|
||||||
print("Found a NixOS machine; automatically loading the NixOS extensions.")
|
print("Found a NixOS machine; automatically loading the NixOS extensions.")
|
||||||
try_source("includes/nixos")
|
try_source("includes/nixos")
|
||||||
|
|
Loading…
Add table
Reference in a new issue