Merge pull request #234699 from mweinelt/botamusique-version-fix

botamusique: substitute version information
This commit is contained in:
Janne Heß 2023-05-29 11:47:08 +02:00 committed by GitHub
commit b37538b1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";