mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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,
|
||||
pango,
|
||||
systemd,
|
||||
wrapGAppsHook3,
|
||||
xorg,
|
||||
zlib,
|
||||
}:
|
||||
|
@ -108,6 +109,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -180,7 +182,7 @@ stdenv.mkDerivation rec {
|
|||
sqltoolsserviceRpath
|
||||
];
|
||||
|
||||
fixupPhase = ''
|
||||
preFixup = ''
|
||||
fix_sqltoolsservice()
|
||||
{
|
||||
mv ${sqltoolsservicePath}/$1 ${sqltoolsservicePath}/$1_old
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue