diff --git a/nix/landing.nix b/nix/landing.nix index 13174e8..c124dee 100644 --- a/nix/landing.nix +++ b/nix/landing.nix @@ -25,7 +25,7 @@ pkgs.buildNpmPackage { export NX_SKIP_NX_CACHE=true export NX_TASKS_RUNNER_DYNAMIC_OUTPUT=false export NX_NATIVE=false - npm run landing:build + ./node_modules/.bin/nx build landing --output-style=static runHook postBuild ''; diff --git a/nix/mkViteApp.nix b/nix/mkViteApp.nix index 0da24e8..8d826fd 100644 --- a/nix/mkViteApp.nix +++ b/nix/mkViteApp.nix @@ -27,7 +27,7 @@ pkgs.buildNpmPackage { export NX_TASKS_RUNNER_DYNAMIC_OUTPUT=false export NX_NATIVE=false ${pkgs.lib.concatStringsSep "\n" (pkgs.lib.mapAttrsToList (k: v: "export ${k}=\"${v}\"") envVars)} - npm run ${buildScript} + ./node_modules/.bin/nx build ${name} --output-style=static runHook postBuild '';