ride: use electron.dist

This commit is contained in:
TomaSajt 2024-05-21 19:16:06 +02:00
parent ac6d5c8310
commit d29486120d
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -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