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:
parent
d2e6608aa5
commit
1e99582eaf
5 changed files with 7 additions and 7 deletions
|
@ -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}";
|
||||
})
|
||||
];
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -23,7 +23,7 @@ let
|
|||
};
|
||||
|
||||
hplipState = substituteAll {
|
||||
inherit version;
|
||||
version_ = version;
|
||||
src = ./hplip.state;
|
||||
};
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ let
|
|||
};
|
||||
|
||||
hplipState = substituteAll {
|
||||
inherit version;
|
||||
version_ = version;
|
||||
src = ./hplip.state;
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[plugin]
|
||||
installed=1
|
||||
eula=1
|
||||
version=@version@
|
||||
version=@version_@
|
||||
|
|
Loading…
Reference in a new issue