12 lines
306 B
Nix
12 lines
306 B
Nix
{ pkgs ? import (import ./npins).nixpkgs {} }:
|
|
{
|
|
production = pkgs.buildNpmPackage {
|
|
name = "metis";
|
|
src = ./.;
|
|
npmDepsHash = "sha256-RbjWNVY8KlPP9ajQRnrsWhOZiiyyMGQSY39lmZnTC1I=";
|
|
installPhase = ''
|
|
cp -r public $out
|
|
'';
|
|
};
|
|
shell = import ./shell.nix { inherit pkgs; };
|
|
}
|