mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
77d4f4feee
`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. |
||
---|---|---|
.. | ||
mail_receiver | ||
plugins | ||
rubyEnv | ||
action_mailer_ca_cert.patch | ||
admin_create.patch | ||
asserts_patch-package_from_path.patch | ||
assets_rake_command.patch | ||
auto_generated_path.patch | ||
default.nix | ||
how_to_update.md | ||
nixos_defaults.patch | ||
notification_email.patch | ||
plugin_gem_api_version.patch | ||
unicorn_logging_and_timeout.patch | ||
update.py | ||
use_mv_instead_of_rename.patch |