1
0
website/default.nix

16 lines
294 B
Nix

{ lib,
buildNpmPackage,
version ? "git",
}:
buildNpmPackage {
pname = "portfolio-website";
inherit version;
src = lib.cleanSource ./.;
npmDepsHash = "sha256-IQ96wS7EBN5D8VpDCdJJTzJky+fybIZjq4k/oASYwZk=";
installPhase = ''
mkdir -p $out/www
cp -r build/* $out/www
'';
}