hikari: 2.2.2 -> 2.3.0
This commit is contained in:
parent
b79d1b517d
commit
1cb3d84c6a
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "hikari";
|
pname = "hikari";
|
||||||
version = "2.2.2";
|
version = "2.3.0";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://hikari.acmelabs.space/releases/${pname}-${version}.tar.gz";
|
url = "https://hikari.acmelabs.space/releases/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0sln1n5f67i3vxkybfi6xhzplb45djqyg272vqkv64m72rmm8875";
|
sha256 = "0vxwma2r9mb2h0c3dkpvf8dbrc2x2ykhc5bb0vd72sl9pwj4jxmy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config bmake ];
|
nativeBuildInputs = [ pkg-config bmake ];
|
||||||
@ -49,11 +49,13 @@ stdenv.mkDerivation {
|
|||||||
optionalString enabled "WITH_${toUpper feat}=YES"
|
optionalString enabled "WITH_${toUpper feat}=YES"
|
||||||
) features;
|
) features;
|
||||||
|
|
||||||
# Can't suid in nix store
|
postPatch = ''
|
||||||
# Run hikari as root (it will drop privileges as early as possible), or create
|
# Can't suid in nix store
|
||||||
# a systemd unit to give it the necessary permissions/capabilities.
|
# Run hikari as root (it will drop privileges as early as possible), or create
|
||||||
patchPhase = ''
|
# a systemd unit to give it the necessary permissions/capabilities.
|
||||||
substituteInPlace Makefile --replace '4555' '555'
|
substituteInPlace Makefile --replace '4555' '555'
|
||||||
|
|
||||||
|
sed -i 's@<drm_fourcc.h>@<libdrm/drm_fourcc.h>@' src/*.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -23787,9 +23787,7 @@ in
|
|||||||
|
|
||||||
wbg = callPackage ../applications/misc/wbg { };
|
wbg = callPackage ../applications/misc/wbg { };
|
||||||
|
|
||||||
hikari = callPackage ../applications/window-managers/hikari {
|
hikari = callPackage ../applications/window-managers/hikari { };
|
||||||
wlroots = wlroots_0_12;
|
|
||||||
};
|
|
||||||
|
|
||||||
i3 = callPackage ../applications/window-managers/i3 {
|
i3 = callPackage ../applications/window-managers/i3 {
|
||||||
xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
|
xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user