Unverified Commit 84b847da authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #203815 from LeSuisse/redis-status-check-phase

pkgsStatic.redis: make checkPhase pass
parents 93b0ea3c ad221e06
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, lua, pkg-config, nixosTests
, tcl, which, ps, fetchpatch
, tcl, which, ps, getconf, fetchpatch
, withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isStatic, systemd
# dependency ordering is broken at the moment when building with openssl
, tlsSupport ? !stdenv.hostPlatform.isStatic, openssl
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {

  # darwin currently lacks a pure `pgrep` which is extensively used here
  doCheck = !stdenv.isDarwin;
  checkInputs = [ which tcl ps ];
  checkInputs = [ which tcl ps ] ++ lib.optionals stdenv.hostPlatform.isStatic [ getconf ];
  checkPhase = ''
    runHook preCheck