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
It is a major annoyance that -f does not interact well with the expression evaluation mode in nix run.
-f
nix run
My proposed API is that the expression passed to nix run should be a function which is then passed the result of evaluating the argument to -f.
Previously:
nix run "(import <nixpkgs> {}).haskellPackages.ghcWithPackages (p: [ p.lens ])"
With my proposed change:
nix run "pkgs: pkgs.haskellPackages.ghcWithPackages (p: [ p.lens ]"
nix run -f my-nixpkgs.nix "pkgs: pkgs.haskellPackages.ghcWithPackages (p: [ p.lens ]"
This adds flexibility as now -f can be added to replace the default and the resulting expression can remain unchanged.
The text was updated successfully, but these errors were encountered:
I marked this as stale due to inactivity. → More info
Sorry, something went wrong.
nix-shell -p
I closed this issue due to inactivity. → More info
No branches or pull requests
It is a major annoyance that
-f
does not interact well with the expression evaluation mode innix run
.My proposed API is that the expression passed to
nix run
should be a function which is then passed the result of evaluating the argument to-f
.Previously:
With my proposed change:
This adds flexibility as now
-f
can be added to replace the default and the resulting expression can remain unchanged.The text was updated successfully, but these errors were encountered: