tvl-depot/website/default.nix

14 lines
303 B
Nix
Raw Normal View History

{ pkgs, briefcase, ... }:
pkgs.stdenv.mkDerivation {
name = "wpcarro.dev";
src = builtins.path { path = ./.; name = "website"; };
installPhase = ''
mkdir -p $out
cp $src/index.html $out
mkdir -p $out/habits
cp -r ${briefcase.website.habit-screens} $out/habits/index.html
'';
}