Skip to content

Commit

Permalink
trilium-next-desktop: fix Darwin build
Browse files Browse the repository at this point in the history
(cherry picked from commit e6cf3e6)
  • Loading branch information
FliegendeWurst committed Jan 16, 2025
1 parent 1336ee5 commit 5ceb97e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/by-name/tr/trilium-next-desktop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,16 @@ let
darwin = stdenv.mkDerivation {
inherit pname version meta;

src = fetchzip darwinSource;
src = fetchurl darwinSource;

nativeBuildInputs = [
unzip
];

installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r *.app $out/Applications
mkdir -p "$out/Applications/TriliumNext Notes.app"
cp -r * "$out/Applications/TriliumNext Notes.app/"
runHook postInstall
'';
};
Expand Down

0 comments on commit 5ceb97e

Please sign in to comment.