From 8f8de780135aafb4cd19c4d41fb19c19f64f2351 Mon Sep 17 00:00:00 2001 From: Okina Matara Date: Fri, 17 Aug 2018 19:30:14 -0500 Subject: [PATCH] vscode: Wrap with GAppsHook, remove makeWrapper --- pkgs/applications/editors/vscode/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/vscode/default.nix b/pkgs/applications/editors/vscode/default.nix index 33a02c62fbce..a775fb3bd79a 100644 --- a/pkgs/applications/editors/vscode/default.nix +++ b/pkgs/applications/editors/vscode/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchurl, unzip, atomEnv, makeDesktopItem, - gtk2, makeWrapper, libXScrnSaver, libxkbfile, libsecret }: + gtk2, wrapGAppsHook, libXScrnSaver, libxkbfile, libsecret }: let version = "1.26.1"; @@ -49,8 +49,8 @@ in }; buildInputs = if stdenv.system == "x86_64-darwin" - then [ unzip makeWrapper libXScrnSaver libsecret ] - else [ makeWrapper libXScrnSaver libxkbfile libsecret ]; + then [ unzip libXScrnSaver libsecret ] + else [ wrapGAppsHook libXScrnSaver libxkbfile libsecret ]; installPhase = if stdenv.system == "x86_64-darwin" then ''