about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-09T04·27+0000
committerVincent Ambo <tazjin@google.com>2019-12-09T04·27+0000
commita1ac598fa0782e22c9fb9c27719a50e543757f41 (patch)
tree8e1694e20537e60958692a500c6062af61580170
parentb554b6274b2ed670ff31ea70ac195de18b4d9e63 (diff)
fix(overrides): Fix package importing for kontemplate r/110
-rw-r--r--overrides/kontemplate.nix8
-rw-r--r--third_party/default.nix1
2 files changed, 5 insertions, 4 deletions
diff --git a/overrides/kontemplate.nix b/overrides/kontemplate.nix
index 28381b0137f8..40f6b68b2962 100644
--- a/overrides/kontemplate.nix
+++ b/overrides/kontemplate.nix
@@ -1,14 +1,14 @@
-{ pkgs, upstream, ... }:
+{ pkgs, ... }:
 
-let master = upstream.kontemplate.overrideAttrs(_: {
-  src = pkgs.fetchFromGitHub {
+let master = pkgs.third_party.kontemplate.overrideAttrs(_: {
+  src = pkgs.third_party.fetchFromGitHub {
     owner = "tazjin";
     repo = "kontemplate";
     rev = "v1.8.0";
     sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1";
   };
 });
-in pkgs.writeShellScriptBin "kontemplate" ''
+in pkgs.third_party.writeShellScriptBin "kontemplate" ''
   export PATH="${pkgs.tools.kms_pass}/bin:$PATH"
   exec ${master}/bin/kontemplate $@
 ''
diff --git a/third_party/default.nix b/third_party/default.nix
index adb96d73ed2b..1d10f01e726b 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -40,6 +40,7 @@ let
       haskell
       iana-etc
       jq
+      kontemplate
       lib
       lispPackages
       llvmPackages