···6262 ]
6363 ++ nativeBuildInputs;
64646565+ passthru' = {
6666+ updateScript = [
6767+ ../../../../maintainers/scripts/update-octave-packages
6868+ (builtins.unsafeGetAttrPos "pname" octave.pkgs.${attrs.pname}).file
6969+ ];
7070+ }
7171+ // passthru;
7272+6573 # This step is required because when
6674 # a = { test = [ "a" "b" ]; }; b = { test = [ "c" "d" ]; };
6775 # (a // b).test = [ "c" "d" ];
6876 # This used to mean that if a package defined extra nativeBuildInputs, it
6977 # would override the ones for building an Octave package (the hook and Octave
7078 # itself, causing everything to fail.
7171- attrs' = builtins.removeAttrs attrs [ "nativeBuildInputs" ];
7979+ attrs' = builtins.removeAttrs attrs [ "nativeBuildInputs" "passthru" ];
72807381in stdenv.mkDerivation ({
7482 packageName = "${fullLibName}";
···120128 # We don't install here, because that's handled when we build the environment
121129 # together with Octave.
122130 dontInstall = true;
131131+132132+ passthru = passthru';
123133124134 inherit meta;
125135} // attrs')