nix-bitcoin: add example for option pkgOverlays
This commit is contained in:
@@ -20,6 +20,13 @@ with lib;
|
|||||||
pkgOverlays = mkOption {
|
pkgOverlays = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
type = with types; functionTo attrs;
|
type = with types; functionTo attrs;
|
||||||
|
example = lib.literalExpression ''
|
||||||
|
super: self: {
|
||||||
|
bitcoind = super.bitcoind.overrideAttrs (old: {
|
||||||
|
# dostuff
|
||||||
|
});
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
lib = mkOption {
|
lib = mkOption {
|
||||||
|
|||||||
Reference in New Issue
Block a user