diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 6c58fbd3689a..4d8b2fe27c60 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -19,8 +19,9 @@ stdenv.mkDerivation { inherit python; # pass it so that the same version can be used in hg2git pythonPackages = [ curses ]; - buildInputs = [ python makeWrapper docutils unzip ] - ++ stdenv.lib.optional stdenv.isDarwin ApplicationServices; + buildInputs = [ python makeWrapper docutils unzip ]; + + propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin ApplicationServices; makeFlags = "PREFIX=$(out)";