Closed jbboehr closed 2 years ago
I'm trying to use composer2nix with a PHP 8.0-only project, and, well, it (specifically composer) doesn't work unless it's run under PHP 8.0, which is not currently the default php attribute in nixos-unstable.
php
nixos-unstable
I currently import composer2nix in a dev shell like so: https://github.com/jbboehr/php-psr/blob/d9003822a540fc35627d63baa48445ed81742fd1/default.nix#L20
A composer update is required as some older versions of packages did not list PHP 8.0 as supported.
~I just realized your default.nix is probably generated by composer2nix itself. I'll see if I can fix it.~
Incidentally, would be nice to set up GitHub actions if only as documentation on how to run the tests.
I'm trying to use composer2nix with a PHP 8.0-only project, and, well, it (specifically composer) doesn't work unless it's run under PHP 8.0, which is not currently the default
php
attribute innixos-unstable
.I currently import composer2nix in a dev shell like so: https://github.com/jbboehr/php-psr/blob/d9003822a540fc35627d63baa48445ed81742fd1/default.nix#L20
A composer update is required as some older versions of packages did not list PHP 8.0 as supported.