lirc: remove no-op python version substitution

This commit is contained in:
Doron Behar
2026-02-23 12:45:57 +02:00
parent d5d2a66c9c
commit 857112847d
-4
View File
@@ -65,10 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
# Pull fix for new pyyaml pending upstream inclusion
# https://sourceforge.net/p/lirc/git/merge-requests/39/
substituteInPlace python-pkg/lirc/database.py --replace 'yaml.load(' 'yaml.safe_load('
# cant import '/build/lirc-0.10.1/python-pkg/lirc/_client.so' while cross-compiling to check the version
substituteInPlace python-pkg/setup.py \
--replace "VERSION='0.0.0'" "VERSION='${finalAttrs.version}'"
'';
preConfigure = ''