treewide: for substituteAll: s/version/version_/

This is because it gets passed to mkDerivation through some route, this ensures
that doesn't mess with anything
This commit is contained in:
Patrick Hilhorst
2018-11-05 00:26:05 +01:00
parent d2e6608aa5
commit 1e99582eaf
5 changed files with 7 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
patches = [
(substituteAll {
src = ./setup.patch;
version = "3${stdenv.lib.versions.minor python.version}";
version_ = "3${stdenv.lib.versions.minor python.version}";
})
];

View File

@@ -3,9 +3,9 @@
@@ -39,7 +39,7 @@
if '3' in l[2:]:
return l.replace('libboost', 'boost')
-libboost = get_libboost_name()
+libboost = 'boost_python@version@'
+libboost = 'boost_python@version_@'
setup(
name='py3exiv2',