mdbook: add nix to passthru.tests
This commit is contained in:
parent
233fa91f75
commit
5dba101517
1 changed files with 7 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue