mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
remmina: fix Python 3 not available on PATH
(#410017)
This commit is contained in:
commit
2a5cd25f40
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-DHAVE_LIBAPPINDICATOR=OFF"
|
||||
"-DWITH_CUPS=OFF"
|
||||
"-DWITH_ICON_CACHE=OFF"
|
||||
# Don't use system installed Python like on GitHub Actions runners
|
||||
"-DPYTHON_INCLUDE_DIR=${python3}/include/${python3.libPrefix}"
|
||||
"-DPYTHON_LIBRARY=${python3}/lib/libpython${python3.pythonVersion}${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
@ -135,6 +138,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
${lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
|
||||
''}
|
||||
--prefix PATH : "${lib.makeBinPath [ python3 ]}"
|
||||
)
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue