Merge pull request #134357 from Uthar/search-paths

lisp-modules: use lib.makeSearchPath in shell.nix
This commit is contained in:
Michael Raskin 2021-08-16 20:39:49 +00:00 committed by GitHub
commit 18c7c355fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,28 @@ self = rec {
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:${libmysqlclient}/lib:${libmysqlclient}/lib/mysql:${postgresql.lib}/lib:${sqlite.out}/lib:${libfixposix}/lib:${freetds}/lib:${openssl_lib_marked}/lib:${glib.out}/lib:${gdk-pixbuf}/lib:${cairo}/lib:${pango.out}/lib:${gtk3}/lib:${webkitgtk}/lib:${gobject-introspection}/lib";
CPATH = lib.makeSearchPath "include"
[ libfixposix
];
LD_LIBRARY_PATH = lib.makeLibraryPath
[ cairo
freetds
fuse
gdk-pixbuf
glib
gobject-introspection
gtk3
libev
libfixposix
libmysqlclient
libuv
openssl
openssl_lib_marked
pango
postgresql
sqlite
webkitgtk
]
+ ":${libmysqlclient}/lib/mysql";
};
in stdenv.mkDerivation self