Files
Sergei Trofimovich 85f8f9c9a1 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?
2026-03-02 21:41:40 +00:00
..