diff --git a/Makefile b/Makefile index 7eece76b941..e894f120f63 100644 --- a/Makefile +++ b/Makefile @@ -402,7 +402,7 @@ storybook-build: | storybook-configure run-storybook: storybook-build echo -e "\033[92mRunning:\033[39m Storybook" - $(STORYBOOK_BUILD_PATH)/bin/Storybook + nixGL $(STORYBOOK_BUILD_PATH)/bin/Storybook run-storybook-tests: storybook-build echo -e "\033[92mRunning:\033[39m Storybook Tests" @@ -857,17 +857,15 @@ ICON_TOOL := node_modules/.bin/fileicon # STATUS_PORT ?= 30306 # WAKUV2_PORT ?= 30307 -run-linux: export QTWEBENGINE_CHROMIUM_FLAGS := "--disable-gpu" # This solved freezing run-linux: export LD_LIBRARY_PATH := $(QT5_LIBDIR):$(STATUSGO_LIBDIR):$(STATUSKEYCARDGO_LIBDIR):$(LD_LIBRARY_PATH) run-linux: nim_status_client echo -e "\033[92mRunning:\033[39m bin/nim_status_client" nixGL ./bin/nim_status_client $(ARGS) -run-linux: export QTWEBENGINE_CHROMIUM_FLAGS := "--disable-gpu" # This solved freezing -run-linux: export LD_LIBRARY_PATH := $(QT5_LIBDIR):$(STATUSGO_LIBDIR):$(STATUSKEYCARDGO_LIBDIR):$(LD_LIBRARY_PATH) +run-linux-gdb: export LD_LIBRARY_PATH := $(QT5_LIBDIR):$(STATUSGO_LIBDIR):$(STATUSKEYCARDGO_LIBDIR):$(LD_LIBRARY_PATH) run-linux-gdb: nim_status_client echo -e "\033[92mRunning:\033[39m bin/nim_status_client" - gdb -ex=r nixGL ./bin/nim_status_client $(ARGS) + nixGL gdb -ex=r ./bin/nim_status_client $(ARGS) run-macos: nim_status_client mkdir -p bin/StatusDev.app/Contents/{MacOS,Resources} diff --git a/nix/shell.nix b/nix/shell.nix index 0bbc7eab8bc..2e438bdee75 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -34,6 +34,7 @@ in pkgs.mkShell { go_1_21 pcre nss pcsclite extra-cmake-modules xorg.libxcb xorg.libX11 libxkbcommon + gdb # dev machine, not CI ] ++ (with gst_all_1; [ gst-libav gstreamer gst-plugins-bad gst-plugins-base