10 lines
227 B
Nix
10 lines
227 B
Nix
{ pkgs ? import ./nix {} }:
|
|
{
|
|
production = pkgs.npmlock2nix.build {
|
|
src = ./.;
|
|
installPhase = "cp -r public/build $out";
|
|
buildCommands = [ "npm run build" ];
|
|
};
|
|
shell = import ./shell.nix { inherit pkgs; };
|
|
}
|