Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jml7c5
on March 2, 2023
|
parent
|
context
|
favorite
| on:
Nix journey part 0: Learning and reference materia...
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
colordrops
on March 2, 2023
[–]
I am using flakes, and now I know why `command-not-found` doesn't work, thank you.
pxc
on March 2, 2023
|
parent
[–]
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...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
`nix-index` is a flake-compatible alternative: https://github.com/bennofs/nix-index