Skip to content
Snippets Groups Projects
  1. Aug 11, 2016
  2. Aug 10, 2016
  3. Aug 04, 2016
    • Aneesh Agrawal's avatar
      Dockerfile: Add alpine dependencies (#1011) · c8608c48
      Aneesh Agrawal authored
      * 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`.
      c8608c48
  4. Jul 29, 2016
    • Alexey Shmalko's avatar
      Set $MANPATH (#1005) · eef75481
      Alexey Shmalko authored
      Currently, man has issues finding man pages for Nix-installed
      application (also, `nix-env --help` doesn't work). The issue is caused
      by custom `$MANPATH` set by my system. That makes man use it instead of
      searching in default location.
      
      Either of next lines workaround the issue:
      ```sh
      unset MANPATH
      
      export MANPATH=$HOME/.nix-profile/share/man:$MANPATH
      ```
      
      This patch adds the later line to the `nix-profile.sh` if user has
      `MANPATH` set. (Not clearing `MANPATH` as that would be disrespect of
      user's preferences.)
      
      As a side-effect, host's man might find man pages installed by Nix.
      eef75481
  5. Jul 26, 2016
  6. Jul 24, 2016
  7. Jul 23, 2016
  8. Jul 21, 2016
  9. Jul 20, 2016
  10. Jul 13, 2016
  11. Jul 11, 2016
  12. Jul 04, 2016
  13. Jul 01, 2016
  14. Jun 20, 2016
Loading