fasterthanlime,
@fasterthanlime@hachyderm.io avatar

I need a command-not-found hook that runs nix profile install nixpkgs#the-command and re-runs the command because that fixes it 90% of the time

chvp,

@fasterthanlime The command-not-found hook of nix-index allows auto-running if NIX_AUTO_RUN is defined and auto-installing if NIX_AUTO_INSTALL is defined. (https://github.com/nix-community/nix-index)

muvlon,
@muvlon@hachyderm.io avatar

@fasterthanlime Can you just install https://github.com/nix-community/comma as a command-not-found hook?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines