mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
lib: add fallback for literalExpression and literalDocBook
This commit is contained in:
committed by
Robert Helgesson
parent
a77a01d1f6
commit
468c461139
@@ -4,4 +4,10 @@
|
||||
nixpkgsLib:
|
||||
|
||||
let mkHmLib = import ./.;
|
||||
in nixpkgsLib.extend (self: super: { hm = mkHmLib { lib = super; }; })
|
||||
in nixpkgsLib.extend (self: super: {
|
||||
hm = mkHmLib { lib = self; };
|
||||
|
||||
# For forward compatibility.
|
||||
literalExpression = super.literalExpression or super.literalExample;
|
||||
literalDocBook = super.literalDocBook or super.literalExample;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user