fix(overrides): Fix package importing for kontemplate
This commit is contained in:
parent
b554b6274b
commit
a1ac598fa0
2 changed files with 5 additions and 4 deletions
|
@ -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 $@
|
||||||
''
|
''
|
||||||
|
|
1
third_party/default.nix
vendored
1
third_party/default.nix
vendored
|
@ -40,6 +40,7 @@ let
|
||||||
haskell
|
haskell
|
||||||
iana-etc
|
iana-etc
|
||||||
jq
|
jq
|
||||||
|
kontemplate
|
||||||
lib
|
lib
|
||||||
lispPackages
|
lispPackages
|
||||||
llvmPackages
|
llvmPackages
|
||||||
|
|
Loading…
Reference in a new issue