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:
parent
8c1dad56d5
commit
eded68eb20
|
@ -60,7 +60,8 @@ stdenv.mkDerivation rec {
|
||||||
# configuration.default.ini, which is in the installation directory
|
# 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
|
# after all. So we need to counter-patch it here so it can find it absolutely
|
||||||
substituteInPlace mumbleBot.py \
|
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";
|
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||||
|
|
Loading…
Reference in a new issue