mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
libdbi-drivers: Slight refactor
This commit is contained in:
parent
18c98b5513
commit
5014bcbb88
|
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0m680h8cc4428xin4p733azysamzgzcmv4psjvraykrsaz6ymlj3";
|
||||
};
|
||||
|
||||
buildInputs = [ libdbi sqlite postgresql ] ++ optional (mysql != null) mysql;
|
||||
buildInputs = [ libdbi sqlite postgresql ]
|
||||
++ optional (mysql != null) mysql.lib;
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/SQLITE3_LIBS/ s/-lsqlite/-lsqlite3/' configure;
|
||||
|
|
Loading…
Reference in a new issue