freebsd.libsysdecode: init

This commit is contained in:
Audrey Dutcher 2024-06-06 22:55:47 -07:00
parent 7627bc4be2
commit 901f8319fc

View File

@ -0,0 +1,14 @@
{ mkDerivation, stdenv }:
mkDerivation {
path = "lib/libsysdecode";
extraPaths = [
"sys"
"libexec/rtld-elf"
];
preBuild = ''
sed -E -i -e "s|..INCLUDEDIR.|${stdenv.cc.libc}/include|g" $BSDSRCDIR/lib/libsysdecode/Makefile
'';
MK_TESTS = "no";
}