1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Add hacking notes plus a script for running nix-shell

This commit is contained in:
Eelco Dolstra 2013-07-19 16:51:31 +02:00
parent 15e5ac8039
commit 7b09e9f2c4
3 changed files with 54 additions and 0 deletions

12
dev-shell Executable file
View file

@ -0,0 +1,12 @@
#! /bin/sh
s=$(type -p nix-shell)
exec $s release.nix -A tarball --command "
export NIX_REMOTE=daemon
export NIX_PATH='$NIX_PATH'
export NIX_BUILD_SHELL=$(type -p bash)
export c=\$configureFlags
exec $s release.nix -A build.x86_64-linux --exclude tarball --command '
configureFlags+=\" \$c --prefix=$(pwd)/inst --sysconfdir=$(pwd)/inst/etc\"
return
'" \
"$@"