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(_: {
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 $@
''

View file

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