Merge pull request #102300 from arcnmx/prosody-migrator
This commit is contained in:
commit
553301324c
@ -59,6 +59,10 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-lua=${lua5}"
|
"--with-lua=${lua5}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
make -C tools/migration
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
${concatMapStringsSep "\n" (module: ''
|
${concatMapStringsSep "\n" (module: ''
|
||||||
cp -r $communityModules/mod_${module} $out/lib/prosody/modules/
|
cp -r $communityModules/mod_${module} $out/lib/prosody/modules/
|
||||||
@ -70,6 +74,11 @@ stdenv.mkDerivation rec {
|
|||||||
--add-flags '--config "/etc/prosody/prosody.cfg.lua"' \
|
--add-flags '--config "/etc/prosody/prosody.cfg.lua"' \
|
||||||
--prefix LUA_PATH ';' "$LUA_PATH" \
|
--prefix LUA_PATH ';' "$LUA_PATH" \
|
||||||
--prefix LUA_CPATH ';' "$LUA_CPATH"
|
--prefix LUA_CPATH ';' "$LUA_CPATH"
|
||||||
|
|
||||||
|
make -C tools/migration install
|
||||||
|
wrapProgram $out/bin/prosody-migrator \
|
||||||
|
--prefix LUA_PATH ';' "$LUA_PATH" \
|
||||||
|
--prefix LUA_CPATH ';' "$LUA_CPATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user