1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

Merge pull request #286344 from ShamrockLee/kernel-to-function

buildLinux: use lib.toFunction
This commit is contained in:
Artturi 2024-02-08 23:14:51 +02:00 committed by GitHub
commit 0ffb149130
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,7 +231,7 @@ let
override = args:
lib.warn (
"override is stubbed for NixOS kernel tests, not applying changes these arguments: "
+ toString (lib.attrNames (if lib.isAttrs args then args else args {}))
+ toString (lib.attrNames (lib.toFunction args { }))
) overridableKernel;
};
in [ (nixosTests.kernel-generic.passthru.testsForKernel overridableKernel) ] ++ kernelTests;