mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-18 20:11:33 +03:00
php: simple builder define default package
This commit is contained in:
parent
b2269bd1cb
commit
eec7febc8d
@ -38,11 +38,12 @@
|
|||||||
|
|
||||||
# packages to export
|
# packages to export
|
||||||
packages =
|
packages =
|
||||||
lib.mapAttrs
|
{default = packages.${defaultPackageName};}
|
||||||
(name: version: {
|
// (
|
||||||
"${version}" = makePackage name version;
|
l.mapAttrs
|
||||||
})
|
(name: version: {"${version}" = makePackage name version;})
|
||||||
args.packages;
|
args.packages
|
||||||
|
);
|
||||||
|
|
||||||
# Generates a derivation for a specific package name + version
|
# Generates a derivation for a specific package name + version
|
||||||
makePackage = name: version: let
|
makePackage = name: version: let
|
||||||
|
Loading…
Reference in New Issue
Block a user