fix(overrides): Fix package importing for kontemplate

This commit is contained in:
Vincent Ambo 2019-12-09 04:27:40 +00:00
parent b554b6274b
commit a1ac598fa0
2 changed files with 5 additions and 4 deletions

View file

@ -1,14 +1,14 @@
{ pkgs, upstream, ... }: { pkgs, ... }:
let master = upstream.kontemplate.overrideAttrs(_: { let master = pkgs.third_party.kontemplate.overrideAttrs(_: {
src = pkgs.fetchFromGitHub { src = pkgs.third_party.fetchFromGitHub {
owner = "tazjin"; owner = "tazjin";
repo = "kontemplate"; repo = "kontemplate";
rev = "v1.8.0"; rev = "v1.8.0";
sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1"; sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1";
}; };
}); });
in pkgs.writeShellScriptBin "kontemplate" '' in pkgs.third_party.writeShellScriptBin "kontemplate" ''
export PATH="${pkgs.tools.kms_pass}/bin:$PATH" export PATH="${pkgs.tools.kms_pass}/bin:$PATH"
exec ${master}/bin/kontemplate $@ exec ${master}/bin/kontemplate $@
'' ''

View file

@ -40,6 +40,7 @@ let
haskell haskell
iana-etc iana-etc
jq jq
kontemplate
lib lib
lispPackages lispPackages
llvmPackages llvmPackages