From 9c19f0579623557b73b5d5576aa03f76f9bab636 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 13 Nov 2024 16:04:50 +0000 Subject: [PATCH] edencommon: use `finalAttrs` (cherry picked from commit a82596414267f3cba069337b2c8597b1547a53cd) (cherry picked from commit ec2762739e4c2c6a2e0a847c47e67d1998cf10b5) --- pkgs/by-name/ed/edencommon/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ed/edencommon/package.nix b/pkgs/by-name/ed/edencommon/package.nix index d9f659e24191..3cb4ff8d75b7 100644 --- a/pkgs/by-name/ed/edencommon/package.nix +++ b/pkgs/by-name/ed/edencommon/package.nix @@ -10,14 +10,14 @@ darwinMinVersionHook, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "edencommon"; version = "2024.03.11.00"; src = fetchFromGitHub { owner = "facebookexperimental"; repo = "edencommon"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-1z4QicS98juv4bUEbHBkCjVJHEhnoJyLYp4zMHmDbMg="; }; @@ -46,4 +46,4 @@ stdenv.mkDerivation rec { platforms = platforms.unix; maintainers = with maintainers; [ kylesferrazza ]; }; -} +})