Skip to content

Ability to run nixpkgs on FreeBSD host #38

Open
@itzwam

Description

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 👍

With this issue fixed I'm able to launch most basic nix-shells in a FreeBSD host using nixbsd pkgs fork 🥳

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions