eclipse: import builder instead of callPackage

Switched from callPackage to import so that dependencies are passed
instead of being grabbed from pkgs.

[Bjørn: wrap overlong line.]
This commit is contained in:
zraexy 2017-03-04 10:21:25 -09:00 committed by Bjørn Forsman
parent cd18b65432
commit 7582da5d8b
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper { stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
, freetype, fontconfig, libX11, libXext, libXrender, zlib , freetype, fontconfig, libX11, libXext, libXrender, zlib
, glib, libXtst, jdk , glib, gtk2, libXtst, jdk
, webkitgtk2 ? null # for internal web browser , webkitgtk2 ? null # for internal web browser
, buildEnv, writeText, runCommand , buildEnv, writeText, runCommand
, callPackage , callPackage
@ -10,7 +10,10 @@ assert stdenv ? glibc;
rec { rec {
buildEclipse = callPackage ./build-eclipse.nix { }; buildEclipse = import ./build-eclipse.nix {
inherit stdenv makeDesktopItem freetype fontconfig libX11 libXrender zlib
jdk glib gtk2 libXtst webkitgtk2 makeWrapper;
};
### Eclipse CPP ### Eclipse CPP