lol

gtkd: use finalAttrs

+4 -4
+4 -4
pkgs/by-name/gt/gtkd/package.nix
··· 23 23 let 24 24 inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-bad; 25 25 in 26 - stdenv.mkDerivation rec { 26 + stdenv.mkDerivation (finalAttrs: { 27 27 pname = "gtkd"; 28 28 version = "3.11.0"; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = "gtkd-developers"; 32 32 repo = "GtkD"; 33 - tag = "v${version}"; 33 + tag = "v${finalAttrs.version}"; 34 34 hash = "sha256-UpPoskHtnI4nUOKdLorK89grgUUPrCvO4zrAl9LfjHA="; 35 35 }; 36 36 ··· 150 150 makeFlags = [ 151 151 "prefix=${placeholder "out"}" 152 152 "PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config" 153 - "GTKD_VERSION=${version}" 153 + "GTKD_VERSION=${finalAttrs.version}" 154 154 ]; 155 155 156 156 # The .pc files does not declare an `includedir=`, so the multiple ··· 172 172 license = lib.licenses.lgpl3Plus; 173 173 platforms = with lib.platforms; linux ++ darwin; 174 174 }; 175 - } 175 + })