diff --git a/flake.nix b/flake.nix index 0b87f77..fc3d338 100644 --- a/flake.nix +++ b/flake.nix @@ -131,17 +131,17 @@ ) // { overlays.default = final: prev: ( - { - linuxPackages_latest.xone = packageDefinitions.xone final; - } // - (lib.attrsets.concatMapAttrs ( - name: package: - if name == "xone" - then {} - else { - ${name} = package final; - }) - packageDefinitions)); + lib.attrsets.concatMapAttrs ( + name: packageDefinition: + let + package = final.callPackage packageDefinition { }; + in + if name == "xone" + then + { linuxPackages_latest.xone = package; } + else + { ${name} = package; }) + packageDefinitions); nixosConfigurations = builtins.mapAttrs (