libiodbc: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:27 +00:00
parent 0df915c75c
commit be79fc5c33
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk2, Carbon, useGTK ? false }:
{ config, stdenv, fetchurl, pkgconfig, gtk2, Carbon
, useGTK ? config.libiodbc.gtk or false }:
stdenv.mkDerivation rec {
name = "libiodbc-3.52.12";

View File

@ -10964,7 +10964,6 @@ in
libinotify-kqueue = callPackage ../development/libraries/libinotify-kqueue { };
libiodbc = callPackage ../development/libraries/libiodbc {
useGTK = config.libiodbc.gtk or false;
inherit (darwin.apple_sdk.frameworks) Carbon;
};