diff options
Diffstat (limited to 'covid-uk/default.nix')
-rw-r--r-- | covid-uk/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/covid-uk/default.nix b/covid-uk/default.nix new file mode 100644 index 000000000000..5189daddf28a --- /dev/null +++ b/covid-uk/default.nix @@ -0,0 +1,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; +} |