nix: fix production build
This commit is contained in:
parent
0d2e61769e
commit
4ec46ded1a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
production = pkgs.npmlock2nix.build {
|
||||
src = ./.;
|
||||
installPhase = "cp -r dist $out";
|
||||
installPhase = "cp -r public/build $out";
|
||||
buildCommands = [ "npm run build" ];
|
||||
};
|
||||
shell = import ./shell.nix { inherit pkgs; };
|
||||
|
|
Loading…
Reference in a new issue