Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-04-16 18:13:19 +00:00
committed by GitHub
34 changed files with 2046 additions and 1365 deletions
@@ -43,14 +43,11 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
# Must replace GNU Make by bmake
buildPhase = with lib; concatStringsSep " " (
[ "bmake" "-j$NIX_BUILD_CORES" "PREFIX=$out" ]
makeFlags = with lib; [ "PREFIX=$(out)" ]
++ optional stdenv.isLinux "WITH_POSIX_C_SOURCE=YES"
++ mapAttrsToList (feat: enabled:
optionalString enabled "WITH_${toUpper feat}=YES"
) features
);
) features;
# Can't suid in nix store
# Run hikari as root (it will drop privileges as early as possible), or create
@@ -59,13 +56,6 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace '4555' '555'
'';
installPhase = ''
bmake \
PREFIX=$out \
install
runHook postInstall
'';
meta = with lib; {
description = "Stacking Wayland compositor which is actively developed on FreeBSD but also supports Linux";
homepage = "https://hikari.acmelabs.space";