chore: Update kontemplate to v1.8.0
This version is agnostic of the working directory even if insertFile/insertTemplate are used, which makes it a lot nicer to work with in this repository structure.
This commit is contained in:
parent
56f9e37755
commit
16b317fa5a
1 changed files with 13 additions and 4 deletions
13
default.nix
13
default.nix
|
@ -57,9 +57,18 @@ let
|
|||
}) {}).elmPackages;
|
||||
|
||||
# Wrap kontemplate to inject the Cloud KMS version of 'pass'
|
||||
kontemplate = self.writeShellScriptBin "kontemplate" ''
|
||||
kontemplate =
|
||||
let master = super.kontemplate.overrideAttrs(_: {
|
||||
src = self.fetchFromGitHub {
|
||||
owner = "tazjin";
|
||||
repo = "kontemplate";
|
||||
rev = "v1.8.0";
|
||||
sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1";
|
||||
};
|
||||
});
|
||||
in self.writeShellScriptBin "kontemplate" ''
|
||||
export PATH="${self.tazjin.kms_pass}/bin:$PATH"
|
||||
exec ${super.kontemplate}/bin/kontemplate $@
|
||||
exec ${master}/bin/kontemplate $@
|
||||
'';
|
||||
|
||||
# One of Gemma's dependencies is missing in nixpkgs' Quicklisp
|
||||
|
|
Loading…
Reference in a new issue