Flakes: Difference between revisions

imported>Qjcg
Fix flake top-level attribute names (input,output -> inputs,outputs)
imported>Extends
Adding NUR overlay to be able to import packages from it.
Line 299: Line 299:
in nixpkgs.overlays = [ overlay-unstable.unstable ]; # we assign the overlay created before to the overlays of nixpkgs.
in nixpkgs.overlays = [ overlay-unstable.unstable ]; # we assign the overlay created before to the overlays of nixpkgs.
</syntaxHighlight>
</syntaxHighlight>
should make a package accessed through <syntaxHighlight>pkgs.unstable.package</syntaxHighlight>
should make a package accessible through <syntaxHighlight>pkgs.unstable.package</syntaxHighlight>
Same can be done with the NURs, as it already has an ''overlay'' attribute in the flake.nix of the project, you can just add <syntaxHighlight>nixpkgs.overlays = [ nur.overlay ];</syntaxHighlight>


== See also ==
== See also ==