2020-03-25 17:30:22 +01:00
|
|
|
{ pkgs, briefcase, ... }:
|
2020-03-20 01:22:13 +01:00
|
|
|
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
name = "wpcarro.dev";
|
2020-07-02 14:28:59 +02:00
|
|
|
src = builtins.path { path = ./.; name = "website"; };
|
2020-03-25 17:30:22 +01:00
|
|
|
installPhase = ''
|
2020-03-20 01:22:13 +01:00
|
|
|
mkdir -p $out
|
|
|
|
cp $src/index.html $out
|
2020-03-25 17:30:22 +01:00
|
|
|
|
2020-03-27 16:55:26 +01:00
|
|
|
mkdir -p $out/habits
|
2020-12-13 15:25:18 +01:00
|
|
|
cp -r ${briefcase.website.habit-screens} $out/habits/index.html
|
2020-03-20 01:22:13 +01:00
|
|
|
'';
|
|
|
|
}
|