fix nix_ld

This commit is contained in:
Grigory Shipunov 2023-07-24 00:09:31 +02:00
parent 5b47cc39c1
commit 5c0a4012c3
4 changed files with 39 additions and 240 deletions

View file

@ -0,0 +1,15 @@
{ pkgs, lib, ... }:
{
programs.nix-ld ={
enable = true;
libraries = [
pkgs.stdenv.cc.cc
];
};
#environment.variables = {
# NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
# pkgs.stdenv.cc.cc
# ];
# #NIX_LD = "$(cat ${pkgs.stdenv.cc}/nix-support/dynamic-linker";
#};
}