Files
nix-config/modules/darwin/broken-packages.nix
2024-03-11 14:16:19 +08:00

33 lines
705 B
Nix

{lib, ...}:
# ===================================================================
# Remove packages that are not well supported for the Darwin platform
# ===================================================================
let
brokenPackages = [
"terraform"
"terraformer"
"packer"
"git-trim"
"conda"
"mitmproxy"
"insomnia"
"wireshark"
"ventoy"
"jsonnet"
"zls"
"verible"
"gdb"
];
in {
nixpkgs.overlays = [
(_: super: let
removeUnwantedPackages = pname:
lib.warn "the ${pname} has been removed on the darwin platform"
super.emptyDirectory;
in
lib.genAttrs
brokenPackages
removeUnwantedPackages)
];
}