freebsd.libelf: init

This commit is contained in:
Audrey Dutcher 2024-05-27 12:32:41 -07:00
parent d78f853f7e
commit 95fa436fbe

View File

@ -0,0 +1,29 @@
{
mkDerivation,
lib,
bsdSetupHook,
freebsdSetupHook,
makeMinimal,
install,
m4,
}:
mkDerivation {
path = "lib/libelf";
extraPaths = [
"lib/libc"
"contrib/elftoolchain"
"sys/sys/elf32.h"
"sys/sys/elf64.h"
"sys/sys/elf_common.h"
];
buildInputs = [ ];
nativeBuildInputs = [
bsdSetupHook
freebsdSetupHook
makeMinimal
install
m4
];
meta.platforms = lib.platforms.freebsd;
}