nixpkgs/pkgs/development/interpreters/octave
Sergei Trofimovich 5ee19b6f17 octave.buildEnv: fix the eval
Without the change the eval fails as:

    nix-repl> octave.buildEnv
    error:
       … while evaluating the attribute 'buildEnv'
         at pkgs/development/interpreters/octave/default.nix:205:7:
          204|       inherit enableQt enableReadline enableJava;
          205|       buildEnv = callPackage ./build-env.nix {
             |       ^
          206|         octave = finalAttrs.finalPackage;

       … while calling a functor (an attribute set with a '__functor' attribute)
         at /home/slyfox/dev/git/nixpkgs-master/lib/customisation.nix:264:13:
          263|     in if missingArgs == {}
          264|        then makeOverridable f allArgs
             |             ^
          265|        # This needs to be an abort so it can't be caught with `builtins.tryEval`,

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

       error: function 'anonymous lambda' called with unexpected argument 'octavePackages'
       at pkgs/development/interpreters/octave/build-env.nix:1:1:
            1| { lib, stdenv, octave, buildEnv
             | ^
            2| , makeWrapper, texinfo
2024-08-06 21:39:08 +01:00
..
hooks
build-env.nix pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
build-octave-package.nix
default.nix octave.buildEnv: fix the eval 2024-08-06 21:39:08 +01:00
with-packages.nix
wrap-octave.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
wrap.sh