ITADN

Ability to run nixpkgs on FreeBSD host

#38Openitzwam 创建于 2025-01-03
I
itzwamcommented
When I dont force the MAKEOBJDIRPREFIX var to / I can't build most of the system libraries when running on a FreeBSD host (w/ Lix compiled from srcs) most of the lib files are built in a place where linker cannot find it, https://github.com/lattera/freebsd/blob/master/share/mk/bsd.obj.mk#L56-L63 by exporting MAKEOBJDIRPREFIX=/ compilations will now produce all obj outputs in source directory, linker then finds them well :+1: With this issue fixed I'm able to launch most basic nix-shells in a FreeBSD host using nixbsd pkgs fork :partying_face:
2 条评论