metis/default.nix

10 lines
227 B
Nix
Raw Normal View History

2021-11-20 00:10:09 +01:00
{ pkgs ? import ./nix {} }:
{
production = pkgs.npmlock2nix.build {
src = ./.;
2021-11-20 00:11:38 +01:00
installPhase = "cp -r public/build $out";
2021-11-20 00:10:09 +01:00
buildCommands = [ "npm run build" ];
};
shell = import ./shell.nix { inherit pkgs; };
}