dbeaver-bin: install to $out/opt

This commit is contained in:
Naxdy 2024-05-17 08:06:13 +02:00
parent 7a338b0feb
commit 9c253cdf5e
No known key found for this signature in database
GPG Key ID: CC15075846BCE91B

View File

@ -30,9 +30,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
installPhase = ''
runHook preInstall
mkdir -p $out/usr/share/dbeaver $out/bin
cp -r * $out/usr/share/dbeaver
ln -s $out/usr/share/dbeaver/dbeaver $out/bin/dbeaver
mkdir -p $out/opt/dbeaver $out/bin
cp -r * $out/opt/dbeaver
ln -s $out/opt/dbeaver/dbeaver $out/bin/dbeaver
runHook postInstall
'';