Flakes: Difference between revisions

Sandro (talk | contribs)
Fix headlines order
Orual (talk | contribs)
m There was a small error in the commented out unstable overlay option, which enables unfree packages. Because the variable "system" wasn't in scope to be inherited, it didn't work as written in the same context. Inheriting prev and then assigning system from prev.system does work.
Line 609: Line 609:
                 # use this variant if unfree packages are needed:
                 # use this variant if unfree packages are needed:
                 # unstable = import nixpkgs-unstable {
                 # unstable = import nixpkgs-unstable {
                 #  inherit system;
                 #  inherit prev;
                #  system = prev.system;
                 #  config.allowUnfree = true;
                 #  config.allowUnfree = true;
                 # };
                 # };