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 = [];
|
2020-07-02 14:28:59 +02:00
|
|
|
src = builtins.path { path = ./.; name = "sandbox"; };
|
2020-03-20 01:22:13 +01:00
|
|
|
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;
|
|
|
|
}
|