extend message about nixOS shell

This commit is contained in:
Maciej Krüger 2021-06-21 09:12:15 +02:00
parent 8e48b6fd74
commit 49fc87f385
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F
2 changed files with 7 additions and 2 deletions

View file

@ -400,8 +400,12 @@ def bootstrap(context, force=False, specific=None):
distrib, version = get_linux_distribution()
if distrib.lower() == 'nixos':
print('NixOS does not need bootstrap')
print('just run ./mach build')
print('NixOS does not need bootstrap, it will automatically enter a nix-shell')
print('Just run ./mach build')
print('')
print('You will need to run a nix-shell if you are trying to run any of the built binaries')
print('To enter the nix-shell manually use:')
print(' $ nix-shell etc/shell.nix')
return
context.distro = distrib