From 19f74eebd6718658d763548ed24353aba67854ca Mon Sep 17 00:00:00 2001
From: Peter Simons <simons@cryp.to>
Date: Tue, 3 Mar 2015 12:00:00 +0100
Subject: [PATCH] haskell-Xauth: fix reference to libXau system library

---
 pkgs/development/haskell-modules/hackage-packages.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 82d77caa85f..d2ffd5dab46 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -15132,17 +15132,17 @@ self: {
      }) {};
 
   "Xauth" = callPackage
-    ({ mkDerivation, base, xau }:
+    ({ mkDerivation, base, libXau }:
      mkDerivation {
        pname = "Xauth";
        version = "0.1";
        sha256 = "1mvflp6y1nz9961gngbwk0b7wr8sx3p6296jfvvb6ln1kvm2scxs";
        buildDepends = [ base ];
-       pkgconfigDepends = [ xau ];
+       pkgconfigDepends = [ libXau ];
        description = "A binding to the X11 authentication library";
        license = stdenv.lib.licenses.bsd3;
        hydraPlatforms = stdenv.lib.platforms.none;
-     }) { xau = null;};
+     }) { inherit (pkgs.xlibs) libXau;};
 
   "Xec" = callPackage
     ({ mkDerivation, base, binary, bytestring, cairo, containers