Merge pull request #228545 from SuperSandro2000/nodejs-patch
nodePackages.node2nix: add wrongly removed patch back
This commit is contained in:
commit
766302de21
1 changed files with 6 additions and 0 deletions
|
@ -347,6 +347,12 @@ final: prev: {
|
||||||
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
|
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
|
||||||
postInstall = let
|
postInstall = let
|
||||||
patches = [
|
patches = [
|
||||||
|
# Needed to fix packages with DOS line-endings after above patch - PR svanderburg/node2nix#314
|
||||||
|
(fetchpatch {
|
||||||
|
name = "convert-crlf-for-script-bin-files.patch";
|
||||||
|
url = "https://github.com/svanderburg/node2nix/commit/91aa511fe7107938b0409a02ab8c457a6de2d8ca.patch";
|
||||||
|
hash = "sha256-ISiKYkur/o8enKDzJ8mQndkkSC4yrTNlheqyH+LiXlU=";
|
||||||
|
})
|
||||||
# fix nodejs attr names
|
# fix nodejs attr names
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/svanderburg/node2nix/commit/3b63e735458947ef39aca247923f8775633363e5.patch";
|
url = "https://github.com/svanderburg/node2nix/commit/3b63e735458947ef39aca247923f8775633363e5.patch";
|
||||||
|
|
Loading…
Reference in a new issue