tvl-depot/sandbox/default.nix

16 lines
304 B
Nix
Raw Normal View History

{ 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;
}