mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 18:57:08 +00:00
Merge pull request #704 from emilazy/readd-mddoc
eval-config.nix: readd `lib.mdDoc` temporarily
This commit is contained in:
commit
bc346a67d3
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ let
|
|||
# Added in nixpkgs #136909, adds forward compatibility until 22.03 is deprecated.
|
||||
literalExpression = super.literalExpression or super.literalExample;
|
||||
literalDocBook = super.literalDocBook or super.literalExample;
|
||||
|
||||
# Removed in nixpkgs #237557, readded to faciliate Markdown transition.
|
||||
mdDoc = text:
|
||||
if ! self.isString text then throw "mdDoc expects a string."
|
||||
else { _type = "mdDoc"; inherit text; };
|
||||
});
|
||||
|
||||
eval = libExtended.evalModules (builtins.removeAttrs args [ "lib" "inputs" "pkgs" "system" ] // {
|
||||
|
|
Loading…
Add table
Reference in a new issue