dark-mode-notify: sync clang with swift itself

Use the same stdenv and clang as part of it as Swift uses. Leverages
workaround from https://github.com/NixOS/nixpkgs/pull/296082 for
the issue https://github.com/NixOS/nixpkgs/issues/295322.
This commit is contained in:
Yuriy Taraday 2024-03-18 11:38:42 +01:00
parent cb382fec42
commit 1f155ddb28

@ -3,10 +3,13 @@
, stdenv
, swift
, swiftpm
, swiftPackages
, darwin
}:
stdenv.mkDerivation (final: {
# Use the same stdenv, including clang, as Swift itself
# Fixes build issues, see https://github.com/NixOS/nixpkgs/pull/296082 and https://github.com/NixOS/nixpkgs/issues/295322
swiftPackages.stdenv.mkDerivation (final: {
pname = "dark-mode-notify";
version = "unstable-2022-07-18";