Page MenuHomePhabricator

D4542.id14504.diff
No OneTemporary

D4542.id14504.diff

diff --git a/nix/overlay.nix b/nix/overlay.nix
--- a/nix/overlay.nix
+++ b/nix/overlay.nix
@@ -36,4 +36,21 @@
''${!outputDev}/include/olm
'';
});
+
+ # 16.15 now requires explicit awaits on all imports, pin to 16.13
+ # https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md
+ nodejs-16_x = prev.nodejs-16_x.overrideAttrs( oldAttrs: rec {
+ version = "16.13.0";
+ name = "nodejs-${version}";
+
+ src = prev.fetchurl {
+ url = "https://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
+ sha256 = "sha256-MhFLPcOUXtD5X4vDO0LGjg7xjECMtWEiVyoWPZB+y8w=";
+ };
+ });
+
+ # Ensure that yarn is using the pinned version
+ yarn = prev.yarn.override(_: {
+ nodejs = final.nodejs-16_x
+ });
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 4:17 AM (21 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2599535
Default Alt Text
D4542.id14504.diff (756 B)

Event Timeline