mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
Merge pull request #200809 from etu/php-packages-add-back-meta-attributes
php.packages: Add back meta attributes
This commit is contained in:
commit
4d5f61d6c7
@ -58,7 +58,9 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
# with how buildPecl does it and make the file easier to overview.
|
||||
mkDerivation = { pname, ... }@args: pkgs.stdenv.mkDerivation (args // {
|
||||
pname = "php-${pname}";
|
||||
meta.mainProgram = args.meta.mainProgram or pname;
|
||||
meta = args.meta // {
|
||||
mainProgram = args.meta.mainProgram or pname;
|
||||
};
|
||||
});
|
||||
|
||||
# Function to build an extension which is shipped as part of the php
|
||||
|
Loading…
Reference in New Issue
Block a user