From 700c1323b8cdebc188ad321ae1ba88ab2938c2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 3 Feb 2014 17:58:23 +0100 Subject: [PATCH] sqliteodbc: fix library location Commit d7d3c8fd828cf6aba4d511be1927458507422a67 (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. --- pkgs/development/libraries/unixODBCDrivers/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/unixODBCDrivers/default.nix b/pkgs/development/libraries/unixODBCDrivers/default.nix index 47925520ab47..a50aff1922d6 100644 --- a/pkgs/development/libraries/unixODBCDrivers/default.nix +++ b/pkgs/development/libraries/unixODBCDrivers/default.nix @@ -91,8 +91,11 @@ args : with args; configureFlags = "--with-sqlite3=${sqlite} --with-odbc=${unixODBC}"; + # move libraries to $out/lib where they're expected to be postInstall = '' - mkdir -p $out/lib + mkdir -p "$out/lib" + mv "$out"/*.so "$out/lib" + mv "$out"/*.la "$out/lib" ''; meta = {