diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-10-16 12:18:31 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-10-16 12:18:31 +0300 |
commit | 2a1cb909dec7feb1fc6a3530bd9d70cd3de82884 (patch) | |
tree | 910925d944cc7f4b0d83fd70b59a9732fd6ac600 /modules/pkgs/jenkinsWithPlugins/default.nix | |
parent | b40e89f23632d3fabe95bbf214bb77a32567b3d9 (diff) | |
download | nixsap-2a1cb909dec7feb1fc6a3530bd9d70cd3de82884.tar.gz |
pkgs.jenkinsUpdateCenter for simple overrides
Diffstat (limited to 'modules/pkgs/jenkinsWithPlugins/default.nix')
-rw-r--r-- | modules/pkgs/jenkinsWithPlugins/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/pkgs/jenkinsWithPlugins/default.nix b/modules/pkgs/jenkinsWithPlugins/default.nix index 74f6aa7..8b222a5 100644 --- a/modules/pkgs/jenkinsWithPlugins/default.nix +++ b/modules/pkgs/jenkinsWithPlugins/default.nix @@ -20,13 +20,7 @@ let inherit (lib) concatMapStrings filter flatten unique ; - /* - jq to make it human readable: - curl https://updates.jenkins-ci.org/current/update-center.actual.json | jq . > update-center.actual.json - */ - - # capture into nix store to track changes: - updateCenter = fromJSON (readFile "${./update-center.actual.json}"); + updateCenter = fromJSON (readFile pkgs.jenkinsUpdateCenter); core = with updateCenter.core; fetchurl { inherit url; |