Consider: #Guix / #Nix shared hosting where the cost of storing a store item is shared between the users that depend on it.
Maybe with the new Shepherd on Goblins integration a shared guix-daemon could work.
A little #aux update. As some of you might know we decided to drop our nix{,pkgs} forks and move forwards with our own plans. And as of earlier today we managed to build #lix and #nix within our core repo.
instead of talking so much about what flakes are for, maybe we should talk more about what they do, because it's actually very little. flakes DO the following:
manage a single, top-level lockfile
force a specific entry point for a Nix expression
change the CLI syntax you use
turn on "pure eval" mode by default
make you git track your files (for git repo flakes)
those are the actual things that flakes effect to Nix code
on May 16, 2024, from 4:00 pm - 6:00 pm CEST I'm giving a 2 hour online workshop on reproducibility with #Nix for #RStats users organized by the DIPF (Leibniz Institute for Research and Information in Education)
Oh man, if I had realized that nix-darwin can give me fish autocompletions for #Nix (including picking flake outputs) I would have started using it years ago just for that alone
Apply for Summer of Nix 2024 to join one of four teams in making selected free and open source software (FOSS) projects work reliably on a whim using Nix and NixOS.
Deadline May 10.
Summer of Nix is a rare opportunity for students or early-career professionals with diverse technical skills and interests to practice disciplined software development with Nix while contributing to the public good and receiving some payment for it.
@nobodyinperson I've had the same experience recently after launching a new command line tool I created for GNOME desktops.
Having that hands-on experience with #archlinux PKGBUILDs definitely makes putting together a #nix#flake or standard derivation a lot more straightforward and easy to understand for sure! 🙌👌 :arch: :nixos:
:owi: Lix, a community run fork of CppNix and an implementation of the Nix language
➥ @lix_project
「 Lix is developed by a diverse group of users – and accordingly is committed to providing a space that’s safe for users and developers typically underrepresented in technical projects. We take moderation seriously, and are committed to preventing bad actors from driving out marginalized groups 」
oh yeah the secret project I've been working on for two months, @lix_project, is finally in public preview. there's a fair number of rough edges in the website and infra remaining to fix but the software is rock solid.
thanks so much to the dozens of people who have been running main daily for several weeks and reporting the few remaining issues. at this point i would say it's just a stabler, faster, more user friendly #Nix 2.18.
Thanks so much to everyone who hung in this week as we’ve all worked to fix the state of the Nix community. It’s been a ride; but I think things are going to get better.
Here’s the last major piece of the puzzle — the product of several months of work from an absolutely incredible team. It’s not ready for a full announcement, but we’ve opened our beta so people who are fleeing the core Nix community have a place to go.
Btw, probably well-known by those closely involved in Nix et al, there's also #TVIX by The Virus Lounge, a #Rust reimplementation of the #Nix language. And a project that got funding from #NLnet@NGIZero
I think I have finally™️ (for the third or so time) found myself a solution for :python: #Python development on :nixos: #NixOS that allows me to just work with #pythonPoetry et. al. as on other distros.
The solution is to pre-build an FHSUserEnv in your configuration.nix, e.g. like this¹.
When starting Python dev work, I now execute fhs (it's fast!), or directly fhs -c 'poetry shell' and everything works as expected, including #PyPI wheels etc.
@docRekd@publicvoit Of course. It's not a general solution to be able to do Python dev on NixOS. One needs a separate nix file per project (that alone is an absolute no-go). Even if you take the time and try to make one, still no guarantee that it works (even with preferWheels=true!). Weird errors arise with nix' typical awful error messages and at this point it's not useable for general Python dev. Maybe for specific standalone Python projects you want to #nix-ify.
Today I learned: #nix-infect, to transform a vm from another distribution into #NixOS, mostly for cloud providers that don't offer this option! (Including #DigitalOcean and #hetzner). I am going to use it! :)