mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
azuredatastudio: fix file dialogs
File open dialogs in Azure Data Studio cause the application to crash. As documented in #225989, this can be worked around by setting XDG_DATA_DIRS, but the correct fix is to use GApps hooks. Add those to the program packaging, and move the custom fixup phase to a pre-fixup hook, so the main hooks also get run. Fixes #225989
This commit is contained in:
parent
e3ade6a61e
commit
8e85f23d0e
1 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
openssl,
|
openssl,
|
||||||
pango,
|
pango,
|
||||||
systemd,
|
systemd,
|
||||||
|
wrapGAppsHook3,
|
||||||
xorg,
|
xorg,
|
||||||
zlib,
|
zlib,
|
||||||
}:
|
}:
|
||||||
|
@ -108,6 +109,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
|
wrapGAppsHook3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -180,7 +182,7 @@ stdenv.mkDerivation rec {
|
||||||
sqltoolsserviceRpath
|
sqltoolsserviceRpath
|
||||||
];
|
];
|
||||||
|
|
||||||
fixupPhase = ''
|
preFixup = ''
|
||||||
fix_sqltoolsservice()
|
fix_sqltoolsservice()
|
||||||
{
|
{
|
||||||
mv ${sqltoolsservicePath}/$1 ${sqltoolsservicePath}/$1_old
|
mv ${sqltoolsservicePath}/$1 ${sqltoolsservicePath}/$1_old
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue