forked from mirrors/nixpkgs
spacebar: Work around AArch64 not using gcc11Stdenv
This commit is contained in:
parent
64e990c7f6
commit
3a2ba06a83
|
@ -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
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue