xtitle: minor cleanup

main
Sandro Jäckel 3 years ago
parent 9bd158f461
commit 24cd85e2c6
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 12
      pkgs/tools/misc/xtitle/default.nix

@ -11,15 +11,17 @@ stdenv.mkDerivation rec {
hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
};
buildInputs = [ libxcb git xcbutil xcbutilwm ];
postPatch = ''
sed -i "s|/usr/local|$out|" Makefile
'';
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
buildInputs = [ libxcb git xcbutil xcbutilwm ];
meta = {
meta = with lib; {
description = "Outputs X window titles";
homepage = "https://github.com/baskerville/xtitle";
maintainers = [ lib.maintainers.meisternu ];
maintainers = with maintainers; [ meisternu ];
license = "Custom";
platforms = lib.platforms.linux;
platforms = platforms.linux;
};
}

Loading…
Cancel
Save