mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 17:07:25 +03:00
prosody: point prosodyctl by default to correct directories
This commit is contained in:
parent
67e269e2c0
commit
636aa8dc98
@ -64,6 +64,12 @@ stdenv.mkDerivation rec {
|
||||
make -C tools/migration
|
||||
'';
|
||||
|
||||
buildFlags = [
|
||||
# don't search for configs in the nix store when running prosodyctl
|
||||
"INSTALLEDCONFIG=/etc/prosody"
|
||||
"INSTALLEDDATA=/var/lib/prosody"
|
||||
];
|
||||
|
||||
# the wrapping should go away once lua hook is fixed
|
||||
postInstall = ''
|
||||
${concatMapStringsSep "\n" (module: ''
|
||||
|
Loading…
Reference in New Issue
Block a user