diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-20T00·22+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-20T00·22+0000 |
commit | 54d1a0048a7101dc51bbea49feed7cded5031b17 (patch) | |
tree | 0e2eec03a79523cf2a3cb02939d36b6ccc7a230a /sandbox/default.nix | |
parent | 76210a217c192bd832a2c57836f7a29c7b6c8908 (diff) |
Add sitemap to wpcarro.dev
- Create ./website directory - Add a sitemap to wpcarro.dev - Move covid-uk directory to sandbox directory TODO: Next sandbox, blog, and learn in the website directory
Diffstat (limited to 'sandbox/default.nix')
-rw-r--r-- | sandbox/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sandbox/default.nix b/sandbox/default.nix new file mode 100644 index 000000000000..ccaa7ff9afa3 --- /dev/null +++ b/sandbox/default.nix @@ -0,0 +1,15 @@ +{ pkgs, briefcase, ... }: + +let + covid-uk = briefcase.sandbox.covid-uk; +in pkgs.stdenv.mkDerivation { + name = "covid-uk"; + buildInputs = []; + src = ./.; + buildPhase = '' + mkdir -p $out + cp $src/index.html $out + cp -r ${briefcase.sandbox.covid-uk} $out/covid-uk + ''; + dontInstall = true; +} |