From 0cc353f49f9c5d0e0bd203a6854b488a58daaa96 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 24 Oct 2024 14:59:29 +0200 Subject: refactor({modules,pkgs}/by-name-overlay): De-duplicate in a `nixLib` --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 0fddec86..399e0577 100644 --- a/flake.nix +++ b/flake.nix @@ -285,10 +285,12 @@ system = "x86_64-linux"; sysLib = shell_library.lib.${system}; + nixLib = import ./lib {}; + pkgsStable = nixpkgs-stable.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system}; myPkgs = import ./pkgs { - inherit sysLib pkgs; + inherit sysLib pkgs nixLib; }; nixpkgs_as_input = nixpkgs; -- cgit 1.4.1