summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author7c6f434c <7c6f434c@mail.ru>2021-12-31 01:09:24 +0000
committerGitHub <noreply@github.com>2021-12-31 01:09:24 +0000
commit2cf5bc5ea3f2d1b076306ee41ef2fd7ad27afd0c (patch)
treee438c5fc609cc765d55b93207fcfc910962cf192
parentMerge pull request #152746 from NixOS/backport-152409-to-release-21.11 (diff)
parentglusterfs: fix version info (diff)
downloadnixpkgs-2cf5bc5ea3f2d1b076306ee41ef2fd7ad27afd0c.tar.gz
Merge pull request #152755 from NixOS/backport-152705-to-release-21.11
[Backport release-21.11] glusterfs: fix version info
-rw-r--r--pkgs/tools/filesystems/glusterfs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix
index 90148cbf2a45..a408f6374b5d 100644
--- a/pkgs/tools/filesystems/glusterfs/default.nix
+++ b/pkgs/tools/filesystems/glusterfs/default.nix
@@ -85,6 +85,7 @@ in stdenv.mkDerivation rec {
# but fails when the version is empty.
# See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
preConfigure = ''
+ patchShebangs build-aux/pkg-version
echo "v${version}" > VERSION
./autogen.sh
export PYTHON=${python3}/bin/python