ride: use electron.dist
This commit is contained in:
parent
ac6d5c8310
commit
d29486120d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user