Overlays: Difference between revisions

imported>Krey
Created page with "Overlays provide a method to extend and change nixpkgs. They replace constructs like <code>packageOverride</code> and <code>overridePackages</code>. Consider a simple example..."
 
imported>Krey
No edit summary
Line 29: Line 29:
==== On the system level ====
==== On the system level ====


If you want your overlays to be accessible on the system level, by nix tools and also in the system-wide configuration, add <code>nixpkgs-overlays</code> to your <code>NIX_PATH</code>:
If you want your overlays to be accessible by nix tools and also in the system-wide configuration, add <code>nixpkgs-overlays</code> to your <code>NIX_PATH</code>:


<syntaxhighlight lang="shell">
<syntaxhighlight lang="shell">