about summary refs log tree commit diff
path: root/website/goals/default.nix.ignore
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-17T09·25+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-20T10·26+0100
commit1bb32b1bcc6cc6f258d745bd51cf919c1ca4700e (patch)
treeffbb60d686c1fcd68b32f4affab1b6f64809a3cc /website/goals/default.nix.ignore
parent59f74814111045b6d74d2a8f5b4f4bfbd1cacd85 (diff)
Disable failing goals/default.nix
Disabling failing packages until I can get a working CI build.
Diffstat (limited to 'website/goals/default.nix.ignore')
-rw-r--r--website/goals/default.nix.ignore19
1 files changed, 19 insertions, 0 deletions
diff --git a/website/goals/default.nix.ignore b/website/goals/default.nix.ignore
new file mode 100644
index 000000000000..2006204bec94
--- /dev/null
+++ b/website/goals/default.nix.ignore
@@ -0,0 +1,19 @@
+{ pkgs, ... }:
+
+pkgs.stdenv.mkDerivation {
+  name = "goals-webpage";
+  src = builtins.path { path = ./.; name = "goals"; };
+  buildInputs = with pkgs; [
+    nodejs
+    # Exposes lscpu for parcel.js
+    utillinux
+  ];
+  # parcel.js needs number of CPUs
+  PARCEL_WORKERS = "1";
+  buildPhase = ''
+    npx parcel build src/index.html --public-url ./
+  '';
+  installPhase = ''
+    mv dist $out
+  '';
+}