forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / web / nodejs / gyp-patches.nix
blob67a2a2a12844019bef66c6db771604f17b7da8e5
1 { fetchpatch2 }:
2 let
3   name = "gyp-darwin-sandbox.patch";
4   url = "https://github.com/nodejs/gyp-next/commit/706d04aba5bd18f311dc56f84720e99f64c73466.patch";
5 in
7   # Fixes builds with Nix sandbox on Darwin for gyp.
8   # See https://github.com/NixOS/nixpkgs/issues/261820
9   # and https://github.com/nodejs/gyp-next/pull/216
10   (fetchpatch2 {
11     inherit name url;
12     hash = "sha256-l8FzgLq9CbVJCkXfnTyDQ+vXKCz65wpaffE74oSU+kY=";
13     stripLen = 1;
14     extraPrefix = "tools/gyp/";
15   })
16   (fetchpatch2 {
17     inherit name url;
18     hash = "sha256-UVUn4onXfJgFoAdApLAbliiBgM9rxDdIo53WjFryoBI=";
19     stripLen = 1;
20     extraPrefix = "deps/npm/node_modules/node-gyp/gyp/";
21   })