Merge pull request #27104 from knedlsepp/fix-gogs-on-darwin
gogs: Fix cyclic dependency on darwin
This commit is contained in:
commit
2e2769f96c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user