Skip to content

Commit

Permalink
pkgs/tests: init for testing build of unexposed packages
Browse files Browse the repository at this point in the history
(cherry picked from commit 34d14bd)
  • Loading branch information
minijackson authored and github-actions[bot] committed Jul 29, 2024
1 parent 814a986 commit 199cd04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
constituents = builtins.attrValues self.packages.${system};
};
}
// (import ./pkgs/tests {inherit pkgs self;})
// (import ./ioc/tests {inherit pkgs self;})
// (import ./nixos/tests/all-tests.nix {inherit nixpkgs pkgs self system;});

Expand Down
8 changes: 8 additions & 0 deletions pkgs/tests/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# For packages that are not directly exposed to the user,
# but should still work.
#
# For example kernel modules, which depend on the kernel version,
# or Python libraries, which depend on the Python version.
{pkgs, ...}: {
mrf-driver-default-linux = pkgs.linuxPackages.mrf;
}

0 comments on commit 199cd04

Please sign in to comment.