diff --git a/pkgs/by-name/sc/scopehal-apps/package.nix b/pkgs/by-name/sc/scopehal-apps/package.nix index e64f9557db16..57ab8162b3dd 100644 --- a/pkgs/by-name/sc/scopehal-apps/package.nix +++ b/pkgs/by-name/sc/scopehal-apps/package.nix @@ -88,6 +88,11 @@ stdenv.mkDerivation { "-DNGSCOPECLIENT_VERSION=${version}" ]; + env.NIX_CFLAGS_COMPILE = toString [ + # error: variable 'empty_string' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer] + "-Wno-error=uninitialized" + ]; + patches = [ ./remove-git-derived-version.patch ]