mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 04:27:27 +03:00
freebsd.libsysdecode: init
This commit is contained in:
parent
7627bc4be2
commit
901f8319fc
14
pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix
Normal file
14
pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix
Normal 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";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user