subtree(users/wpcarro): docking briefcase at '24f5a642'
git-subtree-dir: users/wpcarro git-subtree-mainline:464bbcb15cgit-subtree-split:24f5a642afChange-Id: I6105b3762b79126b3488359c95978cadb3efa789
This commit is contained in:
commit
019f8fd211
766 changed files with 175420 additions and 0 deletions
16
users/wpcarro/website/sandbox/covid-uk/default.nix.ignore
Normal file
16
users/wpcarro/website/sandbox/covid-uk/default.nix.ignore
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "covid-uk";
|
||||
buildInputs = [];
|
||||
src = builtins.path { path = ./.; name = "covid-uk"; };
|
||||
# TODO(wpcarro): Need to run `yarn install` somehow.
|
||||
# TODO(wpcarro): Need to run `npx tailwindcss build styles.css -o output.css`.
|
||||
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/index.html $src/output.css $out
|
||||
'';
|
||||
dontInstall = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue