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
nix run
I'm new to Nix, and specifically don't understand yet the nuances of how the flake standard is interpreted. So, apologies if this is user error.
I tried to run the nightly from this flake using
nix run github:nix-community/flake-firefox-nightly#firefox-beta-bin
This launched my Firefox binary (version 128). So, then I tried nix shell ..., which gave me this PATH:
nix shell ...
> echo $PATH /nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants/bin:...
But this doesn't exist:
> test -d /nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants/bin || echo "Doesn't exist" Doesn't exist
If I ls around that PATH, I find that /nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants does exist, and try launching the binary directly
ls
/nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants
> /nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants/firefox-nightly-bin/bin/firefox-nightly --version Mozilla Firefox 131.0a1
But launching that binary again seems to launch my global Firefox. Only if I invoke the unwrapped binary does it work.
I suspect this might be a my-system thing rather than this-flake thing, but any pointers would be appreciated.
The text was updated successfully, but these errors were encountered:
Wait ... is this just Firefox behavior that keeps a global session? 🤦
In any case, I'm still unsure as to why nix shell gives me the wrong PATH.
nix shell
Sorry, something went wrong.
haven't investigated it but saw the same behavior.
No branches or pull requests
I'm new to Nix, and specifically don't understand yet the nuances of how the flake standard is interpreted. So, apologies if this is user error.
I tried to run the nightly from this flake using
This launched my Firefox binary (version 128). So, then I tried
nix shell ...
, which gave me this PATH:But this doesn't exist:
If I
ls
around that PATH, I find that/nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants
does exist, and try launching the binary directly> /nix/store/f7pkv8r1zm9hyhzmx2jljxmiy8nf82d6-firefox-variants/firefox-nightly-bin/bin/firefox-nightly --version Mozilla Firefox 131.0a1
But launching that binary again seems to launch my global Firefox. Only if I invoke the unwrapped binary does it work.
I suspect this might be a my-system thing rather than this-flake thing, but any pointers would be appreciated.
The text was updated successfully, but these errors were encountered: