dark-mode-notify: remove code for macOS < 11
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
swift,
|
||||
swiftpm,
|
||||
swiftPackages,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
# Use the same stdenv, including clang, as Swift itself
|
||||
@@ -26,18 +25,12 @@ swiftPackages.stdenv.mkDerivation (final: {
|
||||
swiftpm
|
||||
];
|
||||
|
||||
buildInputs = with darwin.apple_sdk.frameworks; [
|
||||
Foundation
|
||||
Cocoa
|
||||
];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = {
|
||||
description = "Run a script whenever dark mode changes in macOS";
|
||||
homepage = "https://github.com/bouk/dark-mode-notify";
|
||||
# Doesn't build on x86_64 because of some CoreGraphics issue, even with SDK 11.0
|
||||
platforms = [ "aarch64-darwin" ];
|
||||
platforms = lib.platforms.darwin;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ YorikSar ];
|
||||
mainProgram = "dark-mode-notify";
|
||||
|
||||
Reference in New Issue
Block a user