mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
gogs: Fix cyclic dependency on darwin
This fixes the "cycle detected in the references of" error when building on darwin. The fix is based on the solution in issue #18131.
This commit is contained in:
parent
dc7cc77111
commit
7f7b74dfed
@ -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