We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flakeApp
This,
fmt = { exec = "${lib.getExe pkgs.nixpkgs-fmt} ./*.nix"; flakeApp = true; };
... would wire a flake app of the same name, so that nix run .#fmt will work (in addition to nix develop -c , fmt).
nix run .#fmt
nix develop -c , fmt
Useful in https://github.com/srid/nixos-config for running activation without entering the devShell. Useful for users who do not use direnv, as well.
cc @marijanp
The text was updated successfully, but these errors were encountered:
flakeApp cannot be true by default, because it does not make sense for many scripts (ghcid, for instance, can only be run in a devshell).
Sorry, something went wrong.
config
Closing in favour of #23
No branches or pull requests
This,
... would wire a flake app of the same name, so that
nix run .#fmt
will work (in addition tonix develop -c , fmt
).Useful in https://github.com/srid/nixos-config for running activation without entering the devShell. Useful for users who do not use direnv, as well.
cc @marijanp
The text was updated successfully, but these errors were encountered: