Nix: Add NetBSD/FreeBSD Support

Created on 19 Dec 2019  路  6Comments  路  Source: NixOS/nix

Howdy! I'd like to request nix support for NetBSD and/or FreeBSD. There's a wip port but it fails to compile on NetBSD

Most helpful comment

OpenBSD support would also be awesome and they're pretty similar to each other.

All 6 comments

Do you know if Rust compiles on NetBSD already? It's a dependency of the latest Nix.

We have a port in wip already going but the build fails:

  LD     src/libutil/libnixutil.so
/usr/pkg/lib: file not recognized: file format not recognized
gmake: *** [mk/lib.mk:104: src/libutil/libnixutil.so] Error 1
gmake: *** Waiting for unfinished jobs....

OpenBSD support would also be awesome and they're pretty similar to each other.

There are probably a lot of linux-only assumptions in the code base that need to be fixed. Hopefully another BSD developer will step in.

Was this page helpful?
0 / 5 - 0 ratings