summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/filesystems/glusterfs
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2020-05-09 20:34:23 +0200
committerajs124 <git@ajs124.de>2020-05-09 20:34:23 +0200
commitfaa621ce76b68a1496812ca0b1b6b6dd19982c52 (patch)
treec1cf023587a3eb2066df5cbb643ad32990c2d91e /pkgs/tools/filesystems/glusterfs
parent2be47f021aa0625b674669df11b9990147e9014b (diff)
glusterfs: fix indentation
Diffstat (limited to 'pkgs/tools/filesystems/glusterfs')
-rw-r--r--pkgs/tools/filesystems/glusterfs/default.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix
index e64069af2aef..f02fec85a5b1 100644
--- a/pkgs/tools/filesystems/glusterfs/default.nix
+++ b/pkgs/tools/filesystems/glusterfs/default.nix
@@ -81,17 +81,17 @@ stdenv.mkDerivation
--replace '/bin/mount' '${utillinux}/bin/mount'
'';
- # Note that the VERSION file is something that is present in release tarballs
- # but not in git tags (at least not as of writing in v3.10.1).
- # That's why we have to create it.
- # Without this, gluster (at least 3.10.1) will fail very late and cryptically,
- # for example when setting up geo-replication, with a message like
- # Staging of operation 'Volume Geo-replication Create' failed on localhost : Unable to fetch master volume details. Please check the master cluster and master volume.
- # What happens here is that the gverify.sh script tries to compare the versions,
- # but fails when the version is empty.
- # See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
- preConfigure = ''
- echo "v${s.version}" > VERSION
+ # Note that the VERSION file is something that is present in release tarballs
+ # but not in git tags (at least not as of writing in v3.10.1).
+ # That's why we have to create it.
+ # Without this, gluster (at least 3.10.1) will fail very late and cryptically,
+ # for example when setting up geo-replication, with a message like
+ # Staging of operation 'Volume Geo-replication Create' failed on localhost : Unable to fetch master volume details. Please check the master cluster and master volume.
+ # What happens here is that the gverify.sh script tries to compare the versions,
+ # but fails when the version is empty.
+ # See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
+ preConfigure = ''
+ echo "v${s.version}" > VERSION
./autogen.sh
export PYTHON=${python3}/bin/python
'';