From 277ad983d4d9caf51679d3c1c615ecc7134539be Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 17 Apr 2020 15:08:38 +0100 Subject: Nixify build for Chord Drill Sergeant Thankfully @tazjin builds Gemma (an Elm project) with Nix, so I could reference Gemma's default.nix to help me with mine. Elm problematically attempts to HTTP-fetch a list of packages to verify my project's dependencies. Because Nix builds derivations in a sandbox without network access, I need to use some escape hatches (i.e. NIX_REDIRECTS, LD_PRELOAD, SYSTEM_CERTIFICATE_PATH). Welp... it's packaged now... I'm also pointing learnpianochords.app to this project's index.html. It will be live soon! :) TODO(wpcarro): Rename "Chord Drill Sergeant" -> "Learn Piano Chords" (KISS) --- nixos/socrates/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos') diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix index fb0964aaea37..8d3149df8a05 100644 --- a/nixos/socrates/configuration.nix +++ b/nixos/socrates/configuration.nix @@ -177,6 +177,11 @@ in { enableACME = true; root = briefcase.website.sandbox; }; + "learnpianochords.app" = { + addSSL = true; + enableACME = true; + root = briefcase.website.sandbox.chord-drill-sergeant; + }; }; }; -- cgit 1.4.1