home.social

#nixshell — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nixshell, aggregated by home.social.

  1. @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

  2. Deploying a :nixos: it is kind of funny that building gcc requires g++ ...

  3. Just looked into #nixshell and #direnv to setup a clean environment to compile greptimedb: github.com/GreptimeTeam/grepti

    clang, gcc, mold and patched #rust are required.

  4. I have officially joined the #nix #nixshell hype train. Any resources for devs would be appreciated. So far I'm looking to replace language version managers with nix-shell. Tips are welcome!

  5. @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 or will do the trick I hope)

  6. I just discovered that #PHPStorm doesn’t really work with tools like #direnv or #nixshell.
    This makes me a bit sad because it might prevent us from using #Nix and #devenv for our new development setup.

    #NixOS

  7. Anyone got any good #NixOS resources for setting up #Minikube with #Podman or #KVM in a #Nix shell?

    Or at least any good #NixFlake guide on setting up #QEMU and #KVM?

    #NixShell #NixFlakes #Kubernetes #K8S

  8. However, a :nixos: for "quickly give me :docker: for a minute" is not possible, right? It wouldn't start the daemon.

    In this case is a cool alternative: no root or daemon required to run software from containers.

  9. Once you have experienced it you start to value the ephemeral nature of :nixos: '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 🫤

  10. Was wondering if on nixos when doing a nixos-rebuild it's was possible to pre download packages for a nix-shell file? The idea is that later i wouldn't need to download them when i do a "nix-shell my-shell-file.nix" ?
    #nixos #nix #nixshell #nixpkgs

  11. Installed on my old x230 because I'm sadly struggling too much with getting a dev environment working easily using either or running on . 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.

  12. @someodd I don't do development so I cannot speak from experience, but this might help you set it up with :
    github.com/aveltras/setting-up

    I'm personally using nix-shell for occasional Python development