nixops
patchelf
Our great sponsors
nixops | patchelf | |
---|---|---|
10 | 12 | |
1,713 | 3,238 | |
4.7% | 2.9% | |
6.4 | 4.3 | |
14 days ago | 14 days ago | |
Python | C | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 only |
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.
nixops
-
20 Years of Nix
As far as I know, it’s still about [0]. I’ve had a better experience with deploy-rs though [1] - or even just using nixos-rebuild to target the remote machine.
[0] - https://github.com/NixOS/nixops
-
Will we move away from DSLs?
For example Nix can already replace ansible, packer, cloudformation[1], dockerfiles.
-
NixOS History and Our Experience - Nix, Null, Nada, Nothing
Nix can also ship the nixpkgs as an oci image (e.g. docker image), vm image, iso, or if you're able to: as a nixos configuration. Tools like nixops can allow you to deploy many machines and have their behavior exactly specified, and the configuration can be version controlled. NixOS configuration can be thought of as congruent configuration management, where many other tools give you many less guarantees about configuration drift and reproducibility.
-
The best solution for deploying flakes
There are 4 tools I'm taking into consideration right now, but every suggestion is welcome: 1. deploy-rs - I don't know anything about it, heard about it like a day or two ago 2. NixOps - the official one, I don't know what to think, but I have concerns about Flakes compatibility 3. morph - I understand this as "NixOps, but better", no more toughs. 4. colmena - seems to be pretty straightforward with quite nice docs
-
Spectrum OS: a declarative, reproducible, compartmentalized Linux
I'm still relatively new to NixOS, having switched all my personal systems over to it this spring/summer. I don't have a detailed answer to your question, but I believe NixOPs is the canonical way to do what you're describing in production/at scale:
https://github.com/NixOS/nixops
https://nixos.org/nixops/manual/
-
Tool for managing multiple machines of a distributed system?
Nixops is specifically made for purposes like yours.
-
NixOS 21.05 Released!
Well, everyone of course! But especially devops, developers, power-users, and ricer folks. Due to the declarative and purity aspect of nixpkgs, all builds and configurations can be version controlled, cached and shared. NixOS can easily be extended to produce docker images, vm images, or even distributed deployments. You can also write reproducible multi-node integration tests. Tinkerers! Love playing around with the latest desktop manager or modifying builds? Nixpkgs allows you to modify any package you wish to, locally! Nixpkgs is actually a source distribution but its guarantees around purity and reproducibility are so strong that you can get a binary cache "for free".
-
Backblaze Is Now a Terraform Provider
You could use NixOps[0] for Nix but I'm not sure you can directly compare Terraform and Guix/Nix? My set up involves Terraform for infrastructure and Nix for provisioning, and it's working for me so far.
[0] https://github.com/NixOS/nixops
-
Benefits/disadvantages of Guix System in general and over NixOS?
I'll have to read more about NixOps though, I had kind of forgotten that it existed!
-
NixOS Linux
Kind of off topic, but I would love to have NixOps (https://github.com/NixOS/nixops) as an abstraction layer for every type of cloud service, and not just virtual machines (e.g. queues, object storages, etc).
There is Terraform and Ansible, of course, but Nix seems like it could combine the strengths of both of them.
patchelf
-
Debian pauses /usr merge file moves
I mean, we don't have to hack the elf loader if we just rewrite every elf binary using patchelf: https://github.com/NixOS/patchelf
The parent commenter is already suggesting "just run a regex", so it seems like a trivial extension to their simple solution to "just run patchelf on every binary on your system"
-
How does Nix make sure binaries can access their runtime dependencies?
Patching paths in text files typically used substituteInPlace (including in cowsay). For dynamic libraries, patchelf is typically used.
-
"Discord installation is corrupt" on Ubuntu Linux.
Install patchelf.
-
Invalid or corrupted package (PGP signature)
Thank you! I followed the instruction here, but it looks like I didn't actually install it, because my pacman -Q patchelf did not find anything. Maybe I was missing a dependency. Also, it was late so I didn't pay attention to warnings at the time.
-
Rpath, or why lld doesn’t work on NixOS
How does an article on NixOS talk about the `rpath` issue without also mentioning the `patchelf` utility that NixOS developers created to solve this issue? It's a small tool that lets you modify ELF executables and binaries. It's also the recommended way for NixOS users to modify binaries to work properly.
https://github.com/NixOS/patchelf
-
cxfreeze error when compiling py to exe
So install it? https://github.com/NixOS/patchelf
- PatchELF: Simple utility for modifying existing ELF executables and libraries
-
Scala project (FIRRTL) failing to build on NixOS
NixOS doesn't have stable paths to shared libraries like macOS or other linux distributions (and this is the core feature) and always need to patch elf for current paths ( https://github.com/NixOS/patchelf ).
What are some alternatives?
deploy-rs - A simple multi-profile Nix-flake deploy tool.
vscode-remote-release - Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
lorri - Your project's nix-env
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
serverless-application-model - The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
morph - NixOS deployment tool
nixpkgs - Nix Packages collection & NixOS
nixos-generators - Collection of image builders [maintainer=@Lassulus]
libelfin - C++11 ELF/DWARF parser
colmena - A simple, stateless NixOS deployment tool
eresi - The ERESI Reverse Engineering Software Interface