botamusique: substitute version information

Fixes a crash due to a too new packaging package version, that started
rejecting versions that don't follow a reasonable format.
This commit is contained in:
Martin Weinelt 2023-05-29 00:15:53 +02:00
parent 8c1dad56d5
commit eded68eb20
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -60,7 +60,8 @@ stdenv.mkDerivation rec {
# configuration.default.ini, which is in the installation directory
# after all. So we need to counter-patch it here so it can find it absolutely
substituteInPlace mumbleBot.py \
--replace "configuration.default.ini" "$out/share/botamusique/configuration.default.ini"
--replace "configuration.default.ini" "$out/share/botamusique/configuration.default.ini" \
--replace "version = 'git'" "version = '${version}'"
'';
NODE_OPTIONS = "--openssl-legacy-provider";