about summary refs log tree commit diff
path: root/fun/gemma
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T12·47+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T13·54+0000
commit4bbbb58cb537014dd8b0b3c3c560c039ac57ad89 (patch)
treeffd6c2c6758f655801ea6497b3dd9d2f2d04ebc9 /fun/gemma
parent5d9d84f4cfdbed049e71ce6f15bb1ad8650f7acf (diff)
chore: Rename pkgs->depot in all Nix file headers r/559
Diffstat (limited to 'fun/gemma')
-rw-r--r--fun/gemma/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/fun/gemma/default.nix b/fun/gemma/default.nix
index cecf8bb751ee..55612106d2e0 100644
--- a/fun/gemma/default.nix
+++ b/fun/gemma/default.nix
@@ -1,8 +1,8 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
 let
-  inherit (pkgs) elmPackages;
-  inherit (pkgs.third_party) cacert iana-etc libredirect stdenv runCommandNoCC;
+  inherit (depot) elmPackages;
+  inherit (depot.third_party) cacert iana-etc libredirect stdenv runCommandNoCC writeText;
 
   frontend = stdenv.mkDerivation {
     name = "gemma-frontend.html";
@@ -26,17 +26,17 @@ let
     '';
   };
 
-  injectFrontend = pkgs.writeText "gemma-frontend.lisp" ''
+  injectFrontend = writeText "gemma-frontend.lisp" ''
     (in-package :gemma)
     (setq *static-file-location* "${runCommandNoCC "frontend" {} ''
       mkdir -p $out
       cp ${frontend} $out/index.html
     ''}/")
   '';
-in pkgs.nix.buildLisp.program {
+in depot.nix.buildLisp.program {
   name = "gemma";
 
-  deps = with pkgs.third_party.lisp; [
+  deps = with depot.third_party.lisp; [
     cl-json
     cl-prevalence
     hunchentoot