Flakes: Difference between revisions
imported>Vater →The nix flakes command: adding the "official" man page |
imported>Ngkz →Importing packages from multiple channels: fix an example fails with undefined variable error |
||
Line 381: | Line 381: | ||
let | let | ||
overlay-unstable = final: prev: { | overlay-unstable = final: prev: { | ||
unstable = nixpkgs-unstable.legacyPackages.${system}; # considering nixpkgs-unstable is an input registered before. | unstable = nixpkgs-unstable.legacyPackages.${prev.system}; # considering nixpkgs-unstable is an input registered before. | ||
}; | }; | ||
in nixpkgs.overlays = [ overlay-unstable ]; # we assign the overlay created before to the overlays of nixpkgs. | in nixpkgs.overlays = [ overlay-unstable ]; # we assign the overlay created before to the overlays of nixpkgs. |