diff options
| author | Ratchanan Srirattanamet <peathot@hotmail.com> | 2025-09-15 02:24:35 +0700 |
|---|---|---|
| committer | Ratchanan Srirattanamet <peathot@hotmail.com> | 2025-10-05 02:19:10 +0700 |
| commit | 1422ed88014e9a43d262fa5c3ff5a925d135c030 (patch) | |
| tree | dd2bcf9c75f37323ae506709c56ac663f0086ee2 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | e7ecb1b6a263fb4e2def667d5b304ea9f0fe0d91 (diff) | |
kimai: fix bundled assets missing
We were relying on `composerNoScripts = false` to make sure post-install
command `assets:install` is run. `assets:install` copies assets from
`vendor/` directory into `public/` directory, placing it in appropriate
places.
However, with commit 80bb9aec24 ("kimai: switch to buildComposerProject2
and tag"), we switched to `buildComposerProject2` which has moved
`composer install` step to `composerVendor` derivation. By design,
`composerVendor` ignores anything that happens outside `vendor/`, so
the assets was not copied into final derivation.
So stop relying on `composerNoScripts = false` and run `assets:install`
ourselves in `postInstall` step. A side effect of this is that there is
another post-install step being skipped (`cache:clear`). However we
simply handle caches outside of the derivation (it's handled in the
module), so that's not a problem.
Fixes: https://github.com/NixOS/nixpkgs/issues/442208
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
