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
No known key found for this signature in database
GPG Key ID: 589BB0A8DAFEF2B2
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',

View File

@ -23,7 +23,7 @@ let
};
hplipState = substituteAll {
inherit version;
version_ = version;
src = ./hplip.state;
};

View File

@ -25,7 +25,7 @@ let
};
hplipState = substituteAll {
inherit version;
version_ = version;
src = ./hplip.state;
};

View File

@ -1,4 +1,4 @@
[plugin]
installed=1
eula=1
version=@version@
version=@version_@