nix-alien
nix.dev
nix-alien | nix.dev | |
---|---|---|
4 | 17 | |
417 | 2,065 | |
- | 5.4% | |
8.3 | 9.6 | |
25 days ago | 4 days ago | |
Python | Nix | |
MIT License | Creative Commons Attribution Share Alike 4.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nix-alien
-
Nix-Powered Development with OCaml
copy the extracted files over to the nix output dir, and patch-elf all the binaries to link to the nix-version of the dynamic lib.
This sounds more difficult than it is, the result will be a copied over binary file that has its “libc.so” and other dynamic libs replaced in the ELF-header with “/nix/store/hdjdewuieu737-libc/libc.so”. I recommend looking up a package in nixpkgs which has a similar install story, that’s the easiest way to write a new package.
In case you only want to run it locally https://github.com/thiagokokada/nix-alien and similar programs work fine with the binary.
- NixOS 22.11 “Raccoon” Released
-
Gentoo Users: What are your thoughts on NixOS? Have you used it before? How do you think it compares to Gentoo?
You might be interested in tools like nix-alien which help, though to some extent it's always going to be an annoyance.
-
Arch + NixOS at once?
There's also nix-alien to run random binaries and nixos-fhs-compat to FHS your OS (might need some tweaking).
nix.dev
-
Dependencies Belong in Version Control
Nix (https://nix.dev/) can provide all of this, although in a smarter way than just through dumping everything in the VCS. Some projects use it already to provide a reproducible development environment and if done right a clean build is just a `nix-build` away.
- An Overview of Nix in Practice
-
Virtualizing Development Environments in 2023
Author doesn’t mention it but I wonder if tried or considered Nix/NixOS’s reproducible developer environments and ruled them out for any reason. I couldn’t tell from the article if there’s something unique to his requirements that disqualifies them.
https://nixos.org/explore
https://nix.dev/
-
I'm almost ready to take the plunge, but first ...
if you want something a more in-depth, zero to nix is a great resource for all things nix (they have a section dedicated to flakes here, but i would pay attention to the notice at the top about reading some other things first), along with nix.dev, and of course, the nixos wiki article on flakes
-
Why not native support for pkgs.dockertools for apple silcion
On nix.dev it say I would need to cross compile to make it work, is there some way in which i can build natively on my machine.
-
Cachix 1.3: Nix uploads unleashed
Hey
Cachix founder here. Here are a few links for getting started:
- https://nix.dev Nix tutorials
- https://devenv.sh Fast, Declarative, Reproducible, and Composable Developer Environments
Let me know if you have any questions. Domen
- Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
-
How to learn using NixOS?
Nix pills and nix.dev are my favorites, alongside the official documentation.
-
So I find nix really hard to learn and understand - is there any truly excellent resources out there on learning nix?
https://nix.dev/ is the best in depth resource I know but it's a work in progress.
-
Dev environments in the cloud are a half-baked solution
For folks looking to understand why this is so https://nix.dev and https://devenv.sh/
What are some alternatives?
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
jenv - Manage your Java environment
nixos-fhs-compat - LSB&FHS compatibility for NixOS. Intended for containers and VMs.
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
mach-nix - Create highly reproducible python environments
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
vulnix - Vulnerability (CVE) scanner for Nix/NixOS.
devenv - Pluggable development environments builder that has potential to support any language or framework environment
nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.
nixpkgs-upkeep - Auto-updates and CI 🤖 for Nixpkgs
docker-files
gokrazy - turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!