blob: f5169e2bb02de593307c313a93fbcfeaddaa2c2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
pkgs ? import ../../../.. { },
}:
pkgs.mkShell {
nativeBuildInputs = [
pkgs.pkg-config
pkgs.libffi # libffi as native input
];
buildInputs = with pkgs; [
bundix
git
libiconv
libpcap
libxml2
libxslt
postgresql
ruby.devEnv
sqlite
];
# Ensure that pkg-config finds libffi
shellHook = ''
export PKG_CONFIG_PATH="${pkgs.libffi.out}/lib/pkgconfig:$PKG_CONFIG_PATH"
echo "PKG_CONFIG_PATH set to: $PKG_CONFIG_PATH"
'';
}
|