decent-sampler: use autoPatchelfHook

Allows the plugin to be loaded in hosts that don't provide alsa and
expat in their RPATH
This commit is contained in:
bandithedoge
2026-05-24 00:35:19 +02:00
parent 4bf4fa53e7
commit 068be89676
+10 -3
View File
@@ -4,6 +4,7 @@
fetchzip,
fetchurl,
makeDesktopItem,
autoPatchelfHook,
copyDesktopItems,
buildFHSEnv,
alsa-lib,
@@ -32,7 +33,15 @@ let
hash = "sha256-wL9L4I2iw9r3r69TOr37XXEs3iECMuNGX9Ez63P/f8w=";
};
nativeBuildInputs = [ copyDesktopItems ];
nativeBuildInputs = [
autoPatchelfHook
copyDesktopItems
];
buildInputs = [
alsa-lib
expat
];
desktopItems = [
(makeDesktopItem {
@@ -67,13 +76,11 @@ buildFHSEnv {
inherit (decent-sampler) pname version;
targetPkgs = pkgs: [
alsa-lib
alsa-plugins
decent-sampler
freetype
nghttp2
libx11
expat
];
runScript = "decent-sampler";