on iko/ghcjs-patch-master help sign in
Allowing projects with odbc or hdbc-odbc to be built (#997)

* Adding odbc alias to the unixODBC package * Adding odbc alias to the unixODBC package * Adding odbc alias to the unixODBC package * Adding comments about odbc package dependencies

commit17e2b7c69f0eaa732f2f63cfe53a0da512798c8f authorAlexander Shestakov <a.shestakov@itransition.com> dateFri 15 Jan 2021, 12:10 (6 years ago) parent9cbb526
1 file changed+4
lib/system-nixpkgs-map.nix+4
lib/system-nixpkgs-map.nix+4
@@ -73,6 +73,10 @@ with pkgs;
7373 boost_wave = [ boost ];
7474 boost_wserialization = [ boost ];
7575 tensorflow = [ libtensorflow ];
76+ # odbc package requires both freetds (https://github.com/fpco/odbc/commit/9457377089dbe84d8c329560fa1bc1a2797c821d)
77+ # and unixODBC packages to be installed in order to successfully
78+ # compile C sources (https://github.com/fpco/odbc/blob/master/cbits/odbc.c)
79+ odbc = [ freetds unixODBC ];
7680 opencv = [ opencv3 ];
7781 icuuc = [ icu ];
7882 icui18n = [ icu ];