mdbook: add nix to passthru.tests

This commit is contained in:
Sandro Jäckel
2022-07-16 02:45:46 +02:00
parent 233fa91f75
commit 5dba101517
+7 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
{ lib, stdenv, fetchFromGitHub, nix, rustPlatform, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "mdbook";
@@ -21,6 +21,12 @@ rustPlatform.buildRustPackage rec {
# is released.
logLevel = "info";
passthru = {
tests = {
inherit nix;
};
};
meta = with lib; {
description = "Create books from MarkDown";
homepage = "https://github.com/rust-lang/mdBook";