diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81364fc13261..a5cfde8a1cfa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 with: - nix_path: nixpkgs=channel:nixos-unstable + nix_path: nixpkgs=channel:nixpkgs-unstable - uses: cachix/cachix-action@v12 with: name: nix-community @@ -24,7 +24,7 @@ jobs: echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr exit 1 fi - - run: nix-build --show-trace -A docs.jsonModuleMaintainers + - run: nix-build --show-trace -A docs.manPages - run: ./format -c - run: nix-shell --show-trace . -A install - run: nix-shell --show-trace --arg enableBig false --pure tests -A run.all diff --git a/modules/lib/stdlib-extended.nix b/modules/lib/stdlib-extended.nix index 3c4e032aa97a..daee442b7d53 100644 --- a/modules/lib/stdlib-extended.nix +++ b/modules/lib/stdlib-extended.nix @@ -10,4 +10,5 @@ in nixpkgsLib.extend (self: super: { # For forward compatibility. literalExpression = super.literalExpression or super.literalExample; literalDocBook = super.literalDocBook or super.literalExample; + mdDoc = text: { _type = "mdDoc"; inherit text; }; })