1 { pkgs, lib, config, ... }:
5 # TODO: remove after liburing-2.1
6 liburing = super.liburing.overrideAttrs (old: {
8 url = "http://git.kernel.dk/${old.pname}";
9 rev = "cb350a8989adbd65db574325d9a86d5437d800da";
10 sha256 = "sha256-ZMev2RjiswuR9seVwHbnVUtnpaPW/XJbelBgvIuYiGg=";
13 gnupg = super.gnupg.override {
14 # Wants polkit which wants spidermonkey (slow to compile)
17 systemd = super.systemd.override {
18 # Wants tpm2-tss which does not cross-compile
20 # Does not cross-compile :(
23 # https://logs.nix.samueldr.com/nixos/2019-07-23#2416964;
24 xorg = super.xorg.overrideScope' (ofinal: osuper: {
25 fontadobe100dpi = final.hello;
26 fontadobe75dpi = final.hello;
27 fontcursormisc = final.hello;
28 fontmiscmisc = final.hello;
30 # Perl's ModuleBuild does not cross-compile
31 # https://github.com/NixOS/nixpkgs/issues/66741#issuecomment-944831760
32 xdg-utils = final.hello;
33 procmail = final.hello;
34 noto-fonts-emoji = final.hello;
35 x11_ssh_askpass = final.hello;
36 dconf = super.dconf.overrideAttrs (old: {
39 # Need gobject-instrospection which does not cross-compile
41 # Depends on judy which does not cross-compile
42 stress-ng = final.hello;
45 #environment.noXlibs = true;
46 fonts.fontconfig.enable = false;
47 # lesspipe does not cross-compile
48 programs.less.enable = lib.mkForce false;
49 programs.mosh.enable = false;
50 programs.traceroute.enable = false;
51 security.apparmor.enable = false;
52 services.udisks2.enable = false;