diff --git a/home/base/gui/dev-tools.nix b/home/base/gui/dev-tools.nix index f09eebfd..7cced77d 100644 --- a/home/base/gui/dev-tools.nix +++ b/home/base/gui/dev-tools.nix @@ -14,7 +14,6 @@ in qrtool # decode/encode qr code ] # mitmproxy & wireshark don't build on darwin - # (removed there, see modules/darwin/broken-packages.nix) ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ mitmproxy # http/https proxy tool wireshark # network analyzer diff --git a/modules/README.md b/modules/README.md index da55b8fb..70609583 100644 --- a/modules/README.md +++ b/modules/README.md @@ -19,7 +19,6 @@ modules/ ├── darwin/ # macOS-specific modules │ ├── README.md │ ├── apps.nix # macOS applications -│ ├── broken-packages.nix # Package compatibility fixes │ ├── default.nix │ ├── nix-core.nix # Core Nix configuration │ ├── security.nix # macOS security settings diff --git a/modules/darwin/broken-packages.nix b/modules/darwin/broken-packages.nix deleted file mode 100644 index 99a05cc6..00000000 --- a/modules/darwin/broken-packages.nix +++ /dev/null @@ -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 - ) - ]; -}