Skip to content

Commit

Permalink
more work but renderer still not compile
Browse files Browse the repository at this point in the history
  • Loading branch information
hatch01 committed Mar 24, 2024
1 parent df0a2c3 commit 3336625
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkgs/by-name/an/antares/package.nix
Expand Up @@ -2,6 +2,7 @@
, lib
, buildNpmPackage
, electron
, nodejs
}:

buildNpmPackage rec {
Expand All @@ -21,7 +22,16 @@ buildNpmPackage rec {
electron
];

dontNpmBuild = true;
buildInputs = [ nodejs ];

buildPhase = ''
# each phase has pre/postHooks. When you make your own phase be sure to still call the hooks
# runHook preBuild
# npm ci
npm run build
# runHook postBuild
'';

env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";

Expand Down

0 comments on commit 3336625

Please sign in to comment.