flake: reorganize overlays under flake/ as a plain overlay list

This commit is contained in:
2026-07-22 18:15:33 +08:00
parent e1c421af54
commit 7d42a6c466
6 changed files with 36 additions and 73 deletions
+34
View File
@@ -0,0 +1,34 @@
{
inputs,
lib,
config,
...
}:
[
(
final: prev:
lib.infuse prev {
cage.__output.patches.__append = [ ./cage-specify-output-name.patch ];
bottles.__input.removeWarningPopup.__assign = true;
easytier.__assign = final.stable.easytier;
python314Packages.patool.__input.file.__output.postPatch.__append =
lib.warn "Remove `file` patch once https://github.com/NixOS/nixpkgs/pull/540742 is merged" ''
substituteInPlace src/landlock.c --replace-fail \
"LANDLOCK_ACCESS_FS_READ_FILE | LANDLOCK_ACCESS_FS_READ_DIR" \
"LANDLOCK_ACCESS_FS_READ_FILE | LANDLOCK_ACCESS_FS_READ_DIR | LANDLOCK_ACCESS_FS_EXECUTE"
'';
}
)
(final: _prev: {
stable = import inputs.nixpkgs-stable {
inherit (final.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
master = import inputs.nixpkgs-master {
inherit (final.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
})
]