chatterino: fix audio for linux (#440048)
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
libnotify,
|
||||
libavif,
|
||||
kdePackages,
|
||||
autoPatchelfHook,
|
||||
libpulseaudio,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -17,7 +19,8 @@ stdenv.mkDerivation {
|
||||
cmake
|
||||
pkg-config
|
||||
kdePackages.wrapQtAppsHook
|
||||
];
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
||||
|
||||
buildInputs =
|
||||
(with kdePackages; [
|
||||
@@ -38,6 +41,8 @@ stdenv.mkDerivation {
|
||||
]
|
||||
++ lib.optional enableAvifSupport libavif;
|
||||
|
||||
runtimeDependencies = lib.optionals stdenv.hostPlatform.isLinux [ libpulseaudio ];
|
||||
|
||||
preConfigure = ''
|
||||
if [[ -f "$src/GIT_HASH" ]]; then
|
||||
export GIT_HASH="$(cat $src/GIT_HASH)"
|
||||
|
||||
Reference in New Issue
Block a user