Merge pull request #114554 from etu/php-composer2-by-default
php: composer2 as default composer
This commit is contained in:
commit
d0bb138fbc
@ -1,14 +1,14 @@
|
||||
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
|
||||
let
|
||||
pname = "composer";
|
||||
version = "2.0.11";
|
||||
version = "1.10.15";
|
||||
in
|
||||
mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://getcomposer.org/download/${version}/composer.phar";
|
||||
sha256 = "sha256-6r8pFwcglqlGeRk3YlATGeYh4rNppKElaywn9OaYRHc=";
|
||||
sha256 = "1shsxsrc2kq74s1jbq3njn9wzidcz7ak66n9vyz8z8d0hqpg37d6";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
@ -1,14 +1,14 @@
|
||||
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
|
||||
let
|
||||
pname = "composer";
|
||||
version = "1.10.15";
|
||||
version = "2.0.11";
|
||||
in
|
||||
mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://getcomposer.org/download/${version}/composer.phar";
|
||||
sha256 = "1shsxsrc2kq74s1jbq3njn9wzidcz7ak66n9vyz8z8d0hqpg37d6";
|
||||
sha256 = "sha256-6r8pFwcglqlGeRk3YlATGeYh4rNppKElaywn9OaYRHc=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
@ -29,7 +29,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
|
||||
composer = callPackage ../development/php-packages/composer { };
|
||||
|
||||
composer2 = callPackage ../development/php-packages/composer/2.0.nix { };
|
||||
composer1 = callPackage ../development/php-packages/composer/1.x.nix { };
|
||||
|
||||
php-cs-fixer = callPackage ../development/php-packages/php-cs-fixer { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user