mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
nixos/terminfo: always use buildPlatform's terminfo (#309108)
Many terminal packages don't cross compile, so the `terminfo` NixOS module was not usable for nixos configurations that are cross-compiled. Terminfo files (AFAIK) are small files that contain data about terminal capability, so they should never have any runtime dependencies that would cause any executables or otherwise incompatible outputs from the `buildPlatform` to leak into the nixos config's closure.
This commit is contained in:
parent
e1319ca3ab
commit
91d7945974
@ -31,7 +31,7 @@ with lib;
|
||||
# attrNames (filterAttrs
|
||||
# (_: drv: (builtins.tryEval (isDerivation drv && drv ? terminfo)).value)
|
||||
# pkgs)
|
||||
environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs; [
|
||||
environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs.pkgsBuildBuild; [
|
||||
alacritty
|
||||
contour
|
||||
foot
|
||||
|
Loading…
Reference in New Issue
Block a user