From b394e3c45779db5d9ae1bb2652ad4ca1c144eea8 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 31 May 2016 11:22:48 +0200 Subject: [PATCH] mastus: update gogs --- mastus/vmtest.nix | 2 ++ pkgs/gogs.nix | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mastus/vmtest.nix b/mastus/vmtest.nix index 047b5c3..75d78d6 100644 --- a/mastus/vmtest.nix +++ b/mastus/vmtest.nix @@ -43,6 +43,8 @@ cp key.pem key-dovecot.pem && chown dovecot2 key-dovecot.pem chown git:git -R /srv/git.gebner.org ''; }; + + environment.systemPackages = with pkgs; [ elinks ]; }; nixos = import { configuration = configuration; }; diff --git a/pkgs/gogs.nix b/pkgs/gogs.nix index 23a9144..f358929 100644 --- a/pkgs/gogs.nix +++ b/pkgs/gogs.nix @@ -1,11 +1,11 @@ { nixpkgs ? import {} }: with nixpkgs; stdenv.mkDerivation rec { name = "gogs-${version}"; - version = "0.7.33"; + version = "0.9.13"; src = fetchzip { url = "https://github.com/gogits/gogs/releases/download/v${version}/linux_amd64.zip"; - sha256 = "0y8yn9z80knnlr05i4f2vbhdyvx0s5lsy1x1hmzlyd28aa2ksppv"; + sha256 = "0a645213np48y3y9acs8bjcsv3qi863n3q1a5w18ghj8c1i6249f"; }; buildPhase = ''