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

@ -5,6 +5,7 @@
./fzf.nix
./multiplexers.nix
./nix.nix
./nix-ld.nix
];
environment.systemPackages = with pkgs; [
@ -97,15 +98,6 @@
'';
};
programs.nix-ld.enable = true;
environment.variables = {
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
pkgs.stdenv.cc.cc
];
NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
};
programs.iftop.enable = true;
programs.mosh.enable = true;

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";
#};
}