From ed17d529a8bfb7ee642b09fc032e76de5628586c Mon Sep 17 00:00:00 2001 From: Piotr Kwiecinski <2151333+piotrkwiecinski@users.noreply.github.com> Date: Fri, 7 Feb 2025 15:50:17 +0100 Subject: [PATCH] pixelfed: switch to buildComposerProject2 --- pkgs/by-name/pi/pixelfed/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pi/pixelfed/package.nix b/pkgs/by-name/pi/pixelfed/package.nix index 5e648c685be7..7e057978954f 100644 --- a/pkgs/by-name/pi/pixelfed/package.nix +++ b/pkgs/by-name/pi/pixelfed/package.nix @@ -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.