at master 844 B view raw
1{ fetchpatch }: 2 3[ 4 # Makes `npm pack` obey `--foreground-scripts` 5 (fetchpatch { 6 name = "libnpmpack-obey-foreground-scripts.patch"; 7 url = "https://github.com/npm/cli/commit/e4e8ae20aef9e27e57282e87e8757d5b364abb39.patch"; 8 hash = "sha256-NQ8CZBfRqAOMe0Ysg3cq1FiferWKTzXC1QXgzX+f8OU="; 9 stripLen = 2; 10 extraPrefix = "deps/npm/node_modules/"; 11 includes = [ "deps/npm/node_modules/libnpmpack/lib/index.js" ]; 12 }) 13 14 # Makes `npm pack` obey `--ignore-scripts` 15 (fetchpatch { 16 name = "libnpmpack-obey-ignore-scripts.patch"; 17 url = "https://github.com/npm/cli/commit/a990c3c9a0e67f0a8b6454213675e159fe49432d.patch"; 18 hash = "sha256-eA5YST9RxMMjk5FCwEbl1HQUpXZuwWZkx5WC4yJium8="; 19 stripLen = 2; 20 extraPrefix = "deps/npm/node_modules/"; 21 includes = [ "deps/npm/node_modules/libnpmpack/lib/index.js" ]; 22 }) 23]