Skip to content

Commit

Permalink
eclipse: import builder instead of callPackage
Browse files Browse the repository at this point in the history
Switched from callPackage to import so that dependencies are passed
instead of being grabbed from pkgs.

[Bjørn: wrap overlong line.]

(cherry picked from commit 7582da5)
  • Loading branch information
zraexy authored and bjornfor committed Mar 5, 2017
1 parent a9d2aaa commit 9bc2992
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/applications/editors/eclipse/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
, freetype, fontconfig, libX11, libXext, libXrender, zlib
, glib, libXtst, jdk
, glib, gtk2, libXtst, jdk
, webkitgtk2 ? null # for internal web browser
, buildEnv, writeText, runCommand
, callPackage
Expand All @@ -10,7 +10,10 @@ assert stdenv ? glibc;

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

Expand Down

0 comments on commit 9bc2992

Please sign in to comment.