vscode: use non-binary wrapper for wrapGAppsHook

The use of --add-flags in this derivation does not work with binary
    wrappers, which wrapGAppsHook uses since #164163.
main
Dominik Xaver Hörl 2 years ago
parent a697777808
commit a2ee3ed3f2
  1. 9
      pkgs/applications/editors/vscode/generic.nix

@ -1,5 +1,5 @@
{ stdenv, lib, makeDesktopItem
, unzip, libsecret, libXScrnSaver, libxshmfence, wrapGAppsHook
, unzip, libsecret, libXScrnSaver, libxshmfence, wrapGAppsHook, makeWrapper
, atomEnv, at-spi2-atk, autoPatchelfHook
, systemd, fontconfig, libdbusmenu, glib, buildFHSUserEnvBubblewrap
, writeShellScriptBin
@ -68,7 +68,12 @@ let
runtimeDependencies = lib.optional stdenv.isLinux [ (lib.getLib systemd) fontconfig.lib libdbusmenu ];
nativeBuildInputs = [ unzip ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook nodePackages.asar wrapGAppsHook ];
nativeBuildInputs = [ unzip ]
++ lib.optionals stdenv.isLinux [
autoPatchelfHook
nodePackages.asar
(wrapGAppsHook.override { makeBinaryWrapper = makeWrapper; })
];
dontBuild = true;
dontConfigure = true;

Loading…
Cancel
Save