-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NetBSD/FreeBSD Support #3280
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:
|
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. |
@l4nn1312, you might be interested in NixOS/nixpkgs#81459 and https://github.com/0mp/freebsd-ports-nix as well. |
I marked this as stale due to inactivity. → More info |
On going discussion https://discourse.nixos.org/t/nix-landed-in-freebsd-ports/9140 |
I marked this as stale due to inactivity. → More info |
Still working on Nixpkgs freebasd cross support which should make this easier to test. |
Is this still an issue? I was using Nix on a FreeBSD VPS about a month ago. I was just installing packages and didn't try anything fancy but it worked. Also, I installed it from the official ports repo, so it looks like it is officially support. Is there some subset of features that don't work or something, or should this be closed? |
@alyssais might know the actual state. I would see even if downstream has official ports, we should cross compile Nix to any platform we want to support at a minimum. Otherwise it will be in a state of frequent regressions. For that alone, I would keep this issue open. |
Ya that was my understanding about why this remains open. This cross compiling work can be found here and is in PR review: NixOS/nixpkgs#82131 but wanted to mention it here for anyone else who was curious. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/what-is-sandboxing-and-what-does-it-entail/15533/1 |
I marked this as stale due to inactivity. → More info |
Still important. |
Would be cool |
I...thought I was on the Nixpkgs issue tracker. Anyways, my hope is to, once #8569 is merged, add cross jobs for both platforms. They are very close to building today despite the lack of CI! |
FWIW, sysutils/nix port on FreeBSD is now marked as unmaintained and broken. |
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
The text was updated successfully, but these errors were encountered: