* libiodbc: don't pass all of Nixpkgs to the package. There is no

reason why this shouldn't work, but it breaks NixOS evaluation on
  x86_64-linux with weird segfaults and assertion failures, probably
  due to a bug in the evaluator or the ATerm library.

svn path=/nixpkgs/trunk/; revision=20953
This commit is contained in:
Eelco Dolstra
2010-04-06 10:50:52 +00:00
parent 5330be5fbb
commit 2aac41a8db
2 changed files with 7 additions and 9 deletions

View File

@@ -1,9 +1,4 @@
a:
let
inherit (a) stdenv fetchurl pkgconfig cg;
inherit (a.gtkLibs) gtk;
in
{ stdenv, fetchurl, pkgconfig, gtk, useGTK ? false }:
stdenv.mkDerivation rec {
name = "libiodbc-3.52.7";
@@ -13,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "d7002cc7e566785f1203f6096dcb49b0aad02a9d9946a8eca5d663ac1a85c0c7";
};
buildInputs = if cg "gtk" false then [ gtk pkgconfig ] else [];
buildInputs = stdenv.lib.optionals useGTK [ gtk pkgconfig ];
meta = {
description = "iODBC driver manager";