octavePackages.buildOctavePackage: move OCTAVE_HISTFILE into env

This commit is contained in:
Stefan Frijters
2026-03-23 12:24:54 +01:00
parent 16b430b0e3
commit ee82e39ea2
@@ -81,6 +81,7 @@ let
"nativeBuildInputs"
"nativeOctavePkgTestInputs"
"passthru"
"env"
];
in
stdenv.mkDerivation (
@@ -96,7 +97,9 @@ stdenv.mkDerivation (
# packages are installed into octave during the environment building phase.
isOctavePackage = true;
OCTAVE_HISTFILE = "/dev/null";
env = attrs.env or { } // {
OCTAVE_HISTFILE = "/dev/null";
};
inherit src;