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
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./setup.patch;
|
src = ./setup.patch;
|
||||||
version = "3${stdenv.lib.versions.minor python.version}";
|
version_ = "3${stdenv.lib.versions.minor python.version}";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
return l.replace('libboost', 'boost')
|
return l.replace('libboost', 'boost')
|
||||||
|
|
||||||
-libboost = get_libboost_name()
|
-libboost = get_libboost_name()
|
||||||
+libboost = 'boost_python@version@'
|
+libboost = 'boost_python@version_@'
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='py3exiv2',
|
name='py3exiv2',
|
||||||
|
@ -23,7 +23,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
hplipState = substituteAll {
|
hplipState = substituteAll {
|
||||||
inherit version;
|
version_ = version;
|
||||||
src = ./hplip.state;
|
src = ./hplip.state;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
hplipState = substituteAll {
|
hplipState = substituteAll {
|
||||||
inherit version;
|
version_ = version;
|
||||||
src = ./hplip.state;
|
src = ./hplip.state;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
installed=1
|
installed=1
|
||||||
eula=1
|
eula=1
|
||||||
version=@version@
|
version=@version_@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user