buildkite-agent: change hooksPath type to 'path' (and prevent it from hitting the store)

(cherry picked from commit 3aec59c99ff6692468a069fa8a8d6a05000fca81)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Kosyrev Serge 2017-12-28 14:55:53 +03:00 committed by Domen Kožar
parent 9f5593559b
commit 097719147a

View File

@ -49,7 +49,7 @@ in
}; };
hooksPath = mkOption { hooksPath = mkOption {
type = types.str; type = types.path;
default = "${pkgs.buildkite-agent}/share/hooks"; default = "${pkgs.buildkite-agent}/share/hooks";
defaultText = "${pkgs.buildkite-agent}/share/hooks"; defaultText = "${pkgs.buildkite-agent}/share/hooks";
description = '' description = ''