diff --git a/pkgs/development/libraries/Xaw3d/default.nix b/pkgs/development/libraries/Xaw3d/default.nix index 8b3a405f3e1a..f4af1ec13a84 100644 --- a/pkgs/development/libraries/Xaw3d/default.nix +++ b/pkgs/development/libraries/Xaw3d/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, x11, imake, makedepend, libXmu, libXpm, libXp, bison, flex}: +{stdenv, fetchurl, x11, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex}: stdenv.mkDerivation { name = "Xaw3d-1.5E"; @@ -8,6 +8,6 @@ stdenv.mkDerivation { md5 = "29ecfdcd6bcf47f62ecfd672d31269a1"; }; patches = [./config.patch]; - buildInputs = [x11 imake makedepend libXmu libXpm libXp bison flex]; + buildInputs = [x11 imake gccmakedep libXmu libXpm libXp bison flex]; propagatedBuildInputs = [x11 libXmu]; } diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index b66d7ade659b..56f662447593 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -1137,8 +1137,7 @@ rec { Xaw3d = import ../development/libraries/Xaw3d { inherit fetchurl stdenv x11 bison; flex = flexnew; - # !!! makedepend is impure - inherit (xlibs) imake makedepend libXmu libXpm libXp; + inherit (xlibs) imake gccmakedep libXmu libXpm libXp; }; libdrm = import ../development/libraries/libdrm {