about summary refs log tree commit diff
path: root/users/wpcarro/website/sandbox/contentful
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/website/sandbox/contentful')
-rw-r--r--users/wpcarro/website/sandbox/contentful/default.nix5
-rw-r--r--users/wpcarro/website/sandbox/contentful/shell.nix7
2 files changed, 8 insertions, 4 deletions
diff --git a/users/wpcarro/website/sandbox/contentful/default.nix b/users/wpcarro/website/sandbox/contentful/default.nix
index f7125655ccdc..6b0151afaedc 100644
--- a/users/wpcarro/website/sandbox/contentful/default.nix
+++ b/users/wpcarro/website/sandbox/contentful/default.nix
@@ -11,9 +11,14 @@ pkgs.stdenv.mkDerivation {
   # parcel.js needs number of CPUs
   PARCEL_WORKERS = "1";
   buildPhase = ''
+    export HOME="."
     npx parcel build index.html
   '';
+
   installPhase = ''
     mv dist $out
   '';
+
+  # TODO(wpcarro): This doesn't build at all.
+  meta.ci = false;
 }
diff --git a/users/wpcarro/website/sandbox/contentful/shell.nix b/users/wpcarro/website/sandbox/contentful/shell.nix
index 083254beefd0..a3ae929ef446 100644
--- a/users/wpcarro/website/sandbox/contentful/shell.nix
+++ b/users/wpcarro/website/sandbox/contentful/shell.nix
@@ -1,7 +1,6 @@
-let
-  briefcase = import <briefcase> {};
-  pkgs = briefcase.third_party.pkgs;
-in pkgs.mkShell {
+{ pkgs, ... }:
+
+pkgs.mkShell {
   buildInputs = with pkgs; [
     nodejs
     yarn