Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: c8608c488c10789d381b784cf69bb81e2e2b088d
      
https://github.com/NixOS/nix/commit/c8608c488c10789d381b784cf69bb81e2e2b088d
  Author: Aneesh Agrawal <[email protected]>
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
    M misc/docker/Dockerfile

  Log Message:
  -----------
  Dockerfile: Add alpine dependencies (#1011)

* Dockerfile: add GNU tar native dependency

`builtins.fetchTarball` requires GNU tar to be available in the $PATH in
order to unpack the fetched tarball (there is a FIXME comment for this),
which Alpine does not ship by default (it ships BusyBox tar).

* Dockerfile: add GNU bash native dependency

`nix-shell` defaults to invoking `bash` from the $PATH for the subshell.
In theory this can be overriden with the NIX_BUILD_SHELL environment
variable, but this does not work properly. `nix-shell` generates and
passes a script (`$rcFile`) to be executed by the subshell which uses
bashisms (`source` and `shopt`). Additionally, in interactive mode,
`nix-shell` passes the `--rcfile` argument to the shell, which is
another bashism.

Because `bash` is thus de-facto required, add `bash` as a native package
dependency to make it available for `nix-shell`.


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to