FAQ: Difference between revisions
imported>Dsyer m Fix brackets and indenting |
imported>Dustin How to run a nix-shell with an unstable package |
||
Line 318: | Line 318: | ||
''Note: This may temporarily not work because of [https://github.com/NixOS/nix/issues/1865 nix#1865]'' | ''Note: This may temporarily not work because of [https://github.com/NixOS/nix/issues/1865 nix#1865]'' | ||
If you simply want to run a ''nix-shell'' with a package from unstable, you can run a command like the following: | |||
<syntaxhighlight lang="bash">nix-shell -I nixpkgs=channel:nixpkgs-unstable -p somepackage</syntaxhighlight> | |||
It is possible to have multiple nix-channels simultaneously. To add the unstable channel with the specifier ''unstable'', | It is possible to have multiple nix-channels simultaneously. To add the unstable channel with the specifier ''unstable'', |