From d29486120da6b24b370bbed7300b4791f2234e6e Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Tue, 21 May 2024 19:16:06 +0200 Subject: [PATCH] ride: use electron.dist --- pkgs/by-name/ri/ride/package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/ri/ride/package.nix b/pkgs/by-name/ri/ride/package.nix index 0cce0041710a..9706b388dbf7 100644 --- a/pkgs/by-name/ri/ride/package.nix +++ b/pkgs/by-name/ri/ride/package.nix @@ -32,8 +32,6 @@ let }; platformInfo = platformInfos.${stdenv.system}; - - electronDist = electron + (if stdenv.isDarwin then "/Applications" else "/libexec/electron"); in buildNpmPackage rec { pname = "ride"; @@ -109,7 +107,7 @@ buildNpmPackage rec { mkdir local-cache # electron files need to be writable on Darwin - cp -r ${electronDist} electron-dist + cp -r ${electron.dist} electron-dist chmod -R u+w electron-dist pushd electron-dist