mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
13 lines
403 B
Text
13 lines
403 B
Text
|
#! /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
|
||
|
'" \
|
||
|
"$@"
|