Closed raboof closed 2 years ago
of course since Nix is awesome I could work around this by passing in the old nixpkgs, using the following shell.nix
{ pkgs ? import <nixpkgs> {} }:
let
oldpkgs = /home/aengelen/nixpkgs-stable;
in
pkgs.mkShell {
buildInputs = [
pkgs.docker-compose
pkgs.nodePackages.node2nix
((pkgs.callPackage ../composer2nix/release.nix { nixpkgs = oldpkgs; }).package.x86_64-linux)
];
}
I think this no longer a problem anymore. I've been using it on this version of Nixpkgs for a while and it seems to work fine.
I've also got rid of one of the problematic development/test dependencies: phpDocumentator. The latter no longer seems to support composer properly.
OK, I don't have a setup to test that right now, so let's close this - I'll reopen in case I ever revisit the topic and run into the problem again :)
Since 21.11 updates the default php version to 8.x, composer2nix no longer builds with that nixpkgs.
I tried doing a 'composer update' on the root, which seemed fine. However, also doing 'composer update' in
tests/dependencies
yielded:Updating phpunit to
9.5.x
in composer.json led to another problem:I'm not too familiar with php, so I'm not sure where to go from there :)