Loading
libweaver.updateScript: fix the eval
Without the change the eval fails as:
$ nix eval --impure --expr 'with import ./. {}; libweaver.updateScript'
error:
… while evaluating the attribute 'updateScript'
at pkgs/by-name/li/libweaver/package.nix:34:5:
33| passthru = {
34| updateScript = unstableGitUpdater { harcodeZeroVersion = true; };
| ^
35| tests.cmake-config = testers.hasCmakeConfigModules {
… while calling a functor (an attribute set with a '__functor' attribute)
at pkgs/by-name/li/libweaver/package.nix:34:20:
33| passthru = {
34| updateScript = unstableGitUpdater { harcodeZeroVersion = true; };
| ^
35| tests.cmake-config = testers.hasCmakeConfigModules {
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: function 'anonymous lambda' called with unexpected argument 'harcodeZeroVersion'
at pkgs/common-updater/unstable-updater.nix:16:1:
15|
16| {
| ^
17| url ? null, # The git url, if empty it will be set to src.gitRepoUrl
Did you mean hardcodeZeroVersion?