Skip to content

Commit

Permalink
Merge pull request #55449 from emmanuelrosa/trilium-gsettings
Browse files Browse the repository at this point in the history
trilium: fix missing GSettings schemas
  • Loading branch information
Mic92 authored Feb 9, 2019
2 parents aefd5cf + d27e1c5 commit 5211cb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/applications/office/trilium/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem }:
{ stdenv, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook }:

let
description = "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases.";
Expand Down Expand Up @@ -32,9 +32,10 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
autoPatchelfHook
makeWrapper
wrapGAppsHook
];

buildInputs = atomEnv.packages;
buildInputs = [ atomEnv.packages gtk3 ];

installPhase = ''
mkdir -p $out/bin
Expand All @@ -48,10 +49,9 @@ in stdenv.mkDerivation rec {
cp ${desktopItem}/share/applications/* $out/share/applications
'';


# This "shouldn't" be needed, remove when possible :)
# LD_LIBRARY_PATH "shouldn't" be needed, remove when possible :)
preFixup = ''
wrapProgram $out/bin/trilium --prefix LD_LIBRARY_PATH : "${atomEnv.libPath}"
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : ${atomEnv.libPath})
'';

dontStrip = true;
Expand Down

0 comments on commit 5211cb0

Please sign in to comment.