forked from mirrors/nixpkgs
5048b0d1f9
Added a wrapper package that creates symlinks to OpenSSL libraries with the actual versions, because we have 1.0.2 with .so-suffix .1.0.0 and cl-async-ssl is unhappy because of that. I continue to dislike cl-postgres and simple-date upstream packaging.
17 lines
681 B
Nix
17 lines
681 B
Nix
with import ../../../default.nix {};
|
|
let
|
|
openssl_lib_marked = import ./openssl-lib-marked.nix;
|
|
self = rec {
|
|
name = "ql-to-nix";
|
|
env = buildEnv { name = name; paths = buildInputs; };
|
|
buildInputs = [
|
|
gcc stdenv
|
|
openssl fuse libuv mysql.connector-c libfixposix libev sqlite
|
|
freetds
|
|
lispPackages.quicklisp-to-nix lispPackages.quicklisp-to-nix-system-info
|
|
];
|
|
CPATH = "${libfixposix}/include";
|
|
LD_LIBRARY_PATH = "${openssl.out}/lib:${fuse}/lib:${libuv}/lib:${libev}/lib:${mysql.connector-c}/lib:${mysql.connector-c}/lib/mysql:${postgresql.lib}/lib:${sqlite.out}/lib:${libfixposix}/lib:${freetds}/lib:${openssl_lib_marked}/lib";
|
|
};
|
|
in stdenv.mkDerivation self
|