anchor.diff:    ];
   
     prePatch = ''
  +    grep -q '/bin/bash' install-sh
       sed -i "s,/bin/bash,$(type -P bash),g" install-sh
       sed -i "s,ldconfig,$(type -P ldconfig),g" configure m4/libtool.m4
   
  
positive.code: 
    patches = [
      (fetchTritonPatch {
        rev = "f2cc828cd4a47b008b7503974f35bcdd2a9c74b3";
        file = "xfsprogs/xfsprogs-4.7.0-sharedlibs.patch";
        sha256 = "983b08b2a4a4ee91be21f14063167a3752554b41fd78aead6dfd6ac38702a5a7";
      })
      (fetchTritonPatch {
        rev = "f2cc828cd4a47b008b7503974f35bcdd2a9c74b3";
        file = "xfsprogs/xfsprogs-4.7.0-libxcmd-link.patch";
        sha256 = "06cced4aeeb9a2d8c90e6d6fd1ff6571020122dbfe62140513f52bd82bf9abe8";
      })
    ];
  
negative.code:     "mirror://kernel/linux/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar"
    ];
  
    version = "4.12.0";
  in
  stdenv.mkDerivation rec {
    name = "xfsprogs-${version}";
  