krebs nix-install: softcode using target-path

This commit is contained in:
tv 2015-11-02 10:28:56 +01:00
parent d2ac2e0d00
commit bfad3f16b1

View File

@ -178,7 +178,7 @@ let out = {
nix-path =
lib.concatStringsSep ":"
(lib.mapAttrsToList (name: _: "${name}=/root/${name}")
(lib.mapAttrsToList (name: src: "${name}=${src.target-path}")
(config.krebs.build.source.dir //
config.krebs.build.source.git));
in ''