[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-commits
Subject:    [Nix-commits] [NixOS/nixpkgs] ab88d3: nixos/lighttpd: set $HOME for gitweb sub-service
From:       Bjørn Forsman <bjorn.forsman () gmail ! com>
Date:       2017-04-17 11:37:14
Message-ID: 58f4a8ea27c2_13c993fc048751c3020039e () hookshot-fe-6dbb0c4 ! cp1-iad ! github ! net ! mail
[Download RAW message or body]

Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ab88d3fe96d3022e91dc52cc376445a0fe2ace5e
      https://github.com/NixOS/nixpkgs/commit/ab88d3fe96d3022e91dc52cc376=
445a0fe2ace5e
  Author: Bj=C3=B8rn Forsman <bjorn.forsman@gmail.com>
  Date:   2017-04-17 (Mon, 17 Apr 2017)

  Changed paths:
    M nixos/modules/services/web-servers/lighttpd/gitweb.nix

  Log Message:
  -----------
  nixos/lighttpd: set $HOME for gitweb sub-service

This allows gitweb to expand '~' in /etc/gitconfig. Without a $HOME
variable, it fails to list any projects and instead show the text
"No such projects found" in the UI.

Setting $HOME to the gitweb project root seems like a sensible value.

(cherry picked from commit d916ce2ef40e412c361805531eff5966a309da1d)




_______________________________________________
nix-commits mailing list
nix-commits@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic