diff options
Diffstat (limited to 'pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix')
-rw-r--r-- | pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix b/pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix new file mode 100644 index 0000000000000..da78404e2a58f --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/pkgs/libsysdecode.nix @@ -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"; +} |