diff --git a/src/subsystems/php/builders/simple/default.nix b/src/subsystems/php/builders/simple/default.nix index e55ee51b..78c91862 100644 --- a/src/subsystems/php/builders/simple/default.nix +++ b/src/subsystems/php/builders/simple/default.nix @@ -38,11 +38,12 @@ # packages to export packages = - lib.mapAttrs - (name: version: { - "${version}" = makePackage name version; - }) - args.packages; + {default = packages.${defaultPackageName};} + // ( + l.mapAttrs + (name: version: {"${version}" = makePackage name version;}) + args.packages + ); # Generates a derivation for a specific package name + version makePackage = name: version: let