edencommon: use finalAttrs

(cherry picked from commit a825964142)
(cherry picked from commit ec2762739e)
This commit is contained in:
Emily 2024-11-13 16:04:50 +00:00 committed by Vladimír Čunát
parent 20cd2e5ed0
commit 9c19f05796
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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 ];
};
}
})