mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
PR-URL: https://github.com/nodejs/node/pull/65836 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
14 lines
573 B
Nix
14 lines
573 B
Nix
arg:
|
|
let
|
|
repo = "https://github.com/NixOS/nixpkgs";
|
|
rev = "e5ead30d0824debba629dcf0720abeddee57b7d6";
|
|
nixpkgs = import (builtins.fetchTarball {
|
|
url = "${repo}/archive/${rev}.tar.gz";
|
|
sha256 = "0sydiakqjp2qhr8h573bv48ng8928rjpwkx600xmxvsyz8kwczn1";
|
|
}) arg;
|
|
in
|
|
# Unstable channel no longer supports Intel architecture for macOS. We can use the 26.05 channel
|
|
# to keep testing on that platform for a little longer.
|
|
# TODO: remove this when 26.05 is EOL (end of 2026)
|
|
if builtins.currentSystem == "x86_64-darwin" then (import ./pkgs-26.05.nix arg) else nixpkgs
|