Can't update nixOS flake : called without required argument "build-release-notes"


I have a system flake that used to work, but when running nix flake update then nixos-rebuild switch, I get the following error. This does not happen with previous versions of my flake.lock :

       … while calling the 'derivationStrict' builtin
         at /builtin/derivation.nix:1:208:
       … while evaluating derivation 'nixos-rebuild'
         whose name attribute is located at /nix/store/xfpiyfgf6y30fxk5ngv0cjn474qfr3sj-source/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'substitutions' of derivation 'nixos-rebuild'
         at /nix/store/xfpiyfgf6y30fxk5ngv0cjn474qfr3sj-source/pkgs/build-support/substitute/substitute.nix:54:3:
           53| } // args // lib.optionalAttrs (args ? substitutions) {
           54|   substitutions =
             |   ^
           55|     assert lib.assertMsg (lib.isList args.substitutions) ''

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "build-release-notes" at /nix/store/yvfqnq52ryjc3janw02ziv7kr6gd0cs1-source/package.nix:16'

Any chance you are using Lix? RC-1 was released for Lix and this changed the module.
The new instructions pin the module instead of Lix itself, which should fix this error and avoid it in the future.


I am indeed using Lix, this fixed the problem, thank you