linuxPackages.apfs: add passthru.tests

This allows executing the test with `nix-build -A linuxPackages.apfs.tests`.
This commit is contained in:
Luflosi 2022-12-05 15:04:14 +01:00
parent 7fb167b1a5
commit be874693ce
No known key found for this signature in database
GPG key ID: 4E41E29EDCC345D0

View file

@ -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";