16 lines
346 B
Nix
16 lines
346 B
Nix
{
|
|
pkgs ? import (import ./npins).nixpkgs { },
|
|
}:
|
|
{
|
|
production = pkgs.buildNpmPackage {
|
|
name = "metis";
|
|
src = ./.;
|
|
npmDepsHash = "sha256-r+D5O3J4zJAppxCmIaCUITZ+b874NARw3JFQk6hfS2M=";
|
|
installPhase = ''
|
|
cp -r public $out
|
|
'';
|
|
};
|
|
shell = import ./shell.nix { inherit pkgs; };
|
|
providers = import ./providers.nix;
|
|
}
|