mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
electron: add libsecret to RPATH
This commit is contained in:
parent
945d8147f7
commit
6a0cf40cf4
@ -1,5 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, dpkg, makeWrapper, electron, libsecret
|
||||
, desktop-file-utils , callPackage }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, dpkg
|
||||
, makeWrapper
|
||||
, electron
|
||||
, desktop-file-utils
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
@ -33,8 +40,7 @@ stdenv.mkDerivation rec {
|
||||
cp -R opt/Standard\ Notes/resources/app.asar $out/share/standardnotes/
|
||||
|
||||
makeWrapper ${electron}/bin/electron $out/bin/standardnotes \
|
||||
--add-flags $out/share/standardnotes/app.asar \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret stdenv.cc.cc.lib ]}
|
||||
--add-flags $out/share/standardnotes/app.asar
|
||||
|
||||
${desktop-file-utils}/bin/desktop-file-install --dir $out/share/applications \
|
||||
--set-key Exec --set-value standardnotes usr/share/applications/standard-notes.desktop
|
||||
|
@ -14,6 +14,7 @@
|
||||
, pkgs
|
||||
, pkgsBuildHost
|
||||
, pipewire
|
||||
, libsecret
|
||||
, info
|
||||
}:
|
||||
|
||||
@ -196,6 +197,7 @@ in (chromium.override { upstream-info = info.chromium; }).mkDerivation (base: {
|
||||
libnotify
|
||||
pipewire
|
||||
stdenv.cc.cc.lib
|
||||
libsecret
|
||||
];
|
||||
in
|
||||
base.postFixup + ''
|
||||
|
Loading…
Reference in New Issue
Block a user