Unverified Commit d2948612 authored by TomaSajt's avatar TomaSajt
Browse files

ride: use electron.dist

parent ac6d5c83
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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