tvl-depot/website/default.nix
William Carroll 894615af52 Add -r to cp to copy the directory
This should be the last hold-out before deploying habit-screens! :)
2020-12-13 14:25:18 +00:00

13 lines
303 B
Nix

{ 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
'';
}