diff --git a/pkgs/by-name/ro/roc/package.nix b/pkgs/by-name/ro/roc/package.nix index 6bbac562f1d4..0081612abc77 100755 --- a/pkgs/by-name/ro/roc/package.nix +++ b/pkgs/by-name/ro/roc/package.nix @@ -85,12 +85,12 @@ rustPlatform.buildRustPackage { checkPhase = lib.optionalString stdenv.isLinux '' runHook preCheck - NIX_GLIBC_PATH=${glibc.out}/lib NIX_LIBGCC_S_PATH=${stdenv.cc.cc.lib}/lib cargo test --release --workspace --exclude test_mono --exclude uitest -- --skip glue_cli_tests + NIX_GLIBC_PATH=${glibc.out}/lib NIX_LIBGCC_S_PATH=${stdenv.cc.cc.lib}/lib cargo test --release --workspace --exclude test_mono --exclude uitest -- --skip glue_cli_tests --skip test_snapshots runHook postCheck '' + lib.optionalString (!stdenv.isLinux) '' runHook preCheck - cargo test --release --workspace --exclude test_mono --exclude uitest -- --skip glue_cli_tests + cargo test --release --workspace --exclude test_mono --exclude uitest -- --skip glue_cli_tests --skip test_snapshots runHook postCheck '';