From f5184f5ac0a27722e368fc90dd1bf69dff7f6392 Mon Sep 17 00:00:00 2001 From: erhant Date: Tue, 16 Jun 2026 18:26:41 +0300 Subject: [PATCH] fix!: nix rev fixed to the basecamp one --- .gitignore | 2 ++ flake.nix | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index aaf410d..d9fb205 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ result build + +lez-explorer-ui-lib-lgx-1.0.0 \ No newline at end of file diff --git a/flake.nix b/flake.nix index 63a354d..7cc5aee 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,13 @@ description = "LEZ Explorer UI - A Qt block explorer for the Logos Execution Zone"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; + # Pinned to the EXACT nixpkgs revision basecamp resolves via logos-nix, so this + # in-process `type: ui` module links the identical qtbase (6.9.2) and does not + # load a second QtCore into basecamp's process (which aborts with "Must construct + # a QApplication before a QWidget"). Matching the version string is not enough — + # the store path must match, so this must be re-pinned whenever basecamp bumps its + # logos-nix/nixpkgs lock. + nixpkgs.url = "github:NixOS/nixpkgs/e9f00bd893984bc8ce46c895c3bf7cac95331127"; }; outputs = { self, nixpkgs }: