Skip to content

Commit 0787c37

Browse files
reqable: add wrapGAppsHook3 to fix GSettings runtime error (#484793)
2 parents 09a88cd + 477c1d8 commit 0787c37

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

pkgs/by-name/re/reqable/package.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
fetchurl,
55
dpkg,
66
autoPatchelfHook,
7-
makeBinaryWrapper,
7+
wrapGAppsHook3,
88
fontconfig,
99
atk,
1010
cairo,
@@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
3838
nativeBuildInputs = [
3939
dpkg
4040
autoPatchelfHook
41-
makeBinaryWrapper
41+
wrapGAppsHook3
4242
];
4343

4444
buildInputs = [
@@ -72,11 +72,12 @@ stdenv.mkDerivation (finalAttrs: {
7272
runHook postInstall
7373
'';
7474

75+
dontWrapGApps = true;
76+
7577
preFixup = ''
76-
mkdir $out/bin
7778
makeWrapper $out/share/reqable/reqable $out/bin/reqable \
7879
--prefix LD_LIBRARY_PATH : $out/share/reqable/lib \
79-
--set GIO_MODULE_DIR "${glib.out}/lib/gio/modules"
80+
''${gappsWrapperArgs[@]}
8081
'';
8182

8283
passthru.updateScript = nix-update-script { };

0 commit comments

Comments
 (0)