Overlays: Difference between revisions
imported>Nix add Overlays definition and manual link. add Cookbook and Nixpkgs categories |
imported>Nix m move links to see also |
||
Line 145: | Line 145: | ||
The <tt>/etc/nixos/overlays-compat</tt> directory should contain a single <tt>overlays.nix</tt> file to be understood by the Nix tooling, but the location of this directory can be arbitrary, as long as it is set correctly in the <code>nix.nixPath</code> option. | The <tt>/etc/nixos/overlays-compat</tt> directory should contain a single <tt>overlays.nix</tt> file to be understood by the Nix tooling, but the location of this directory can be arbitrary, as long as it is set correctly in the <code>nix.nixPath</code> option. | ||
== Examples of overlays == | == Examples of overlays == | ||
Here are a few example usages of overlays. | Here are a few example usages of overlays. | ||
Line 357: | Line 353: | ||
==== References ==== | ==== References ==== | ||
== See also == | |||
* [https://nixos.org/nixpkgs/manual/#chap-overlays Overlays in nixpkgs manual] | |||
* [https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/ Blog post "The DOs and DON’Ts of nixpkgs overlays"] | |||
[[Category:Cookbook]] | [[Category:Cookbook]] | ||
[[Category:Nixpkgs]] | [[Category:Nixpkgs]] |