Commit Graph

41 Commits

Author SHA1 Message Date
Robert Scott
12eea1c636 treewide/development: add sourceType binaryNativeCode for many packages
excluding compilers and interpreters as some new tricks may be
needed to cover their various bootstrapping processes properly
2022-06-16 20:12:04 +01:00
Rick van Schijndel
7d58a30286
treewide: pkgs/development/libraries: mark broken for darwin 2022-05-30 13:42:53 +02:00
Julien Debon
6bfb28f90d unixODBCDrivers.redshift: init at 1.4.49.1000
Add Amazon Redshift ODBC driver.

As Amazon does not provide sources, we extract the Debian package and manually patchelf.
2022-04-11 07:58:17 +02:00
Alyssa Ross
fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
Janne Heß
a407113593
Merge pull request #143795 from VergeDX/unixODBCDrivers.mariadb 2021-11-15 20:58:03 +01:00
Alyssa Ross
02dfbde639
treewide: use mirror URLs where available
Candidates identified with

	git grep -F "$(grep -v '#' pkgs/build-support/fetchurl/mirrors.nix |
		grep -v nixos.org | grep :// | cut -d '"' -f 2)"

and then manually reviewed and tested.
2021-11-06 01:56:39 +00:00
Vanilla
4543d922bc
mariadb-corporation: 3.1.4 -> 3.1.14 2021-10-30 11:33:26 +08:00
Alyssa Ross
851b719ac6 treewide: use stdenv.hostPlatform.extensions.sharedLibrary where appropriate 2021-10-13 17:39:37 +00:00
Sandro Jäckel
62733b37b4
mysql: deprecate alias 2021-04-04 03:18:57 +02:00
Sandro Jäckel
dcb501f993
kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
Aaron Andersen
e6bfaee09f unixODBCDrivers.msodbcsql: 17-17.5.1.1-1 -> 17.7.1.1-1 2021-01-30 18:20:24 -05:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Euan Kemp
cb0f158176 unixODBCDrivers: fix sqlite driver to link with sqlite3
Without this change, it doesn't actually link to libsqlite3.so
correctly, and so the output driver has unresolved symbols.
2020-06-08 22:02:30 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Spencer Janssen
8e39b6671d unixODBCDrivers.msodbcsql17: 17.4.1.1 -> 17.5.1.1 2020-02-07 16:32:11 -06:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Jamie Brandon
fa9a981faf unixODBCDrivers.mariadb: build against subrepo instead of libmysqlclient
For unknown reasons, building against libmysqlclient results in
unixODBC reporting an error when trying to load the driver, but
building against the subrepo works fine.

Fixes https://github.com/NixOS/nixpkgs/pull/73928
2019-11-23 13:08:12 +00:00
Aaron Andersen
18ad0a8028 unixODBCDrivers.msodbcsql17: add missing openssl dependency 2019-10-21 15:04:11 -04:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Izorkin
02812860c8 unixODBCDrivers.mariadb: 2.0.10 -> 3.1.2 2019-09-09 15:55:35 +03:00
Izorkin
329a88efa7 treewide: replace mysql.connector-c to libmysqlclient 2019-09-09 15:55:34 +03:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
Spencer Janssen
6e672974cc unixODBCDrivers.msodbcsql17: 17.2.0.1 -> 17.4.1.1 2019-08-27 17:58:43 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Aaron Andersen
7d44ceeb2c mysql55: remove package 2019-06-25 17:26:48 -04:00
Spencer Janssen
cbaac40623 unixODBCDrivers.msodbcsql17: init at 17.2.0.1 (#44140)
* unixODBCDrivers.msodbcsql17: init at 17.2.0.1

* unixODBCDrivers.msodbcsql17: use autoPatchelfHook

* unixODBCDrivers.msodbcsql17: use getLib
2018-08-01 22:46:53 -04:00
Richard Szibele
5db2de0ea8 unixODBCDrivers.mariadb: fix library file reference required for ODBC (#39841)
connections with MariaDB. Fixes #39835
2018-05-02 20:06:48 +02:00
Ryan Mulligan
17c1a6da69 unixODBCDrivers.psql: 09.05.0210 -> 10.01.0000
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 10.01.0000 with grep in /nix/store/bvl6a27bgljx6ps5sxmv8cy980hmpdqc-psqlodbc-10.01.0000
- directory tree listing: https://gist.github.com/6dac0c7dcf593adfd4d8cc805483dba1
2018-03-18 08:07:06 -07:00
Robin Gloster
6903ea6050 treewide: libmysql -> mysql.connector-c 2017-12-29 02:18:35 +01:00
Izorkin
4ef619dadd mariadb: replace to connector-c 2017-12-29 02:18:35 +01:00
Vladimír Čunát
24805b00c0 unixODBCDrivers.mariadb: fix evaluation
... after the parent merge, but the package was broken anyway.
2016-08-07 22:33:19 +02:00
Nikolay Amiantov
1a3f7d553d unixODBCDrivers: update and refactor, mark mysql packages as broken 2016-04-26 21:18:01 +03:00
Mathnerd314
eb7404d97a all-packages: Use callPackage where possible 2015-09-14 22:27:19 -06:00
William A. Kennington III
a604b42480 mysql: Use libs in place of the binary mysql 2015-04-01 16:46:53 -07:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Bjørn Forsman
15eed826b6 psqlodbc: update from 8.3 to 9.3 (fixes build) 2014-02-03 21:08:27 +01:00
Bjørn Forsman
700c1323b8 sqliteodbc: fix library location
Commit d7d3c8fd82 (sqliteodbc: update to
0.995, add more metadata) mistakenly moved libraries from $out/lib to
$out (or rather stopped moving them from $out to $out/lib).

Move them back to $out/lib where they're expected to be and referred to
by the /etc/odbcinst.ini snippet.
2014-02-03 18:13:26 +01:00
Vladimir Still
d7d3c8fd82 sqliteodbc: update to 0.995, add more metadata
close #1122
2013-10-30 19:00:09 +02:00
Marc Weber
638f4bf121 unixODBC sqlite support
svn path=/nixpkgs/trunk/; revision=12059
2008-06-12 15:54:57 +00:00
Marc Weber
9dd45a58cf added unixODBCDrivers expression containing unixODBC Postgres connector driver
integrating prior pkgs/development/libraries/mysql-connector-odbc/default.nix driver
Also provides ini strings for assembling /etc/odbcinst.ini

svn path=/nixpkgs/trunk/; revision=12044
2008-06-11 23:03:30 +00:00