Nix PHP | 73 Members | |
| A room for PHP developers running on Nix | 21 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Feb 2024 | ||
In reply to @drupol:matrix.org
I think you could set | 23:10:10 | |
| 18 Feb 2024 | ||
In reply to @drupol:matrix.orgThat only sets the version of the root, but I'm trying to fix a dependency version. Maybe it does work, though, because it should also affect packages in subdirs? Depends on if Composer resolves the symlinks I create in .flake-inputs. But also, it'd set everything to the same version, which wouldn't work in my case. Multiple packages versioned separately. | 07:33:30 | |
| It would be nice to have that in the nix documentation | 07:35:36 | |
| Given this trivial derivation:
Anybody has a clue on how I could see that a patch has been applied when generated the SBOM of the derivation? To generate the SBOM, I use: https://github.com/nikstur/bombon The odd thing is that I can see patches in the SBOM for other derivations, but not for PHP. Do you have a lead, a clue, a suggestion? | 10:08:09 | |
| Same stuff with Composer which is currently patched for security at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/php-packages/composer/default.nix | 10:15:14 | |
| Created an issue: https://github.com/nikstur/bombon/issues/71 | 10:39:45 | |
| patka: do you plan to update this PR https://github.com/NixOS/nixpkgs/pull/289625#event-11837388469 ? | 10:43:11 | |
| Oh, thought I already did that. That was what the 👍 was for. But probably didn't push. Give me a sec | 10:44:22 | |
| Done | 10:45:31 | |
| Merci :) | 10:45:50 | |
| Merged! | 10:46:27 | |
| 19 Feb 2024 | ||
| youhou ! | 09:19:05 | |
| https://github.com/NixOS/nixpkgs/pull/285828 | 09:24:30 | |
I added the required logic to detect if a composer update needs to be triggered. Now, thanks to that, we can install correctly php-parallel-lint ! | 09:25:03 | |
| Elis 🌱: Now it's ready for review :D | 09:25:13 | |
Why Psalm need COMPOSER_ROOT_VERSION : https://github.com/vimeo/psalm/issues/10721 | 20:59:09 | |
In Nix, when building a PHP derivation, the ``.gitfolder doesn't exist, therefore Composer is not able to infer the version... and it fails. SettingCOMPOSER_ROOT_VERSION` fix that. | 21:06:07 | |
* In Nix, when building a PHP derivation, the .git folder doesn't exist, therefore Composer is not able to infer the version... and it fails. SettingCOMPOSER\_ROOT\_VERSION fix that. | 21:06:23 | |
* In Nix, when building a PHP derivation, the .git folder doesn't exist, therefore Composer is not able to infer the version... and it fails. SettingCOMPOSER_ROOT_VERSION fix that. | 21:06:30 | |
| patka, tgerbet , Gaël Reyrol : I'm looking for reviewers on this: https://github.com/NixOS/nixpkgs/pull/285828 | 21:37:28 | |
| I'll just be honest, I probably don't have the means to review this properly the coming few days | 22:21:52 | |
| 20 Feb 2024 | ||
| Totally fine, it's just open-source, we do what we can do at our best effort :) no worries! Hope everything's fine though. | 10:33:09 | |
| Oh damn... I've broken my pants in https://github.com/NixOS/nixpkgs/pull/285828 | 11:45:33 | |
I upgraded a couple of derivations and switch to using buildComposerProject wrapper | 11:45:50 | |
| I hope it's ok to do that into that PR. | 11:45:57 | |
| Once this PR will be merged, there will be only one PHAR in Nix: Composer (only used to bootstrap Composer sources) | 21:59:37 | |
| * Once this PR will be merged, there will be only one PHAR in Nixpkgs: Composer (only used to bootstrap Composer sources) | 21:59:46 | |
| 21 Feb 2024 | ||
| I'm still looking for reviewers at https://github.com/NixOS/nixpkgs/pull/285828 ! :) | 19:32:31 | |
| I will try to take a look but it's unlikely to happen before this week end | 21:18:45 | |
| Okidocky | 21:50:08 | |