···65 };
66 inherit buildInputs propagatedBuildInputs;
6768+ patches = [
69+ # Upstream invokes `openssl version -d` to derive the canonical system path
70+ # for certificates, which resolves to a nix store path, so this patch
71+ # statically sets the configure.ac value. There's probably a less-brittle
72+ # way to do this! (this will likely fail on a version bump)
73+ # References:
74+ # - https://github.com/gluster/glusterfs/issues/3234
75+ # - https://github.com/gluster/glusterfs/commit/a7dc43f533ad4b8ff68bf57704fefc614da65493
76+ ./ssl_cert_path.patch
77+ ];
78+79 postPatch = ''
80 sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am
81 substituteInPlace libglusterfs/src/glusterfs/lvm-defaults.h \