Skip to content

Commit 08e591d

Browse files
authored
Merge pull request #790 from opsmill/wvd-20260202-update-nix-flake
add libstdc++ to flake.nix to support Python dependencies that depend on compiled libraries
2 parents 222f077 + b404221 commit 08e591d

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
in
1414
{
1515
devShells.default = pkgs.mkShell {
16-
buildInputs = [
17-
pkgs.git
18-
pkgs.gh
19-
pkgs.vale
16+
buildInputs = with pkgs; [
17+
git
18+
gh
19+
vale
20+
stdenv.cc.cc.lib
2021
];
2122

2223
shellHook = ''
@@ -26,6 +27,9 @@
2627
echo " - gh (GitHub CLI): $(gh --version | head -n1)"
2728
echo " - vale (prose linter): $(vale --version)"
2829
'';
30+
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
31+
pkgs.stdenv.cc.cc.lib
32+
];
2933
};
3034
}
3135
);

0 commit comments

Comments
 (0)