You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok thanks, I tried to run the latest nix version via nix shell, but it was of course only in the current shell, while I guess nix-env nix would use the system nix. But I have 2 questions:
would it be possible to mention the -S syntax in the doc that works for any version of nix?
is the construction
//! ```cargo
//! [dependencies]
//! time = "0.1.25"
//! ```
Describe the bug
The documentation here https://nixos.org/manual/nix/stable/command-ref/new-cli/nix.html?highlight=shebang#shebang-interpreter mentions that one can create an executable file:
and run it, but I get an error:
I found a solution using the
-S
option ofenv
like:This works, but I don't see how to run this way more complex stuff. For instance, the documentation mentions that we can run:
but I get the same error.
Steps To Reproduce
Steps to reproduce the behavior: just described in previous section.
Notify maintainers
Metadata
I'm running NixOs 2caf4ef
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: