nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emacsGcc has been renamed to emacsNativeComp, please update your expression.

yuuyins opened this issue · comments

nix-index 
+ querying available packages
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit code 1:
trace: emacsGcc has been renamed to emacsNativeComp, please update your expression.
error: anonymous function at /nix/store/q4v25hyhaq36abprrk65hbq7n8sy60cv-nixos-22.05pre343944.ff377a78794/nixos/pkgs/applications/editors/emacs/generic.nix:9:1 called with unexpected argument 'withWebP'

       at /nix/store/q4v25hyhaq36abprrk65hbq7n8sy60cv-nixos-22.05pre343944.ff377a78794/nixos/lib/customisation.nix:69:16:

           68|     let
           69|       result = f origArgs;
             |                ^
           70|

       … while evaluating 'makeOverridable'

       at /nix/store/q4v25hyhaq36abprrk65hbq7n8sy60cv-nixos-22.05pre343944.ff377a78794/nixos/lib/customisation.nix:67:24:

           66|   */
           67|   makeOverridable = f: origArgs:
             |                        ^
           68|     let

       … from call site

       at /nix/store/q4v25hyhaq36abprrk65hbq7n8sy60cv-nixos-22.05pre343944.ff377a78794/nixos/lib/customisation.nix:77:41:

           76|       # Re-call the function but with different arguments
           77|       overrideArgs = copyArgs (newArgs: makeOverridable f (overrideWith newArgs));
             |                                         ^
           78|       # Change the result of the function call by applying g to it

       … while evaluating anonymous lambda

       at /nix/store/q4v25hyhaq36abprrk65hbq7n8sy60cv-nixos-22.05pre343944.ff377a78794/nixos/lib/customisation.nix:77:32:

           76|       # Re-call the function but with different arguments
           77|       overrideArgs = copyArgs (newArgs: makeOverridable f (overrideWith newArgs));
             |                                ^
           78|       # Change the result of the function call by applying g to it

       … from call site

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:43:15:

           42|
           43|         (drv: drv.override ({ srcRepo = true; } // args))
             |               ^
           44|

       … while evaluating anonymous lambda

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:43:10:

           42|
           43|         (drv: drv.override ({ srcRepo = true; } // args))
             |          ^
           44|

       … from call site

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:39:17:

           38|     builtins.foldl'
           39|       (drv: fn: fn drv)
             |                 ^
           40|       self.emacs

       … while evaluating anonymous lambda

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:39:13:

           38|     builtins.foldl'
           39|       (drv: fn: fn drv)
             |             ^
           40|       self.emacs

       … from call site

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:38:5:

           37|     in
           38|     builtins.foldl'
             |     ^
           39|       (drv: fn: fn drv)

       … while evaluating 'mkGitEmacs'

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:27:38:

           26|
           27|   mkGitEmacs = namePrefix: jsonFile: { ... }@args:
             |                                      ^
           28|     let

       … from call site

       at /nix/store/mhadlk1r1aa828gg51d38fp9zy3hzag2-source/default.nix:85:14:

           84|
           85|   emacsGit = mkGitEmacs "emacs-git" ./repos/emacs/emacs-master.json { withSQLite3 = true; withWebP = true; };
             |              ^
           86|

workaround:

nix shell -L --no-write-lock-file --sandbox --pure-eval --ignore-environment --keep NIX_PATH "nixpkgs#nix-index" --command "nix-index"