mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
nix-bitcoin: add example for option pkgOverlays
This commit is contained in:
parent
7e0d54a19a
commit
4347125344
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user