#nixshell — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #nixshell, aggregated by home.social.
-
@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