Closed buurro closed 6 months ago
That issue was fixed already, did you update to the latest flake version?
I did. The package doesn't build when used as a nixpkgs overlay.
Running nix build github:loophp/nix-shell#php56 -L
works well, so I guess it's because of an outdated flake.lock
?
I just tried recreating the lock file, so I don't think that's it.
Basically using pkgs.php56
returns the error mentioned above, while <nix-shell input name>.packages.${system}.php56
does work, so I'll just start using it 👍
I don't get how such a thing could be possible, but I'm glad you found out a solution.
Should we close the issue?
I think it's because the nixpkgs I'm using are more recent than the ones locked in this repo.
Sure, you can close it.
Thanks
I made an example flake: buurro/nix-php-example
Steps required to reproduce the problem
nix build github:buurro/nix-php-example/2845332e938b1df94eb4e823b5b10a8399e2b55b#packages.x86_64-linux.php56
Expected Result
Actual Result
Running
nix build github:loophp/nix-shell#php56
works, so I don't understand where is the issue.