about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2024-03-19 04:17:43 +0700
committerGitHub <noreply@github.com>2024-03-19 04:17:43 +0700
commit9f904a1431d0f9c06bb55a4b59ef21b483be9d57 (patch)
tree5d32f1c110fd53a06d1cf3ccc074e3e607c62c90 /pkgs
parentf2ac62404a9ba9f9cf7cb885ebab80f50de73a47 (diff)
parent1f155ddb2843611aebbf4db822205191583c2884 (diff)
Merge pull request #296878 from YorikSar/dark-mode-notify-clang-fix
dark-mode-notify: sync clang with swift itself
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/da/dark-mode-notify/package.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/by-name/da/dark-mode-notify/package.nix b/pkgs/by-name/da/dark-mode-notify/package.nix
index 777400e8057c6..51ecb1d38397a 100644
--- a/pkgs/by-name/da/dark-mode-notify/package.nix
+++ b/pkgs/by-name/da/dark-mode-notify/package.nix
@@ -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";