Unverified Commit ebb82c46 authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

gbforth: Add writableTmpDirAsHomeHook for installCheck phase (#450343)

parents ae587345 9dbf0424
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchFromGitHub,
  makeWrapper,
  gforth,
  writableTmpDirAsHomeHook,
  unstableGitUpdater,
}:

@@ -35,6 +36,11 @@ stdenv.mkDerivation {
  '';

  doInstallCheck = true;

  nativeInstallCheckInputs = [
    writableTmpDirAsHomeHook
  ];

  installCheckPhase = ''
    runHook preInstallCheck
    $out/bin/gbforth examples/simon/simon.fs