about summary refs log tree commit diff
path: root/services/gemma
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-23T14·28+0100
committerVincent Ambo <tazjin@google.com>2019-08-23T14·28+0100
commitd3f8dd15f3eb1e81eb0bdfeaed5b26550eca22f2 (patch)
tree4a67e423987f9c682c3330c121a6b9fb0305398d /services/gemma
parent31e83b33cc744114c40964fb0c46d9b90737c161 (diff)
fix(gemma): Almost fix Gemma build by porting an old Elm r/57
This pulls in an old version of Elm from NixOS 17.09 which can still
build the Elm code in Gemma.

However, the Common Lisp build is now broken in some other way.
Diffstat (limited to 'services/gemma')
-rw-r--r--services/gemma/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/services/gemma/default.nix b/services/gemma/default.nix
index 8c56e5668588..537875b62534 100644
--- a/services/gemma/default.nix
+++ b/services/gemma/default.nix
@@ -1,15 +1,9 @@
-with import <nixpkgs> {};
+{ stdenv, sbcl, lispPackages, elmPackages, pkgconfig }:
 
 stdenv.mkDerivation rec {
   name = "gemma";
-
   src = ./.;
 
-  # For the time being, Gemma can not be built because it requires an
-  # older version of Elm than what is available and Elm upgrade paths
-  # are painful.
-  broken = true;
-
   buildInputs = with lispPackages; [
     sbcl
     quicklisp
@@ -50,5 +44,9 @@ stdenv.mkDerivation rec {
     description = "Tool for tracking recurring tasks";
     homepage    = "https://github.com/tazjin/gemma";
     license     = licenses.gpl3;
+
+    # For the time being, Gemma can not be built because the Lisp build process
+    # broke in some way I haven't had time to debug.
+    broken = true;
   };
 }