Merge pull request #27104 from knedlsepp/fix-gogs-on-darwin

gogs: Fix cyclic dependency on darwin
This commit is contained in:
Daiderd Jordan 2017-07-03 23:50:18 +02:00 committed by GitHub
commit 2e2769f96c

View File

@ -26,7 +26,9 @@ buildGoPackage rec {
outputs = [ "bin" "out" "data" ];
postInstall = ''
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -delete_rpath $out/lib $bin/bin/gogs
'' + ''
mkdir $data
cp -R $src/{public,templates} $data