Set NIX_LD globally

This commit is contained in:
Greg Hellings
2024-01-20 21:21:38 -06:00
parent 2a8f40b0a9
commit 406b50b522
+5 -1
View File
@@ -29,6 +29,7 @@
GOBIN = "${config.home.homeDirectory}/src/bin";
EFI_DIR = "${pkgs.OVMF.fd}/FV/";
};
aliases = {
@@ -70,6 +71,9 @@
};
configHeader = builtins.readFile ./xonsh_header.xsh;
configFooter = builtins.readFile ./xonsh_footer.xsh;
configFooter = (builtins.readFile ./xonsh_footer.xsh) + (builtins.concatStringsSep "\n" [
"with open('${pkgs.stdenv.cc}/nix-support/dynamic-linker', 'r') as fp:"
" $NIX_LD = fp.read().strip()"
]);
};
}