diff options
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; +} |