Tweaks for nix-shell

This commit is contained in:
Eelco Dolstra
2013-07-19 14:36:52 +02:00
parent 7cd386894d
commit 659c829e88
3 changed files with 11 additions and 4 deletions

7
dev-shell Executable file
View File

@ -0,0 +1,7 @@
#! /bin/sh
s=$(type -p nix-shell)
exec $s release.nix -A build.x86_64-linux --exclude tarball --command "
export NIX_REMOTE=daemon
export NIX_PATH='$NIX_PATH'
export NIX_BUILD_SHELL=$(type -p bash)
exec $s release.nix -A tarball" "$@"