trilium: fix missing GSettings schemas
This commit is contained in:
parent
0fb3c51be3
commit
d27e1c58e3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem }:
|
{ stdenv, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
description = "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases.";
|
description = "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases.";
|
||||||
@ -32,9 +32,10 @@ in stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = atomEnv.packages;
|
buildInputs = [ atomEnv.packages gtk3 ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
@ -48,10 +49,9 @@ in stdenv.mkDerivation rec {
|
|||||||
cp ${desktopItem}/share/applications/* $out/share/applications
|
cp ${desktopItem}/share/applications/* $out/share/applications
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# LD_LIBRARY_PATH "shouldn't" be needed, remove when possible :)
|
||||||
# This "shouldn't" be needed, remove when possible :)
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/trilium --prefix LD_LIBRARY_PATH : "${atomEnv.libPath}"
|
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : ${atomEnv.libPath})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user