mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00: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