From 7b859bd9647150474c5a1f01f366096675279912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Sat, 10 Jun 2023 01:05:16 +0200 Subject: [PATCH] wavm: use finalAttrs pattern --- pkgs/development/interpreters/wavm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/wavm/default.nix b/pkgs/development/interpreters/wavm/default.nix index 6e73fbdf8282..a9ed260a0fd0 100644 --- a/pkgs/development/interpreters/wavm/default.nix +++ b/pkgs/development/interpreters/wavm/default.nix @@ -4,14 +4,14 @@ , cmake }: -llvmPackages.stdenv.mkDerivation rec { +llvmPackages.stdenv.mkDerivation (finalAttrs: { pname = "wavm"; version = "2022-05-14"; src = fetchFromGitHub { owner = "WAVM"; repo = "WAVM"; - rev = "nightly/${version}"; + rev = "nightly/${finalAttrs.version}"; hash = "sha256-SHz+oOOkwvVZucJYFSyZc3MnOAy1VatspmZmOAXYAWA="; }; @@ -23,4 +23,4 @@ llvmPackages.stdenv.mkDerivation rec { license = licenses.bsd3; maintainers = with maintainers; [ ereslibre ]; }; -} +})