diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-05-29 00:15:53 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-05-29 00:15:53 +0200 |
commit | eded68eb202280ee0f22efcaf6a7080bce9f2050 (patch) | |
tree | 60207fb77a13dd1db365954a1796e398735f4e84 | |
parent | 8c1dad56d52d849846be73a3a2c97a43d0b39c60 (diff) |
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.
-rw-r--r-- | pkgs/tools/audio/botamusique/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/audio/botamusique/default.nix b/pkgs/tools/audio/botamusique/default.nix index bc33de1804b29..2288066b82296 100644 --- a/pkgs/tools/audio/botamusique/default.nix +++ b/pkgs/tools/audio/botamusique/default.nix @@ -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"; |