Commit e768da83 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

buildLinux: use lib.toFunction

Refactor expression trivially with `lib.toFunction`.
parent 42085578
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;