anchor.diff:      libqt5pas
     ];
   
  -  NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
  +  NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath finalAttrs.buildInputs}";
   
     postPatch = ''
       patchShebangs build.sh install/linux/install.sh
  
positive.code:     maintainers = with maintainers; [ AndersonTorres ];
      platforms = with platforms; linux;
    };
  }
  # TODO: deal with other platforms too
  
negative.code: , wrapQtAppsHook
  }:
  
  stdenv.mkDerivation (finalAttrs: {
    pname = "doublecmd";
    version = "1.0.8";
  
    src = fetchFromGitHub {
      owner = "doublecmd";
      repo = "doublecmd";
      rev = "v${finalAttrs.version}";
      hash = "sha256-kuqleoDoxzOj3baTK0lBJpbDECoHeFubWhLXAVkEqAk=";
    };
  
  