lol

sol2: use finalAttrs to reference version

+3 -3
+3 -3
pkgs/development/libraries/sol2/default.nix
··· 4 , cmake 5 , lua 6 }: 7 - stdenv.mkDerivation rec{ 8 pname = "sol2"; 9 version = "3.3.1"; 10 src = fetchFromGitHub { 11 owner = "ThePhD"; 12 repo = "sol2"; 13 - rev = "v${version}"; 14 hash = "sha256-7QHZRudxq3hdsfEAYKKJydc4rv6lyN6UIt/2Zmaejx8="; 15 }; 16 ··· 33 license = licenses.mit; 34 maintainers = with maintainers; [ mrcjkb ]; 35 }; 36 - }
··· 4 , cmake 5 , lua 6 }: 7 + stdenv.mkDerivation (finalAttrs: { 8 pname = "sol2"; 9 version = "3.3.1"; 10 src = fetchFromGitHub { 11 owner = "ThePhD"; 12 repo = "sol2"; 13 + rev = "v${finalAttrs.version}"; 14 hash = "sha256-7QHZRudxq3hdsfEAYKKJydc4rv6lyN6UIt/2Zmaejx8="; 15 }; 16 ··· 33 license = licenses.mit; 34 maintainers = with maintainers; [ mrcjkb ]; 35 }; 36 + })