Unverified Commit ee82e39e authored by Stefan Frijters's avatar Stefan Frijters
Browse files

octavePackages.buildOctavePackage: move OCTAVE_HISTFILE into env

parent 16b430b0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;

    env = attrs.env or { } // {
      OCTAVE_HISTFILE = "/dev/null";
    };

    inherit src;