Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nix/pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ stdenv.mkDerivation {
libtool
lowdown
pkgconf
protobuf
py3
unzip
which
Expand All @@ -52,6 +53,7 @@ stdenv.mkDerivation {
gmp
jq
libsodium
openssl
sqlite
zlib
];
Expand Down
13 changes: 12 additions & 1 deletion nix/shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@
}:
{
devShells = {
default = pkgs.mkShell { inputsFrom = [ config.packages.default ]; };
default = pkgs.mkShell {
inputsFrom = [ config.packages.default ];
buildInputs = [
pkgs.stdenv.cc.cc.lib
pkgs.uv
];
# this fixes the following error when running uv pytest tests/:
# ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
'';
};
postgres = pkgs.mkShell { inputsFrom = [ config.packages.cln-postgres ]; };
rust = pkgs.craneLib.devShell {
checks = {
Expand Down
Loading