fix nix_ld
This commit is contained in:
parent
5b47cc39c1
commit
5c0a4012c3
4 changed files with 39 additions and 240 deletions
15
modules/basic-tools/nix-ld.nix
Normal file
15
modules/basic-tools/nix-ld.nix
Normal 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";
|
||||
#};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue