mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
raysession: provide libjack2 at runtime
This commit is contained in:
parent
7d8b242702
commit
0af37850d7
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchurl, buildPythonApplication, pydbus, pyliblo, pyqt5, qttools, which }:
|
||||
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, qttools, which }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "raysession";
|
||||
|
@ -23,13 +23,17 @@ buildPythonApplication rec {
|
|||
qttools # lrelease to build translations.
|
||||
which # which to find lrelease.
|
||||
];
|
||||
|
||||
buildInputs = [ libjack2 ];
|
||||
propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
|
||||
|
||||
dontWrapQtApps = true; # The program is a python script.
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "LD_LIBRARY_PATH" ":" (lib.makeLibraryPath [ libjack2 ])
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue