cm_unicode: move to finalAttrs

This commit is contained in:
Sigmanificient
2026-03-03 02:19:15 +01:00
parent b711a6e919
commit 4b013f0851
+4 -4
View File
@@ -5,12 +5,12 @@
installFonts,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "cm-unicode";
version = "0.7.0";
src = fetchurl {
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${pname}-${version}-otf.tar.xz";
url = "mirror://sourceforge/cm-unicode/cm-unicode/${finalAttrs.version}/cm-unicode-${finalAttrs.version}-otf.tar.xz";
hash = "sha256-VIp+vk1IYbEHW15wMrfGVOPqg1zBZDpgFx+jlypOHCg=";
};
@@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation rec {
InstallPhase = ''
runHook preInstall
install -m444 -Dt $out/share/doc/${pname}-${version} README FontLog.txt
install -m444 -Dt $out/share/doc/$cm-unicode-${finalAttrs.version} README FontLog.txt
runHook postInstall
'';
@@ -34,4 +34,4 @@ stdenvNoCC.mkDerivation rec {
license = lib.licenses.ofl;
platforms = lib.platforms.all;
};
}
})