3
0
Fork 0
forked from mirrors/nixpkgs

spacebar: Work around AArch64 not using gcc11Stdenv

This commit is contained in:
Samuel Dionne-Riel 2022-09-20 21:09:09 -04:00
parent 64e990c7f6
commit 3a2ba06a83
2 changed files with 8 additions and 2 deletions

View file

@ -78,7 +78,7 @@ let
plasma-phonebook = callPackage ./plasma-phonebook.nix {};
plasma-settings = callPackage ./plasma-settings.nix {};
plasmatube = callPackage ./plasmatube.nix {};
spacebar = callPackage ./spacebar.nix {};
spacebar = callPackage ./spacebar.nix { inherit srcs; };
};
in lib.makeScope libsForQt5.newScope packages

View file

@ -1,8 +1,11 @@
{ lib
, mkDerivation
, gcc11Stdenv
, srcs
, cmake
, extra-cmake-modules
, wrapQtAppsHook
, kcontacts
, ki18n
@ -18,12 +21,15 @@
, qtquickcontrols2
}:
mkDerivation rec {
# Workaround for AArch64 not using GCC11 yet.
gcc11Stdenv.mkDerivation rec {
pname = "spacebar";
inherit (srcs.spacebar) version src;
nativeBuildInputs = [
cmake
extra-cmake-modules
wrapQtAppsHook
];
buildInputs = [