Commit feb1d119 authored by Doron Behar's avatar Doron Behar
Browse files

linuxPackages.nvidiaPackages.dc_5{3,7}5.fabricmanager: use a checkPhase for ldd | grep checks

parent 6201de84
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -47,10 +47,17 @@ stdenv.mkDerivation rec {
      mv $d $out/.
    done
    patchShebangs $out/bin
  '';

  doCheck = true;
  checkPhase = ''
    runHook preCheck

    for b in $out/bin/*;do
      ${ldd} $b | grep -vqz "not found"
    done

    runHook postCheck
  '';
  # Default stdenv fixup shrinkings cause undefined symbols when trying to run
  # meta.mainProgram