25bef2d8f9
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
17 lines
407 B
Nix
17 lines
407 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "kernel-lts";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ nequissimus ];
|
|
};
|
|
|
|
machine = { pkgs, ... }:
|
|
{
|
|
boot.kernelPackages = pkgs.linuxPackages;
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
assert "Linux" in machine.succeed("uname -s")
|
|
assert "${pkgs.linuxPackages.kernel.version}" in machine.succeed("uname -a")
|
|
'';
|
|
})
|