fix nix-ld on pneuma

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Cadey Ratio 2023-03-04 11:02:43 -05:00
parent 524801da32
commit 577cc10640
1 changed files with 8 additions and 1 deletions

View File

@ -6,8 +6,15 @@
users.motd = builtins.readFile ./motd;
services.tailscale.port = 15430;
environment.systemPackages = with pkgs; [ wasmtime weechat ];
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.nix-ld.enable = lib.mkForce false;
services.tor = {
enable = true;
client.enable = true;