neochat: Work around AArch64 not using gcc11Stdenv

This commit is contained in:
Samuel Dionne-Riel 2022-09-20 21:09:40 -04:00
parent 28cbbb8bd4
commit 64e990c7f6
2 changed files with 17 additions and 6 deletions

View File

@ -73,7 +73,7 @@ let
krecorder = callPackage ./krecorder.nix {};
ktrip = callPackage ./ktrip.nix {};
kweather = callPackage ./kweather.nix {};
neochat = callPackage ./neochat.nix {};
neochat = callPackage ./neochat.nix { inherit srcs; };
plasma-dialer = callPackage ./plasma-dialer.nix {};
plasma-phonebook = callPackage ./plasma-phonebook.nix {};
plasma-settings = callPackage ./plasma-settings.nix {};

View File

@ -1,9 +1,13 @@
{ mkDerivation
{ gcc11Stdenv
, lib
, pkg-config
, srcs
, cmake
, cmark
, extra-cmake-modules
, pkg-config
, wrapQtAppsHook
, cmark
, kconfig
, kdbusaddons
, ki18n
@ -25,10 +29,17 @@
, sonnet
}:
mkDerivation rec {
# Workaround for AArch64 not using GCC11 yet.
gcc11Stdenv.mkDerivation rec {
pname = "neochat";
inherit (srcs.neochat) version src;
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
wrapQtAppsHook
];
buildInputs = [
cmark