M .builds/nixos-unstable.yml => .builds/nixos-unstable.yml +2 -0
@@ 1,5 1,7 @@
image: nixos/unstable
oauth: pages.sr.ht/PAGES:RW
+repositories:
+ nixpkgs: https://nixos.org/channels/nixpkgs-unstable
packages:
- nixos.hut
sources:
M cmd/snippetexpandergui/Makefile => cmd/snippetexpandergui/Makefile +2 -2
@@ 17,8 17,8 @@ SVELTE_SRC := $(wildcard frontend/*.svelte) $(shell find frontend/src/ -type f -
TAGS =
TEST_TAGS = test dev
-WEBKIT2_41 = $(shell ldconfig -p | grep libwebkit2gtk-4.1)
-ifdef WEBKIT2_41
+DEB_WEBKIT2_41 = $(shell dpkg --status libwebkit2gtk-4.1-dev > /dev/null 2>&1 && echo "YUP" || echo "NOPE")
+ifeq ($(DEB_WEBKIT2_41),YUP)
TAGS += webkit2_41
TEST_TAGS += webkit2_41
endif