Skip to content

Commit 4ce5113

Browse files
Emery Hemingwaynotehmry
authored andcommitted
butt: explicitly add fdk-aac to rpath
Fix NixOS#373411
1 parent d00127c commit 4ce5113

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pkgs/by-name/bu/butt/package.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
openssl,
1717
curl,
1818
portmidi,
19+
autoPatchelfHook,
1920
}:
2021

2122
stdenv.mkDerivation (finalAttrs: {
@@ -36,7 +37,10 @@ stdenv.mkDerivation (finalAttrs: {
3637
--replace-fail 'live365_logo, 124, 61, 4,' 'nullptr, 0, 0, 0,'
3738
'';
3839

39-
nativeBuildInputs = [ pkg-config ];
40+
nativeBuildInputs = [
41+
autoPatchelfHook
42+
pkg-config
43+
];
4044

4145
buildInputs = [
4246
fltk13
@@ -54,6 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
5458
portmidi
5559
];
5660

61+
runtimeDependencies = [
62+
fdk_aac
63+
];
64+
5765
postInstall = ''
5866
cp -r usr/share $out/
5967
'';

0 commit comments

Comments
 (0)