forked from lix-project/lix
Merge pull request #858 from Warbo/32bit-dev-shell
Add 32bit linux clause to dev-shell
This commit is contained in:
commit
327569035c
|
@ -11,7 +11,7 @@ exec $s release.nix -A tarball --command "
|
||||||
export NIX_PATH='$NIX_PATH'
|
export NIX_PATH='$NIX_PATH'
|
||||||
export NIX_BUILD_SHELL=$(type -p bash)
|
export NIX_BUILD_SHELL=$(type -p bash)
|
||||||
export c=\$configureFlags
|
export c=\$configureFlags
|
||||||
exec $s release.nix -A build.$(if [ $(uname -s) = Darwin ]; then echo x86_64-darwin; else echo x86_64-linux; fi) --exclude tarball --command '
|
exec $s release.nix -A build.$(if [ $(uname -s) = Darwin ]; then echo x86_64-darwin; elif [[ $(uname -m) =~ ^i[3456]86$ ]]; then echo i686-linux; else echo x86_64-linux; fi) --exclude tarball --command '
|
||||||
configureFlags+=\" \$c --prefix=$(pwd)/inst --sysconfdir=$(pwd)/inst/etc\"
|
configureFlags+=\" \$c --prefix=$(pwd)/inst --sysconfdir=$(pwd)/inst/etc\"
|
||||||
return
|
return
|
||||||
'" \
|
'" \
|
||||||
|
|
Loading…
Reference in a new issue