about summary refs log blame commit diff
path: root/covid-uk/default.nix
blob: 5189daddf28a1f9903e8464ec12b767f2b43d0ad (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                          
{ pkgs, ... }:

pkgs.stdenv.mkDerivation {
  name = "covid-uk";
  buildInputs = [];
  src = ./.;
  buildPhase = ''
    mkdir -p $out
    mkdir -p $out/node_modules/chart.js/dist
    cp $src/node_modules/chart.js/dist/Chart.bundle.min.js $out/node_modules/chart.js/dist
    cp $src/src/* $out
  '';
  dontInstall = true;
}