diff --git a/pkgs/development/libraries/opencascade/default.nix b/pkgs/development/libraries/opencascade/default.nix index 56c97f7686e5..ed0d48800ef9 100644 --- a/pkgs/development/libraries/opencascade/default.nix +++ b/pkgs/development/libraries/opencascade/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, mesa, qt4, tcl, tk}: +{stdenv, fetchurl, mesa, qt4, tcl, tk, file}: stdenv.mkDerivation rec { name = "opencascade-6.3.0"; @@ -7,10 +7,9 @@ stdenv.mkDerivation rec { md5 = "52778127974cb3141c2827f9d40d1f11"; }; - buildInputs = [ mesa qt4 tcl tk]; + buildInputs = [ mesa qt4 tcl tk file ]; preConfigure = '' - export LDFLAGS=-L$out/lib cd ros ''; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ab6a5c63f335..8c129538d580 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4620,7 +4620,7 @@ let }; opencascade = import ../development/libraries/opencascade { - inherit fetchurl stdenv mesa qt4 tcl tk; + inherit fetchurl stdenv mesa qt4 tcl tk file; }; openct = import ../development/libraries/openct {