aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-10-02 09:32:54 +0200
committerKarel Kočí <cynerd@email.cz>2024-10-02 09:32:54 +0200
commit65a9e7cd89ab452bb3c75cfa496d0dcd90b3707d (patch)
tree29814d6164d0915ea8527fe0ea95e497669f1b3f /flake.nix
parent0fb44b2a894221e5806ee9eaa287df77a72b9204 (diff)
downloadnixos-personal-65a9e7cd89ab452bb3c75cfa496d0dcd90b3707d.tar.gz
nixos-personal-65a9e7cd89ab452bb3c75cfa496d0dcd90b3707d.tar.bz2
nixos-personal-65a9e7cd89ab452bb3c75cfa496d0dcd90b3707d.zip
lib: implement as overlay
This uses fully the ability to overlay the nixpkgs library instead of doing that hackilly.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index c9a68bd..4518a92 100644
--- a/flake.nix
+++ b/flake.nix
@@ -35,7 +35,7 @@
in
{
overlays = {
- lib = _: prev: import ./lib prev;
+ lib = final: prev: import ./lib final prev;
pkgs = final: prev: import ./pkgs final prev;
default = nixpkgs.lib.composeManyExtensions [
agenix.overlays.default