nix-bitcoin: add example for option pkgOverlays
This commit is contained in:
parent
7e0d54a19a
commit
4347125344
1 changed files with 7 additions and 0 deletions
|
|
@ -20,6 +20,13 @@ with lib;
|
|||
pkgOverlays = mkOption {
|
||||
internal = true;
|
||||
type = with types; functionTo attrs;
|
||||
example = lib.literalExpression ''
|
||||
super: self: {
|
||||
bitcoind = super.bitcoind.overrideAttrs (old: {
|
||||
# dostuff
|
||||
});
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
lib = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue