2020-03-20 01:22:13 +01:00
|
|
|
{ pkgs, briefcase, ... }:
|
|
|
|
|
2020-03-20 01:47:53 +01:00
|
|
|
pkgs.stdenv.mkDerivation {
|
2020-03-20 01:22:13 +01:00
|
|
|
name = "covid-uk";
|
|
|
|
buildInputs = [];
|
|
|
|
src = ./.;
|
|
|
|
buildPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp $src/index.html $out
|
2020-03-20 01:47:53 +01:00
|
|
|
cp -r ${briefcase.website.sandbox.covid-uk} $out/covid-uk
|
2020-03-20 01:22:13 +01:00
|
|
|
'';
|
|
|
|
dontInstall = true;
|
|
|
|
}
|