refactor: Fix a variety of filepaths for repo relayouting

This fixes readTree and the various project builds, as well
as (hopefully) most documentation links inside of the projects.
This commit is contained in:
Vincent Ambo 2019-12-20 20:37:02 +00:00
parent 03bfe08e1d
commit 8de5d093d8
12 changed files with 69 additions and 55 deletions

View file

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