fix build error

This commit is contained in:
2024-11-30 18:56:55 +08:00
parent 49e981912a
commit ea5b4f0ac5
15 changed files with 23 additions and 20 deletions

View File

@@ -19,14 +19,14 @@
# Enable languages support
# languages.cplusplus.enable = true;
env = {
NIX_LD_LIBRARY_PATH = with pkgs;
lib.makeLibraryPath [
# stdenv_32bit.cc.cc
glibc_multi
];
NIX_LD = with pkgs; lib.fileContents "${stdenv_32bit.cc}/nix-support/dynamic-linker";
};
# env = {
# NIX_LD_LIBRARY_PATH = with pkgs;
# lib.makeLibraryPath [
# stdenv_32bit.cc.cc
# glibc_multi
# ];
# NIX_LD = with pkgs; lib.fileContents "${stdenv_32bit.cc}/nix-support/dynamic-linker";
# };
# When enter shell, exec ...
enterShell = ''