dexed: Fix darwin build
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
gitUpdater,
|
||||
cmake,
|
||||
pkg-config,
|
||||
fetchpatch,
|
||||
libx11,
|
||||
libxrandr,
|
||||
libxinerama,
|
||||
@@ -27,6 +28,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-9EbaME3kw2ptCWpaV9CnM0j5HOof264s5iFoOTcjwNg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-min-macos-version";
|
||||
# https://github.com/asb2m10/dexed/pull/523
|
||||
url = "https://github.com/asb2m10/dexed/commit/e41f1b8147bb6a5b7e9330a7ec6a598a1e74a524.patch";
|
||||
sha256 = "sha256-8ZrAirXUACk8BJUPfA/LQORCUOqjSTsKoS9HFyrkvV8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail 'set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE INTERNAL "")' '# Not forcing output archs'
|
||||
|
||||
Reference in New Issue
Block a user