User: Researchcrowbar

From NixOS Wiki
Jump to: navigation, search
Note: This page is used for format[1] experiments and quick notes.

Notes

Note that -p accepts multiple full nix expressions that are valid in the buildInputs = [ ... ] shown above, not only package names. So the following is also legal:

nix-shell --packages sqlite 'git.override { withManual = false; }'

On that note, it is also possible to bring a flake result into nix-shell with a bit of manual plumbing:

nix-shell --packages '(builtins.getFlake "github:lf-/clipper").packages.${builtins.currentSystem}.default' tshark