You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nix-build --run-env '<nixpkgs>' -A gimp
warning: you did not specify `--add-root'; the result might be removed by the garbage collector
/nix/store/b48470bj4b8d4x6z5rr62924n30cwsiq-stdenv/setup:93: command not found: shopt
exitHandler:4: command not found: closeNest
runHook:2: bad option: -t
runHook:6: bad substitution
[eelco@mandark:~/Dev/nixpkgs]$ nix-build --run-env '<nixpkgs>' -A gimp
warning: you did not specify `--add-root'; the result might be removed by the garbage collector
[eelco@mandark:~/Dev/nixpkgs]$ echo $buildNativeInputs
/nix/store/w6bwp1sq5w24n3vnmx0yifiqdq696fyf-pkg-config-0.23 /nix/store/xcbxj8qn1chi7ly5wfhmw02fch3dw7hi-gtk+-2.24.10 ...
Activity
edolstra commentedon Aug 1, 2012
Can't reproduce:
edolstra commentedon Aug 1, 2012
Nix-build respects your $SHELL setting, so make sure it's bash.
bluescreen303 commentedon Aug 1, 2012
cool, thanks.
I tried with bash before (as I recognized shopt as a bash option), but that didn't set SHELL.
manually setting SHELL does the trick.
Merge pull request NixOS#79 from jwheare/title-suffix