1.2 KiB
2022-10-11
-
The
nixpkgs
input has been renamed tonixpkgs-lib
to signify that the only dependency is on thelib
attribute, which can be provided by either thenixpkgs?dir=lib
subflake or by thenixpkgs
flake itself. -
The templates now use the default, fixed
nixpkgs?dir=lib
dependency instead of a followingnixpkgs
dependency.
2022-05-25
-
perSystem
is not afunctionTo submodule
anymore, but adeferredModule
, which is a lot like a regular submodule, but possible to invoke multiple times, for eachsystem
.All
perSystem
value definitions must remove thesystem:
argument. If you needsystem
to be in scope, use the one in the module arguments.-perSystem = system: { config, lib, ... }: +perSystem = { config, lib, system, ... }:
All
perSystem
option declarations must now useflake-parts-lib.mkPerSystemOption
.{ options.perSystem = mkPerSystemOption ({ config, ... }: { options = { # ... }; # ... }); }
-
flake-modules-core
is now calledflake-parts
. -
flake.overlay
has been removed in favor offlake.overlays.default
.