summary refs log tree commit diff
path: root/pkgs/tools/networking/x11-ssh-askpass
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-27 21:44:21 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-28 20:14:42 -0600
commit3f00c67ef9ec34637b007832bf0ec9d0e44a3602 (patch)
treea334a348bef68c944107848acb18a810a7ff37b1 /pkgs/tools/networking/x11-ssh-askpass
parentf0077dc7dad7bec5f2823834a6337cb5db1a2299 (diff)
downloadnixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.tar
nixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.tar.gz
nixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.tar.bz2
nixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.tar.lz
nixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.tar.xz
nixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.tar.zst
nixpkgs-3f00c67ef9ec34637b007832bf0ec9d0e44a3602.zip
x11-ssh-askpass: cleanup
Diffstat (limited to 'pkgs/tools/networking/x11-ssh-askpass')
-rw-r--r--pkgs/tools/networking/x11-ssh-askpass/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/networking/x11-ssh-askpass/default.nix b/pkgs/tools/networking/x11-ssh-askpass/default.nix
index 896a2ff4daa..1b9d5534903 100644
--- a/pkgs/tools/networking/x11-ssh-askpass/default.nix
+++ b/pkgs/tools/networking/x11-ssh-askpass/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, xlibsWrapper, imake }:
+{ stdenv, fetchurl, xlibsWrapper, imake, gccmakedep }:
 
 stdenv.mkDerivation {
   name = "x11-ssh-askpass-1.2.4.1";
@@ -10,16 +10,16 @@ stdenv.mkDerivation {
     sha256 = "620de3c32ae72185a2c9aeaec03af24242b9621964e38eb625afb6cdb30b8c88";
   };
 
-  nativeBuildInputs = [ imake ];
+  nativeBuildInputs = [ imake gccmakedep ];
   buildInputs = [ xlibsWrapper ];
 
   configureFlags = [
     "--with-app-defaults-dir=$out/etc/X11/app-defaults"
   ];
 
-  preBuild = ''
-    xmkmf
-    make includes
+  dontUseImakeConfigure = true;
+  postConfigure = ''
+    xmkmf -a
   '';
 
   installTargets = [ "install" "install.man" ];