c1c379848a
Broadly speaking, the following things are included: * there is now a uniform `args` struct that is passed to all derivations, package headers have been changed appropriately * overrides are now loaded from a separate `override` folder just using read-tree.nix * third-party packages have moved into the `third_party` attribute set
14 lines
389 B
Nix
14 lines
389 B
Nix
{ pkgs, upstream, ... }:
|
|
|
|
let master = upstream.kontemplate.overrideAttrs(_: {
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "tazjin";
|
|
repo = "kontemplate";
|
|
rev = "v1.8.0";
|
|
sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1";
|
|
};
|
|
});
|
|
in pkgs.writeShellScriptBin "kontemplate" ''
|
|
export PATH="${pkgs.tools.kms_pass}/bin:$PATH"
|
|
exec ${master}/bin/kontemplate $@
|
|
''
|