mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-03 19:24:00 +01:00
chore(darwin): drop redundant broken-packages overlay
conda/mitmproxy/wireshark are already Linux-gated in the shared home modules, and verible is unreferenced, so replacing them with emptyDirectory is unnecessary.
This commit is contained in:
1 parent
e8f8099011
commit
098ed110d7
3 files changed
-26
No files matched your search
@@ -1,24 +0,0 @@
|
||||
{ lib, ... }:
|
||||
# ===================================================================
|
||||
# Remove packages that are not well supported for the Darwin platform
|
||||
# ===================================================================
|
||||
let
|
||||
brokenPackages = [
|
||||
"conda"
|
||||
"mitmproxy"
|
||||
"wireshark"
|
||||
"verible"
|
||||
];
|
||||
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
|
||||
)
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user