mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
super-productivity: fix build on Darwin (#553497)
This commit is contained in:
@@ -112,6 +112,12 @@ buildNpmPackage rec {
|
||||
# not our app directory, so it would search the wrong location.
|
||||
substituteInPlace electron/idle-time-handler.ts \
|
||||
--replace-fail "path.dirname(process.execPath)" "path.dirname(app.getAppPath())"
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# build/icon.icns is checked in and already contains all ten macOS icon
|
||||
# representations. Avoid regenerating it with sandbox-unavailable iconutil.
|
||||
substituteInPlace electron-builder.yaml \
|
||||
--replace-fail "beforePack: ./tools/beforePack.js" ""
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
||||
Reference in New Issue
Block a user