diff --git a/pkgs/by-name/st/stats/package.nix b/pkgs/by-name/st/stats/package.nix index 0da129d80fcb..4df7b9d1ab34 100644 --- a/pkgs/by-name/st/stats/package.nix +++ b/pkgs/by-name/st/stats/package.nix @@ -333,9 +333,9 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + # Stats is an app bundle with nested frameworks, so sign the bundle to generate + # sealed resources instead of signing only the Mach-O files. postFixup = '' - # Stats is an app bundle with nested frameworks, so sign the bundle to - # generate sealed resources instead of signing only the Mach-O files ${lib.getExe rcodesign} sign "$out/Applications/Stats.app" '';