home.social

#devshells — Public Fediverse posts

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

  1. New project to share and compose Nix devshells:

    codeberg.org/rossabaker/shell-

    I'm a fan of Numtide's devshells, but have struggled to fold my ad hoc definitions for unflaked projects into published devshells for my projects with flakes. This fixes it for me.

    #Nix #Devshells #ShellGame

  2. 🚀 + + + .
    Video shows using Rust on NixOS, taking full advantage of flakes & devshells to make packaging programs for NixOS easier.
    Nice for dealing with / .
    🎥 youtu.be/Ss1IXtYnpsg

  3. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  4. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  5. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  6. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  7. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  8. @uep `nix-tree --derivation .#devShells.x86_64-linux.default` landed it. Jujutsu wants gnupg which wants openldap - because reasons I guess

  9. @uep `nix why-depends .#devShells.x86_64-linux.default github:nixos/nixpkgs/nixpkgs-unstable#openldap` complains about the second argument not evaluating to one store path. I'm hoping it'll work off the `nixpkgs-unstable` branch, otherwise I can pull the `flake.lock` nixpkgs commit sha to make it line up exactly.

  10. `nix derivation show .#devShells.x86_64-linux.default` yields some store paths from first-tier dependencies, maybe I use why-depends with those until I hit it?

  11. Is there a way to see why a Flake DevShell depends on a given package easily?

    `nix path-info -r .#devShells.x86_64-linux.default` seems obvious but no worky

    #Nix #NixFlakes

  12. Is there a way to see why a Flake DevShell depends on a given package easily?

    `nix path-info -r .#devShells.x86_64-linux.default` seems obvious but no worky

    #Nix #NixFlakes

  13. Is there a way to see why a Flake DevShell depends on a given package easily?

    `nix path-info -r .#devShells.x86_64-linux.default` seems obvious but no worky

    #Nix #NixFlakes

  14. Is there a way to see why a Flake DevShell depends on a given package easily?

    `nix path-info -r .#devShells.x86_64-linux.default` seems obvious but no worky

    #Nix #NixFlakes

  15. Is there a way to see why a Flake DevShell depends on a given package easily?

    `nix path-info -r .#devShells.x86_64-linux.default` seems obvious but no worky

    #Nix #NixFlakes

  16. A big shortcoming of is that it's difficult to wrap & configs for your project.

    This is the number one thing I would want a for after installing dependencies, rendering them always inadequate/incomplete.

  17. A big shortcoming of #Nix #devshells is that it's difficult to wrap #editor & #LSP configs for your project.

    This is the number one thing I would want a #devshell for after installing dependencies, rendering them always inadequate/incomplete.

  18. A big shortcoming of #Nix #devshells is that it's difficult to wrap #editor & #LSP configs for your project.

    This is the number one thing I would want a #devshell for after installing dependencies, rendering them always inadequate/incomplete.

  19. A big shortcoming of #Nix #devshells is that it's difficult to wrap #editor & #LSP configs for your project.

    This is the number one thing I would want a #devshell for after installing dependencies, rendering them always inadequate/incomplete.

  20. A big shortcoming of #Nix #devshells is that it's difficult to wrap #editor & #LSP configs for your project.

    This is the number one thing I would want a #devshell for after installing dependencies, rendering them always inadequate/incomplete.

  21. @tristanC I'm not sure there's a tool for doing exactly what you're asking for yet (but it would be really nice to have and shouldn't be too hard to implement!), but nix-diff could be interesting for observing the changes in what you end up building. Apply nix-diff to the shell drv files before and after (nix eval .#devShells.x86_64-linux.default.drvPath) and it'll show you exactly what changed on the derivation level — so what's actually built.