diff options
author | Bob van der Linden <bobvanderlinden@gmail.com> | 2017-10-02 21:04:32 +0200 |
---|---|---|
committer | Bob van der Linden <bobvanderlinden@gmail.com> | 2017-10-02 22:11:46 +0200 |
commit | 9d841295f3da4e02d7b7e87fac86b25cd1081f36 (patch) | |
tree | 306f068eacf32e59313458935be23e9013103dd5 /pkgs/applications/version-management/gogs | |
parent | 6dc9d21cc8675becf323159d5f3880075550c098 (diff) |
gogs: avoid creating symlinks each run
Diffstat (limited to 'pkgs/applications/version-management/gogs')
-rw-r--r-- | pkgs/applications/version-management/gogs/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/gogs/default.nix b/pkgs/applications/version-management/gogs/default.nix index d370575830721..5553a759894ac 100644 --- a/pkgs/applications/version-management/gogs/default.nix +++ b/pkgs/applications/version-management/gogs/default.nix @@ -33,10 +33,7 @@ buildGoPackage rec { cp -R $src/{public,templates} $data wrapProgram $bin/bin/gogs \ - --prefix PATH : ${makeBinPath [ bash git gzip openssh ]} \ - --run 'export GOGS_WORK_DIR=''${GOGS_WORK_DIR:-$PWD}' \ - --run 'mkdir -p "$GOGS_WORK_DIR" && cd "$GOGS_WORK_DIR"' \ - --run "ln -fs $data/{public,templates} ." + --prefix PATH : ${makeBinPath [ bash git gzip openssh ]} ''; goPackagePath = "github.com/gogits/gogs"; |