opensc: remove obsolete DESTDIR patch
This patch was actively causing harm, because it lead to a "double prefix" issue where the etc files were installed into $out/$out/etc instead of just $out/etc.
This commit is contained in:
parent
2dfd8d952e
commit
c0bfcdf3a6
@ -14,10 +14,6 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "16y3ryx606nry2li05hm88bllrragdj3sfl3yh7pf71777n4lsk4";
|
sha256 = "16y3ryx606nry2li05hm88bllrragdj3sfl3yh7pf71777n4lsk4";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i 's,$(DESTDIR),$(out),g' etc/Makefile.am
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoreconfHook pkgconfig zlib readline openssl pcsclite libassuan
|
autoreconfHook pkgconfig zlib readline openssl pcsclite libassuan
|
||||||
libXt libxslt libiconv docbook_xml_dtd_412
|
libXt libxslt libiconv docbook_xml_dtd_412
|
||||||
@ -38,9 +34,11 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"sysconfdir=\${out}/etc"
|
"sysconfdir=$(out)/etc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Set of libraries and utilities to access smart cards";
|
description = "Set of libraries and utilities to access smart cards";
|
||||||
homepage = https://github.com/OpenSC/OpenSC/wiki;
|
homepage = https://github.com/OpenSC/OpenSC/wiki;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user