FAQ: Difference between revisions
imported>Mic92 No edit summary |
imported>Cillianderoiste →How can I install a proprietary or unfree package?: update the path to nixpkgs/config.nix |
||
Line 295: | Line 295: | ||
== How can I install a proprietary or unfree package? == | == How can I install a proprietary or unfree package? == | ||
If you want to install an unfree package as a user, then you need to enable it in ''~/.nixpkgs/config.nix'': | If you want to install an unfree package as a user, then you need to enable it in ''~/.config/nixpkgs/config.nix'': | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
Line 314: | Line 314: | ||
<syntaxhighlight lang="bash">NIXPKGS_ALLOW_UNFREE=1 nix-env</syntaxhighlight> | <syntaxhighlight lang="bash">NIXPKGS_ALLOW_UNFREE=1 nix-env</syntaxhighlight> | ||
== How can I install a package from unstable while remaining on the stable channel? == | == How can I install a package from unstable while remaining on the stable channel? == | ||