libseccomp: Fix RPATH
Ensure that bin/scmp_sys_resolver doesn't have $TMPDIR in its RPATH. I can't reproduce the issue reported in 98edb2436861e18ef73076c5a894a6a90e7db71c that required the addition of a wrapper script. It seems to work fine without.
This commit is contained in:
parent
77fba4a112
commit
d46e78ed0f
@ -15,9 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
# Hack to ensure that patchelf --shrink-rpath get rids of a $TMPDIR reference.
|
||||||
wrapProgram $out/bin/scmp_sys_resolver --prefix LD_LIBRARY_PATH ":" $out/lib
|
preFixup = "rm -rfv src";
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "High level library for the Linux Kernel seccomp filter";
|
description = "High level library for the Linux Kernel seccomp filter";
|
||||||
@ -27,4 +26,3 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ thoughtpolice wkennington ];
|
maintainers = with maintainers; [ thoughtpolice wkennington ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user