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:
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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user