Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
What is `nix run`? How is it meant to work?
$ nix run nixpkgs.rubocop
error: attribute 'nixpkgs' in selection path 'nixpkgs.rubocop' not found
$ nix run -f '<nixpkgs>' rubocop
tourou:~ lorne$ which rubocop
tourou:~ lorne$ exit
$ nix run -f '<nixpkgs>' rubocop -c which rubocop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment