From 54d1a0048a7101dc51bbea49feed7cded5031b17 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 20 Mar 2020 00:22:13 +0000 Subject: 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 --- sandbox/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sandbox/default.nix (limited to 'sandbox/default.nix') 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; +} -- cgit 1.4.1