Commit d986e930 authored by Marc Jakobi's avatar Marc Jakobi
Browse files

sol2: use finalAttrs to reference version

parent c701eeb3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4,13 +4,13 @@
, cmake
, lua
}:
stdenv.mkDerivation rec{
stdenv.mkDerivation (finalAttrs: {
  pname = "sol2";
  version = "3.3.1";
  src = fetchFromGitHub {
    owner = "ThePhD";
    repo = "sol2";
    rev = "v${version}";
    rev = "v${finalAttrs.version}";
    hash = "sha256-7QHZRudxq3hdsfEAYKKJydc4rv6lyN6UIt/2Zmaejx8=";
  };

@@ -33,4 +33,4 @@ stdenv.mkDerivation rec{
    license = licenses.mit;
    maintainers = with maintainers; [ mrcjkb ];
  };
}
})