From a7241a57e3c85178d9ba951bcd1b08ac16abb681 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 5 Sep 2024 11:14:52 +0000 Subject: [PATCH] lib: add modules.mkTestOverride --- nix/lib/default.nix | 2 ++ nix/lib/modules.nix | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 nix/lib/modules.nix diff --git a/nix/lib/default.nix b/nix/lib/default.nix index 5fee45f..bbb1564 100644 --- a/nix/lib/default.nix +++ b/nix/lib/default.nix @@ -8,6 +8,8 @@ libO # groups + modules = libO.modules // lib.importFlakeMod ./modules.nix; + types = libO.types // lib.importFlakeMod ./types.nix; x-banananetwork-unused = lib.importFlakeMod ./unused.nix; diff --git a/nix/lib/modules.nix b/nix/lib/modules.nix new file mode 100644 index 0000000..97091ab --- /dev/null +++ b/nix/lib/modules.nix @@ -0,0 +1,9 @@ +{ lib, ... }@flakeArg: +let + inherit (lib.modules) mkOverride; +in +{ + + mkTestOverride = mkOverride 55; + +}