linuxPackages.nvidiaPackages.dc_5{3,7}5.fabricmanager: use a checkPhase for ldd | grep checks
Co-Authored-By: Darcy Owens <owens.darcy67@gmail.com>
This commit is contained in:
co-authored by
Darcy Owens
parent
6201de845d
commit
feb1d11988
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user