pixelfed: switch to buildComposerProject2

This commit is contained in:
Piotr Kwiecinski
2025-02-07 15:50:17 +01:00
parent 65cb8da1ef
commit ed17d529a8
+3 -2
View File
@@ -7,7 +7,7 @@
, runtimeDir ? "/run/pixelfed"
}:
php.buildComposerProject (finalAttrs: {
php.buildComposerProject2 (finalAttrs: {
pname = "pixelfed";
version = "0.12.4";
@@ -18,9 +18,10 @@ php.buildComposerProject (finalAttrs: {
hash = "sha256-HEo0BOC/AEWhCApibxo2TBQF4kbLrbPEXqDygVQlVic=";
};
vendorHash = "sha256-QkkSnQb9haH8SiXyLSS58VXSD4op7Hr4Z6vUAAYLIic=";
vendorHash = "sha256-aMKuuBTavNTIfYkuAn2vBFeh5xJd3BY8C+IVfglnS+g=";
postInstall = ''
chmod -R u+w $out/share
mv "$out/share/php/${finalAttrs.pname}"/* $out
rm -R $out/bootstrap/cache
# Move static contents for the NixOS module to pick it up, if needed.