nix: fix production build

This commit is contained in:
Raito Bezarius 2021-11-20 00:11:38 +01:00
parent 0d2e61769e
commit 4ec46ded1a

View file

@ -2,7 +2,7 @@
{ {
production = pkgs.npmlock2nix.build { production = pkgs.npmlock2nix.build {
src = ./.; src = ./.;
installPhase = "cp -r dist $out"; installPhase = "cp -r public/build $out";
buildCommands = [ "npm run build" ]; buildCommands = [ "npm run build" ];
}; };
shell = import ./shell.nix { inherit pkgs; }; shell = import ./shell.nix { inherit pkgs; };