diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2023-06-05 22:39:51 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2023-06-24 12:27:44 +0200 |
| commit | 77d4f4feee0798084925a9b2affe6fa37dee97e8 (patch) | |
| tree | 90c1659b2f715654cac180e4b5c41b986e8bd5e9 /pkgs/development/python-modules/rangehttpserver | |
| parent | dc5364a119f729fc69888eddb0948e5508426bfb (diff) | |
discourse.assets: work around `cannot execute: required file not found`
`yarn run patch-package` as `postinstall`-hook doesn't work because it
has a shebang using `/usr/bin/env` which isn't available in the sandbox.
Removing the postinstall hook and manually running this after
`patchShebangs` appears to solve the issue.
Relevant error log of the build error
(`NIXPKGS_ALLOW_INSECURE=1 nix-build -A discourse.assets`)
error /build/source/app/assets/javascripts/node_modules/discourse: Command failed.
Exit code: 127
Command: patch-package
Arguments:
Directory: /build/source/app/assets/javascripts/node_modules/discourse
Output:
/bin/sh: line 1: /build/source/app/assets/javascripts/node_modules/.bin/patch-package: cannot execute: required file not found
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
