#nixshell — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #nixshell, aggregated by home.social.
-
Hi All
I'm taking a workshop about Nix shells on July 24th. Nix is one of the most impactful ecosystem in the history of software industry. No hype, these words won't even justify how the paradigm is fundamentally a game changer for tons of things from DevOps, system Administration, System state management, project management, IT devices management, clusters of devices, kubernetes, containers etc etc
The best way to start with this ecosystem of cool paradigm is nix shells.
-
In this workshop, I'll demystify what's Nix, nix shells and some first principle thinking as well.
This isn't yet another workshop in my life, I'm not doing this for the sake of anything else other than the pure joy of sharing the knowledge accumulated with some years of process.
Those who use nix for some years might still find it difficult to put it in words, since the scope of the paradigm is very vast.
-
I plan to break the myth that Nix is something harder to grasp and thus starting with nix shell. Come attend and ask any questions regarding nix, nix shells on or off stage. Happy to help anyone understand it.
What takes a typical company few hours or days to onboard an employee, with nix shells u can do those in mins and more over since it's just a code, u have all the plethora of benefits like version control, specific to a team, rollbacks etc etc
-
@monkeydom
For flakes and nix v2 the equivalent conmand is
nix shell nixpkgs#someappname
and nixpkgs can be like these```
nixpkgs
nixpkgs/nixos-unstable
nixpkgs/nixos-25.11
github:username/repo
```
etc
#nix #nixpkgs #nixshell #ephemeral #flakes -
Deploying a :nixos: #nixshell it is kind of funny that building gcc requires g++ ...
-
#Nixshell isn’t executing its Python/poetry command and doesn’t exit
https://discourse.nixos.org/t/nix-shell-isnt-executing-its-python-poetry-command-and-doesnt-exit/58452Anyone interested in contributing to this thread?
-
Just looked into #nixshell and #direnv to setup a clean environment to compile greptimedb: https://github.com/GreptimeTeam/greptimedb/pull/5175
clang, gcc, mold and patched #rust are required.
-
How To Test A Package Without Installing It Using Nix Package Manager In Linux #nix #adhoc #shellenvironment #nixos #nixshell #devops #linux #programming #linuxadmin #linuxhowto #cli
https://ostechnix.com/how-to-test-a-package-without-installing-it-in-linux/ -
How To Create Development Environments With Nix-shell In Linux #nix #nixshell #nixos #linux #softwaredevelopment #linuxcommands #linuxhowto #commandline #cli #opensource
https://ostechnix.com/nix-shell-create-development-environments/ -
@dm nice! I plan to use it for *wait for it* .. gaming, I also want to emulate some old consoles and use it as a thin client to remote in to the computer at work (either #nixshell or #distrobox will do the trick I hope)
-
However, a :nixos: #nixshell for "quickly give me :docker: #Docker for a minute" is not possible, right? It wouldn't start the daemon.
In this case #Apptainer is a cool alternative: no root or daemon required to run software from containers.
-
Once you have experienced it you start to value the ephemeral nature of :nixos: #NixOS #nixshell's. Quickly need that one program but don't want it to clutter your system permanently?
nix-shell -p git-extras
This drops you into a shell with some extra git utils. Once you drop out of the shell, it's gone from your PATH again. 🎉
A little meh though that apparently only bash is really supported ootb as such though 🫤
-
Installed #opensuse #tumbleweed on my old x230 because I'm sadly struggling too much with getting a dev environment working easily using either #docker or #nixshell running on #VanillaOS. Vanilla works great for my media laptop that must-not-break-no-matter-what, though.
I hadn't seen it previously but the opensuse installer has an encrypted partitions option, and it worked flawlessly! Guess I'll spend tomorrow reinstalling my other opensuse laptop as well.
-
@someodd I don't do #Haskell development so I cannot speak from experience, but this might help you set it up with #NixShell:
https://github.com/aveltras/setting-up-a-haskell-development-environment-with-nixI'm personally using nix-shell for occasional Python development