From b5d22b3c2a96ef72892868a7f6d5e6fd070ed18f Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 27 Dec 2024 14:01:33 +0400 Subject: [PATCH] =?UTF-8?q?devcontainer:=200.71.0=20=E2=86=92=200.72.0,=20?= =?UTF-8?q?fix=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/by-name/de/devcontainer/package.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/de/devcontainer/package.nix b/pkgs/by-name/de/devcontainer/package.nix index c21b758b9af92..d852ff4e50c8e 100644 --- a/pkgs/by-name/de/devcontainer/package.nix +++ b/pkgs/by-name/de/devcontainer/package.nix @@ -4,7 +4,7 @@ fetchYarnDeps, fetchFromGitHub, fixup-yarn-lock, - nodejs, + nodejs_20, python3, makeBinaryWrapper, git, @@ -12,15 +12,19 @@ yarn, docker-compose, }: + +let + nodejs = nodejs_20; # does not build with 22 +in stdenv.mkDerivation (finalAttrs: { pname = "devcontainer"; - version = "0.71.0"; + version = "0.72.0"; src = fetchFromGitHub { owner = "devcontainers"; repo = "cli"; - rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-plIDK5nOvLKFlRVlPHgpjHPhIh0NAWHmbaKsnYCU/7k="; + tag = "v${finalAttrs.version}"; + hash = "sha256-3rSWD6uxwcMQdHBSmmAQ0aevqevVXINigCj06jjEcRc="; }; yarnOfflineCache = fetchYarnDeps {