···62 ]
63 ++ nativeBuildInputs;
640000000065 # This step is required because when
66 # a = { test = [ "a" "b" ]; }; b = { test = [ "c" "d" ]; };
67 # (a // b).test = [ "c" "d" ];
68 # This used to mean that if a package defined extra nativeBuildInputs, it
69 # would override the ones for building an Octave package (the hook and Octave
70 # itself, causing everything to fail.
71- attrs' = builtins.removeAttrs attrs [ "nativeBuildInputs" ];
7273in stdenv.mkDerivation ({
74 packageName = "${fullLibName}";
···120 # We don't install here, because that's handled when we build the environment
121 # together with Octave.
122 dontInstall = true;
00123124 inherit meta;
125} // attrs')
···62 ]
63 ++ nativeBuildInputs;
6465+ passthru' = {
66+ updateScript = [
67+ ../../../../maintainers/scripts/update-octave-packages
68+ (builtins.unsafeGetAttrPos "pname" octave.pkgs.${attrs.pname}).file
69+ ];
70+ }
71+ // passthru;
72+73 # This step is required because when
74 # a = { test = [ "a" "b" ]; }; b = { test = [ "c" "d" ]; };
75 # (a // b).test = [ "c" "d" ];
76 # This used to mean that if a package defined extra nativeBuildInputs, it
77 # would override the ones for building an Octave package (the hook and Octave
78 # itself, causing everything to fail.
79+ attrs' = builtins.removeAttrs attrs [ "nativeBuildInputs" "passthru" ];
8081in stdenv.mkDerivation ({
82 packageName = "${fullLibName}";
···128 # We don't install here, because that's handled when we build the environment
129 # together with Octave.
130 dontInstall = true;
131+132+ passthru = passthru';
133134 inherit meta;
135} // attrs')