From 3982a9e50ee96af14e449dfe284aea41a0134e96 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 9 Oct 2026 20:08:57 +0300 Subject: feat(autoconfig): Set allowUnfree and add inputs for custom packages --- autoconfig.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoconfig.nix b/autoconfig.nix index 6df931f..f092bd7 100644 --- a/autoconfig.nix +++ b/autoconfig.nix @@ -5,9 +5,10 @@ let custom-packages = system: let + pkgs' = import nixpkgs.legacyPackages.${system}.path { inherit system; config.allowUnfree = true; }; packages = lib.mapAttrs (name: _: - nixpkgs.legacyPackages.${system}.callPackage ./packages/${name} packages) + pkgs'.callPackage ./packages/${name} (packages // { inherit inputs; })) (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./packages)); in packages; -- cgit v1.3.1-23-gd82d