Anyone happen to have a #Nix flake on hand that does cross compilation of Rust from x86 to ARM? Trying to get this building for a Rust based AWS Lambda in a nice way 👀
Have something that might work but need to compile all of clang first apparently.
I am very tempted to move my workstation from arch to Debian + nix. I am just not sure it's worth the time. Especially when #Debian testing goes stable. Think that would provide a very stable os, and then all developer tooling could be handled nicely by #nix.
Not pure #NixOS since i fear that's an even greater timesink.
Spent the rest of my desktop time packaging the excellent https://github.com/geeksville/steamback and got 99% there (needs some cleanup, but is fully functional for anyone eager):
@farcaller the good thing: for anyone who doesn't dare to make the jump from * to #NixOS yet: the package manager #Nix, providing exactly this functionality works just fine on any other distribution alongside the regular package manager without interfering with it.
I'd recommend this solution to get it up and running: https://determinate.systems/posts/determinate-nix-installer
Sorry I'll shut up about Nix at some point :) BUT I'm preparing a presentation to introduce Nix to my team and I wondered if anyone was using it in a professional capacity at the moment. I'd love to know how it's implemented and how it's being used etc. #nix#nixos
Well it took me literal months to get #hyprland working (not as bad as it sounds because that's 5-minute snatches here and there), but it finally came up (#nix, woo!) and porting over my basic config from #sway has taken about 15 minutes.
My weekend project https://github.com/gridbugs/nix-shell-locked is a tool for starting transient shells with some temporarily-installed packages on #Nix systems where packages are taken from a version of nixpkgs according to a flake lockfile. This can be helpful when you want to temporarily try out a program without installing it, and want to make sure it's compatible with your system or home-manager configuration, if you manage those configs with flakes. #NixOS
@hazelweakly@fasterthanlime Well when using #nix I do feel like peering in the hidden foundations of computer science, shaping entire universes from few commands while being completely immune to mere mortals base concerns like global state, versions or compatibilities
So #Nix is when Haskell people make a package manager, a language, an OS and a build system all entangled with each other both physically and conceptually?
I'm getting into #Nix and now installed it on my personal machine as well (thanks new installer!), but the error messages are from another planet. I don't see what fundamental complexity there is in Nix to make it this difficult to understand.
I'm making an effort to learn #Nix. It's a good idea but judging from what I'm seeing and the strong path dependance, I'm not sure if the issues are fixable within the project.
It would be best for somebody to do a clean and humane re-implementation on top of the Nix store concept.
Reading development proceedings from the #Nix project and seeing the founder shoot down most suggestions for clarifying and simplifying things, it's clear that the problems are baked in at the governance level and are unlikely to be fixed.
I have started learning Nix and Home Manager. Along this journey I'll be compiling some articles showing the process I am taking to configure and convert my existing fish shell dotfiles over to the nix and home manager setup.
Guix maintainers Janneke Nieuwenhuizen @janneke and Ludovic Courtès @civodul have announced just today that their "seed" C compiler "Mes" is now in production in Guix OS. Mes can, after several boostraping stages eventually compile GCC which in turn compiles Linux, Guile, and Guix. The bootstrap program (as I understand it) is written in Guile Scheme, and compiles to a 357 byte binary. Now when you do guix pull you will see that the entirety of the core operating system (some 22,000 expressions) all depend on that single 357-byte bootstrap program. The idea is to eliminate the footprint of trusted binaries that build the software for the OS and compiler toolchain -- the famous "Trusting Trust" problem outlined by Ken Thompson which he presented while receiving his Turing Award. Thanks to their hard work, we now have an operating system for which every stage of the build can be verified by a human. https://guix.gnu.org/blog/2023/the-full-source-bootstrap-building-from-source-all-the-way-down/
Nix OS people do not need to feel left out, a new issue on the Nix OS GitHub page has announced that they will begin a similar project. https://github.com/NixOS/nixpkgs/pull/227914