linuxPackages.apfs: add passthru.tests
This allows executing the test with `nix-build -A linuxPackages.apfs.tests`.
This commit is contained in:
parent
7fb167b1a5
commit
be874693ce
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, kernel
|
, kernel
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -24,6 +25,8 @@ stdenv.mkDerivation {
|
||||||
"INSTALL_MOD_PATH=$(out)"
|
"INSTALL_MOD_PATH=$(out)"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests.test = nixosTests.apfs;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "APFS module for linux";
|
description = "APFS module for linux";
|
||||||
homepage = "https://github.com/linux-apfs/linux-apfs-rw";
|
homepage = "https://github.com/linux-apfs/linux-apfs-rw";
|
||||||
|
|
Loading…
Reference in a new issue