metis/default.nix

10 lines
219 B
Nix
Raw Normal View History

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