mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
prosody: work around makeWrapper bug
This seems to have been caused by #128503, because the values to be prefixed contain special/wildcard characters.
This commit is contained in:
parent
0c1cf5c7b4
commit
16d0b4a69f
1 changed files with 6 additions and 6 deletions
|
@ -72,17 +72,17 @@ stdenv.mkDerivation rec {
|
|||
cp -r $communityModules/mod_${module} $out/lib/prosody/modules/
|
||||
'') (lib.lists.unique(nixosModuleDeps ++ withCommunityModules ++ withOnlyInstalledCommunityModules))}
|
||||
wrapProgram $out/bin/prosody \
|
||||
--prefix LUA_PATH ';' "$luaEnvPath" \
|
||||
--prefix LUA_CPATH ';' "$luaEnvCPath"
|
||||
--set LUA_PATH "$luaEnvPath" \
|
||||
--set LUA_CPATH "$luaEnvCPath"
|
||||
wrapProgram $out/bin/prosodyctl \
|
||||
--add-flags '--config "/etc/prosody/prosody.cfg.lua"' \
|
||||
--prefix LUA_PATH ';' "$luaEnvPath" \
|
||||
--prefix LUA_CPATH ';' "$luaEnvCPath"
|
||||
--set LUA_PATH "$luaEnvPath" \
|
||||
--set LUA_CPATH "$luaEnvCPath"
|
||||
|
||||
make -C tools/migration install
|
||||
wrapProgram $out/bin/prosody-migrator \
|
||||
--prefix LUA_PATH ';' "$luaEnvPath" \
|
||||
--prefix LUA_CPATH ';' "$luaEnvCPath"
|
||||
--set LUA_PATH "$luaEnvPath" \
|
||||
--set LUA_CPATH "$luaEnvCPath"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
|
Loading…
Reference in a new issue