2022-11-21 15:12:09 -06:00
|
|
|
{ lib, config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# for compatibility add zsh to list of /etc/shells
|
|
|
|
environment.shells = with pkgs; [ zsh ];
|
|
|
|
|
|
|
|
environment.etc = {
|
2023-01-17 12:32:42 -06:00
|
|
|
issue.source = ../etc/issue;
|
2022-11-21 15:12:09 -06:00
|
|
|
};
|
|
|
|
|
2023-01-25 21:59:27 -06:00
|
|
|
environment.variables = {
|
|
|
|
# NIX_LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
|
|
|
|
# stdenv.cc.cc
|
|
|
|
# openssl
|
|
|
|
#
|
|
|
|
# zlib # for delta
|
|
|
|
# ];
|
|
|
|
# this setting means needing to build --impure
|
|
|
|
NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
|
|
|
|
};
|
2022-11-21 15:12:09 -06:00
|
|
|
}
|