metis/default.nix

14 lines
344 B
Nix
Raw Normal View History

2023-07-22 22:17:25 +02:00
{ pkgs ? import (import ./npins).nixpkgs {} }:
2021-11-20 00:10:09 +01:00
{
2023-07-22 22:17:25 +02:00
production = pkgs.buildNpmPackage {
name = "metis";
2021-11-20 00:10:09 +01:00
src = ./.;
2023-07-22 22:17:25 +02:00
npmDepsHash = "sha256-RbjWNVY8KlPP9ajQRnrsWhOZiiyyMGQSY39lmZnTC1I=";
installPhase = ''
cp -r public $out
'';
2021-11-20 00:10:09 +01:00
};
shell = import ./shell.nix { inherit pkgs; };
providers = import ./providers.nix;
2021-11-20 00:10:09 +01:00
}