mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
gem-config: add digest-sha3
`digest-sha3` is a C-extension gem which fails to build on Nix because it uses non-literals as format strings which is forbidden by the default Nix hardening settings. There is a pull request to fix that ([1]), but the gem seems to be abandoned. This PR disables the "format" hardening for `digest-sha3`. [1]: https://github.com/phusion/digest-sha3-ruby/pull/8
This commit is contained in:
parent
4545aaa671
commit
05c8d5c88f
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
digest-sha3 = attrs: {
|
||||
hardeningDisable = [ "format" ];
|
||||
};
|
||||
|
||||
ethon = attrs: {
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue