From fbd3c2a4840ddba3a60dfd715a85398eb563c83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Thu, 22 Jun 2023 23:10:00 +0200 Subject: [PATCH] TEST --- .github/workflows/test.yml | 4 ++-- modules/lib/stdlib-extended.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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; }; })