@@ -33,13 +33,18 @@ in
33 printf "checking whether executable runs... " >& 2
33 printf "checking whether executable runs... " >& 2
36− # fixme: linux-specific
37 printf "checking that executable is dynamically linked to system libraries... " >& 2
36 printf "checking that executable is dynamically linked to system libraries... " >& 2
38 '' + pkgs.lib.optionalString pkgs.stdenv.isLinux ''
37 '' + pkgs.lib.optionalString pkgs.stdenv.isLinux ''
39 ldd $exe | grep libpthread
38 ldd $exe | grep libpthread
40 '' + pkgs.lib.optionalString pkgs.stdenv.isDarwin ''
39 '' + pkgs.lib.optionalString pkgs.stdenv.isDarwin ''
41 otool -L $exe |grep .dylib
40 otool -L $exe |grep .dylib
43+ printf "Checking that \"all\" component has the programs... " >& 2
44+ all_exe="${packages.cabal-simple.components.all}/bin/cabal-simple"
43 touch $out
48 touch $out