20 Jan 2025 |
piotrkwiecinski | should prevent it right? | 12:52:22 |
Pol | Technically yeah | 12:53:13 |
Pol | But did they use it? | 12:53:20 |
piotrkwiecinski | Yes | 12:53:25 |
Pol | ah. | 12:53:42 |
Pol | On another topic | 12:57:12 |
Pol | ❯ nix build .#phpdocumentor -L --rebuild
phpdocumentor> Running phase: unpackPhase
phpdocumentor> unpacking source archive /nix/store/30ryfv45bmdj5nc3xbqfdrgb41wgdvr7-source
phpdocumentor> source root is source
phpdocumentor> Running phase: patchPhase
phpdocumentor> Running phase: updateAutotoolsGnuConfigScriptsPhase
phpdocumentor> Running phase: configurePhase
phpdocumentor> Executing composerInstallConfigureHook
phpdocumentor> Setting COMPOSER_ROOT_VERSION to 3.6.0
phpdocumentor> Finished composerInstallConfigureHook
phpdocumentor> Running phase: buildPhase
phpdocumentor> Executing composerInstallBuildHook
phpdocumentor> Finished composerInstallBuildHook
phpdocumentor> Running phase: checkPhase
phpdocumentor> Executing composerInstallCheckHook
phpdocumentor> Finished composerInstallCheckHook
phpdocumentor> Running phase: installPhase
phpdocumentor> Executing composerInstallInstallHook
phpdocumentor> Creating symlink bin/phpdoc...
phpdocumentor> Creating symlink bin/phpdoc.php...
phpdocumentor> Finished composerInstallInstallHook
phpdocumentor> Running phase: fixupPhase
phpdocumentor> shrinking RPATHs of ELF executables and libraries in /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0
phpdocumentor> shrinking /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/bin/phpdoc
phpdocumentor> checking for references to /build/ in /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0...
phpdocumentor> patching script interpreter paths in /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/bin/phpdoc: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/bin/yaml-lint: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/bin/githubaction: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/bin/phpdoc.php: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/tools/box: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/vendor/symfony/yaml/Resources/bin/yaml-lint: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/share/php/phpdocumentor/vendor/nikic/php-parser/bin/php-parse: interpreter directive changed from "#!/usr/bin/env php" to "/nix/store/r2xq8q0ngikflpnjpbai4pycqkdycikl-php-with-extensions-8.3.15/bin/php"
phpdocumentor> rewriting symlink /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/bin/phpdoc.php to be relative to /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0
phpdocumentor> rewriting symlink /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0/bin/.phpdoc-wrapped to be relative to /nix/store/ls48ivg6jn95fm7f8ip6207i0ldj90x6-phpdocumentor-3.6.0
~/C/N/nixpkgs > (~push-nvstlwpxlprr (no description set) xlmlx 7b6bce) ❯
| 12:57:24 |
Pol | This is now fixed :) | 12:57:27 |
Pol | It's been a while I wanted to see it fixed. | 12:57:38 |
Pol | The correct SHA is: sha256-LESUhPjpj1KkFkB+JEOCGU9c6LuDQJB5Dtc/q5Bt3Og= | 12:57:51 |
Pol | * The correct SHA is: sha256-LESUhPjpj1KkFkB+JEOCGU9c6LuDQJB5Dtc/q5Bt3Og= | 12:57:57 |
piotrkwiecinski | specified: sha256-PVaa0o8daoqXs8l3bF/Fsmtx3bdpO2uXTnR4tx8cUC4=
got: sha256-LESUhPjpj1KkFkB+JEOCGU9c6LuDQJB5Dtc/q5Bt3Og=
| 13:03:01 |
piotrkwiecinski | yeah get the same locally | 13:03:09 |
Pol | \o/ | 13:03:12 |
Pol | hallelujah | 13:03:17 |
Pol | https://github.com/NixOS/nixpkgs/pull/375311 | 13:23:22 |
piotrkwiecinski | looks promising I'll have a time to play around with it in 4-5 h | 13:30:34 |
piotrkwiecinski | I run the drupal reproducer using with nixpkgs from the branch and seems to work | 16:44:00 |
Pol | Does it have an impact on other derivation? | 20:21:52 |
21 Jan 2025 |
piotrkwiecinski | I haven't done too much additional testing yet. I had a lot of firefighting at work. Most likely I won't have too much time before friday. | 22:02:21 |
22 Jan 2025 |
Pol | It's fine, I tested it and no hash change :) | 09:26:59 |
2 Feb 2025 |
| pbsds changed their display name from pbsds to pbsds (FOSDEM). | 16:04:35 |
3 Feb 2025 |
| pbsds changed their display name from pbsds (FOSDEM) to pbsds. | 16:25:17 |
4 Feb 2025 |
Pol | I'm looking for testers on this thingie: https://github.com/NixOS/nixpkgs/pull/375311 | 19:41:24 |
w | How to? | 19:45:23 |
Pol |
- Checkout the PR
- Build a couple of PHP derivations
- Test them
- Check if the changes are OK
| 19:45:57 |
w | OK | 19:47:15 |
7 Feb 2025 |
piotrkwiecinski | We have 5 packages left using buildComposerProject. In their current form they move some files from $out/share/php/pname to $out. This doesn't work with buildComposerProject2. Any suggestion how we could solve it?
Here is an example: https://github.com/NixOS/nixpkgs/blob/91b02440a51ceea54ee5ca61b2d018f41c22695f/pkgs/by-name/da/davis/package.nix#L21-L27 | 14:01:37 |
piotrkwiecinski | https://github.com/search?q=repo%3ANixOS%2Fnixpkgs+%22buildComposerProject+%28%22&type=code | 14:03:42 |
piotrkwiecinski | https://github.com/NixOS/nixpkgs/blob/91b02440a51ceea54ee5ca61b2d018f41c22695f/pkgs/servers/nextcloud/packages/apps/hmr_enabler.nix#L25 uses chmod -R u+w $out/share which seems to solve a problem for building davis is this correct ok? | 14:08:22 |