Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f829a6f0ee26
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0cdd824bd5f7
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 13, 2018

  1. nixos/gogs: allow git operations over ssh

    Without `ROOT_PATH` set, `gogs serv` tries to open logs in writing in
    its store directory. This blocks cloning or pushing over ssh, and
    results in a gogs internal error.
    
    (cherry picked from commit b59570e)
    Ekleog authored and bjornfor committed Jun 13, 2018
    Copy the full SHA
    0cdd824 View commit details
Showing with 3 additions and 0 deletions.
  1. +3 −0 nixos/modules/services/misc/gogs.nix
3 changes: 3 additions & 0 deletions nixos/modules/services/misc/gogs.nix
Original file line number Diff line number Diff line change
@@ -35,6 +35,9 @@ let
SECRET_KEY = #secretkey#
INSTALL_LOCK = true
[log]
ROOT_PATH = ${cfg.stateDir}/log
${cfg.extraConfig}
'';
in