diff --git a/configuration.nix b/configuration.nix index aa06a31..baaeb9c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -111,6 +111,7 @@ }; sway.enable = true; zsh.enable = true; + nix-ld.enable = true; }; users = { diff --git a/nix-ld.nix b/nix-ld.nix new file mode 100644 index 0000000..1e1b7a6 --- /dev/null +++ b/nix-ld.nix @@ -0,0 +1,7 @@ +with import {}; + mkShell { + NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ + stdenv.cc.cc + ]; + NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker"; + }