lxqt-build-tools: fix darwin detection
This commit is contained in:
parent
de83b9baff
commit
3e6d8a74af
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
@ -21,6 +22,13 @@ mkDerivation rec {
|
|||||||
sha256 = "0zhcv6cbdn9fr5lpglz26gzssbxkpi824sgc0g7w3hh1z6nqqf8l";
|
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 = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user