about summary refs log tree commit diff
path: root/website/sandbox/default.nix
blob: 4f86b49002a5c48a853fbd0242905372796639e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, briefcase, ... }:

pkgs.stdenv.mkDerivation {
  name = "covid-uk";
  buildInputs = [];
  src = builtins.path { path = ./.; name = "sandbox"; };
  buildPhase = ''
    mkdir -p $out
    cp $src/index.html $out
    cp -r ${briefcase.website.sandbox.covid-uk} $out/covid-uk
  '';
  dontInstall = true;
}