File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
pkgs/by-name/pr/previewqt Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,12 @@ stdenv.mkDerivation (finalAttrs: {
5757
5858 strictDeps = true ;
5959
60+ postInstall = lib . optionalString stdenv . hostPlatform . isDarwin ''
61+ mkdir -p $out/Applications
62+ mv $out/bin/previewqt.app $out/Applications
63+ makeWrapper $out/{Applications/previewqt.app/Contents/MacOS,bin}/previewqt
64+ '' ;
65+
6066 meta = {
6167 homepage = "https://previewqt.org/" ;
6268 description = "Qt-based file previewer" ;
@@ -92,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
9298 changelog = "https://gitlab.com/lspies/previewqt/-/blob/v${ finalAttrs . version } /CHANGELOG" ;
9399 license = lib . licenses . gpl2Plus ;
94100 mainProgram = "previewqt" ;
95- maintainers = with lib . maintainers ; [ ] ;
96- platforms = lib . platforms . linux ;
101+ maintainers = with lib . maintainers ; [ wegank ] ;
102+ platforms = lib . platforms . unix ;
97103 } ;
98104} )
You can’t perform that action at this time.
0 commit comments