Unverified Commit 5ee8efde authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

opensshTest: nixfmt after the previous commit

I'm sorry.
parent e25ac51e
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -195,7 +195,10 @@ stdenv.mkDerivation (finalAttrs: {
      set -a; source ~/.ssh/environment.base; set +a
    ''
    # See softhsm in nativeCheckInputs above.
    + lib.optionalString (!finalAttrs.doCheck && !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isMusl) ''
    +
      lib.optionalString
        (!finalAttrs.doCheck && !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isMusl)
        ''
          # The extra tests check PKCS#11 interactions, which softhsm emulates with software only
          substituteInPlace regress/test-exec.sh \
            --replace /usr/local/lib/softhsm/libsofthsm2.so ${lib.getLib softhsm}/lib/softhsm/libsofthsm2.so