Commit fbb732ae authored by Rafael Fernández López's avatar Rafael Fernández López Committed by Matthieu Coudron
Browse files

wamr: use finalAttrs pattern

parent 2827e472
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4,14 +4,14 @@
, cmake
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "wamr";
  version = "1.2.2";

  src = fetchFromGitHub {
    owner = "bytecodealliance";
    repo = "wasm-micro-runtime";
    rev = "WAMR-${version}";
    rev = "WAMR-${finalAttrs.version}";
    hash = "sha256-jpT42up9HAVJpo03cFrffQQk2JiHEAEepBGlU4RUfNU=";
  };

@@ -28,4 +28,4 @@ stdenv.mkDerivation rec {
    # more platforms.
    broken = !stdenv.isLinux;
  };
}
})