mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
lxqt-build-tools: fix darwin detection
This commit is contained in:
parent
de83b9baff
commit
3e6d8a74af
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
@ -21,6 +22,13 @@ mkDerivation rec {
|
||||
sha256 = "0zhcv6cbdn9fr5lpglz26gzssbxkpi824sgc0g7w3hh1z6nqqf8l";
|
||||
};
|
||||
|
||||
# Nix clang on darwin identifies as 'Clang', not 'AppleClang'
|
||||
# Without this, dependants fail to link.
|
||||
postPatch = ''
|
||||
substituteInPlace cmake/modules/LXQtCompilerSettings.cmake \
|
||||
--replace AppleClang Clang
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user