ocf-resource-agents: expose it's inputs as attributes
With individual attributes exposed it's easier to interrogate and upgrade constituents in `nixpkgs`.
This commit is contained in:
parent
35e16bd907
commit
4ebe4721a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user