Hi, On 20/11/12 06:26, Marc Weber wrote:
> If broken builds are the problem, can't we just make sure bash is the > default shell for builders? > I mean exporting SHELL properly and using bash to start the build > scripts ... which is exactly what stdenv has done since pretty much forever: pkgs/stdenv/generic/setup.sh:export SHELL=@shell@ pkgs/stdenv/linux/default.nix: shell = stdenvLinuxBoot4Pkgs.bash + "/bin/bash"; pkgs/stdenv/native/default.nix: if system == "i686-freebsd" || system == "x86_64-freebsd" then "/usr/local/bin/bash" pkgs/stdenv/native/default.nix: else "/bin/bash"; pkgs/stdenv/nix/default.nix: shell = pkgs.bash + "/bin/sh"; etc. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
