diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-02-03 17:58:23 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-02-03 18:13:26 +0100 |
commit | 700c1323b8cdebc188ad321ae1ba88ab2938c2e1 (patch) | |
tree | 8cfb40dba44532da4fa9a7feed324dec982afc88 | |
parent | 34484e65f3098088ba8c3101b576e729ad66aa91 (diff) | |
download | nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.tar nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.tar.gz nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.tar.bz2 nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.tar.lz nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.tar.xz nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.tar.zst nixlib-700c1323b8cdebc188ad321ae1ba88ab2938c2e1.zip |
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.
-rw-r--r-- | pkgs/development/libraries/unixODBCDrivers/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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 = { |