I want to contribute to a open source program and that program requires libstdc++.so.6 as a dependency
programs.nix-ld.enable = true;
i wrote this in my configuration file and it is still not working
although when i am using this nis shell to run it is working fine
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = [
pkgs.python312
pkgs.gcc
];
shellHook = ''
# Expose libstdc++.so.6 to Python native extensions
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
echo " Python: $(python --version)"
echo " libstdc++ path: ${pkgs.stdenv.cc.cc.lib}/lib"
'';
}
the shell is working completely fine
the only problem is my project requires being ran globally as there are multiple kubernetes clusters and demo application that needs to see each other which isn’t possible in a nix shell
can some one please help me with this