nix-bitcoin: add example for option pkgOverlays

This commit is contained in:
Erik Arvstedt 2024-01-15 23:04:26 +01:00
parent 7e0d54a19a
commit 4347125344
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -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 {