Re:Nix journey part 0: Learning and reference materials
by nextos on Wednesday March 01, 2023 @08:50PM
(#34990901)
A naive search is even easier. Right now, on NixOS:
[ Parent
| on HN ]
Re:Nix journey part 0: Learning and reference materials
by colordrops on Wednesday March 01, 2023 @09:12PM
(#34991059)
I have zsh installed and it's not doing this. How does one get it to do this?
Re:Nix journey part 0: Learning and reference materials
by jml7c5 on Wednesday March 01, 2023 @09:25PM
(#34991146)
Are you using flakes? AFAIK `command-not-found` does not work with them. See https://github.com/NixOS/nixpkgs/issues/171054 and https://discourse.nixos.org/t/why-isnt-there-an-official-bui...
`nix-index` is a flake-compatible alternative: https://github.com/bennofs/nix-index
Re:Nix journey part 0: Learning and reference materials
by colordrops on Wednesday March 01, 2023 @10:55PM
(#34991804)
I am using flakes, and now I know why `command-not-found` doesn't work, thank you.
Re:Nix journey part 0: Learning and reference materials
by pxc on Thursday March 02, 2023 @01:19PM
(#34999538)
You can make it work again! It's a one-liner in configuration.nix. Solutions and alternatives were covered in detail in a recent Discourse thread: https://discourse.nixos.org/t/which-package-provides-ifconfi...