Unverified Commit 9dbf0424 authored by rafaelrc7's avatar rafaelrc7
Browse files

gbforth: Add writableTmpDirAsHomeHook for installCheck phase

The latest `gforth` versions require a writable home directory during
runtime for cache purposes. Thus, for the installCheckPhase to work,
this commit adds the writableTmpDirAsHomeHook to the
nativeInstallCheckInputs.
parent c0978efb
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