1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

eval-config: remove lib.mdDoc

The temporarily pinned nixpkgs version already has this version,
and where we're going, we don't need backports.

This reverts commit 737cfdec9c.
This commit is contained in:
Emily 2023-06-23 00:20:58 +01:00
parent b7ccefadf9
commit b6893e7f6d

View file

@ -46,11 +46,6 @@ 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" ] // {