diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-02-07 16:33:14 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-02-07 16:33:14 +0000 |
commit | 4ebe4721a6220a6f6365787089e2149589b9de27 (patch) | |
tree | 32fe4a268b54745df439086efd0e47c582b2c03d /pkgs/os-specific/linux/ocf-resource-agents | |
parent | 35e16bd907627b41b212e33a809aff85b81229bf (diff) |
ocf-resource-agents: expose it's inputs as attributes
With individual attributes exposed it's easier to interrogate and upgrade constituents in `nixpkgs`.
Diffstat (limited to 'pkgs/os-specific/linux/ocf-resource-agents')
-rw-r--r-- | pkgs/os-specific/linux/ocf-resource-agents/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ocf-resource-agents/default.nix b/pkgs/os-specific/linux/ocf-resource-agents/default.nix index 36a536cf2063b..e61e21514f222 100644 --- a/pkgs/os-specific/linux/ocf-resource-agents/default.nix +++ b/pkgs/os-specific/linux/ocf-resource-agents/default.nix @@ -65,6 +65,11 @@ runCommand "ocf-resource-agents" { # $ nix edit -f. ocf-resource-agents # just work. pos = builtins.unsafeGetAttrPos "version" resource-agentsForOCF; + + # Useful to build and undate inputs individually: + passthru.inputs = { + inherit resource-agentsForOCF drbdForOCF pacemakerForOCF; + }; } '' mkdir -p $out/usr/lib/ocf ${lndir}/bin/lndir -silent "${resource-agentsForOCF}/lib/ocf/" $out/usr/lib/ocf |