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-fE76/2s8rkh9COGoR4Seq1E0BPIGr774ETZzrSofu+E=";
installPhase = ''
mkdir -p $out/www
cp -r build/* $out/www
'';
}