diff --git a/boilerplate/typescript/default.nix b/boilerplate/typescript/default.nix index b7aaf0a57..f4d331843 100644 --- a/boilerplate/typescript/default.nix +++ b/boilerplate/typescript/default.nix @@ -11,7 +11,7 @@ pkgs.stdenv.mkDerivation { # parcel.js needs number of CPUs PARCEL_WORKERS = "1"; buildPhase = '' - npx parcel build $src/index.html + npx parcel build src/index.html --public-url ./ ''; installPhase = '' mv dist $out diff --git a/website/goals/default.nix b/website/goals/default.nix index 4337d3f0c..696b63375 100644 --- a/website/goals/default.nix +++ b/website/goals/default.nix @@ -11,7 +11,7 @@ pkgs.stdenv.mkDerivation { # parcel.js needs number of CPUs PARCEL_WORKERS = "1"; buildPhase = '' - npx parcel build src/index.html + npx parcel build src/index.html --public-url ./ ''; installPhase = '' mv dist $out