freebsd.libelf: init
This commit is contained in:
parent
d78f853f7e
commit
95fa436fbe
29
pkgs/os-specific/bsd/freebsd/pkgs/libelf.nix
Normal file
29
pkgs/os-specific/bsd/freebsd/pkgs/libelf.nix
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user