nix run crashes #769

Closed
opened 2025-03-26 12:05:47 +00:00 by prince213 · 3 comments

Describe the bug

A clear and concise description of what the bug is.

If you have a problem with a specific package or NixOS,
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues.

Steps To Reproduce

$ nix run github:nix-community/nix-index-database .desktop
Lix crashed. This is a bug. We would appreciate if you report it along with what caused it at https://git.lix.systems/lix-project/lix/issues with the following information included:

Exception: nlohmann::json_abi_v3_11_3::detail::parse_error: [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON
Stack trace:
 0# nix::getStackTrace[abi:cxx11]() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixutil.so
 1# 0x00007FE3125F6853 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so
 2# 0x00007FE3114BF20A in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6
 3# std::unexpected() in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6
 4# 0x00007FE3114BF1FE in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6
 5# void boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>::wide_value_check<boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> > >(boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >&&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 6# std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> nix::detail::runAsyncUnwrap<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> >(boost::outcome_v2::basic_result<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, std::conditional<false, boost::outcome_v2::policy::terminate, std::conditional<false, boost::outcome_v2::policy::error_code_throw_as_system_error<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, std::conditional<true, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, boost::outcome_v2::policy::fail_to_compile_observers>::type>::type>::type>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 7# 0x00007FE311B6B2E9 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 8# nix::flake::lockFlake(nix::EvalState&, nix::FlakeRef const&, nix::flake::LockFlags const&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 9# nix::InstallableFlake::getLockedFlake(nix::EvalState&) const in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
10# nix::InstallableFlake::getCursors(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
11# nix::InstallableValue::getCursor(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
12# 0x0000564C5127CC83 in nix
13# 0x0000564C51393554 in nix
14# nix::InstallableCommand::run(nix::ref<nix::Store>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
15# nix::StoreCommand::run() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
16# 0x0000564C51346620 in nix
17# 0x0000564C51348FAD in nix
18# nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so
19# 0x0000564C51348A6B in nix
20# 0x00007FE31102A1FE in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6
21# __libc_start_main in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6
22# 0x0000564C512746B5 in nix

Expected behavior

nix run successfully run the executable.

nix --version output

nix --version                                           
nix (Lix, like Nix) 2.93.0-dev-pre20250325-fc58e7b
System type: x86_64-linux
Additional system types: aarch64-linux, i686-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: <snip>
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/share

Additional context

## Describe the bug A clear and concise description of what the bug is. If you have a problem with a specific package or NixOS, you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues. ## Steps To Reproduce ``` $ nix run github:nix-community/nix-index-database .desktop Lix crashed. This is a bug. We would appreciate if you report it along with what caused it at https://git.lix.systems/lix-project/lix/issues with the following information included: Exception: nlohmann::json_abi_v3_11_3::detail::parse_error: [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON Stack trace: 0# nix::getStackTrace[abi:cxx11]() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixutil.so 1# 0x00007FE3125F6853 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so 2# 0x00007FE3114BF20A in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6 3# std::unexpected() in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6 4# 0x00007FE3114BF1FE in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6 5# void boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>::wide_value_check<boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> > >(boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >&&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 6# std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> nix::detail::runAsyncUnwrap<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> >(boost::outcome_v2::basic_result<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, std::conditional<false, boost::outcome_v2::policy::terminate, std::conditional<false, boost::outcome_v2::policy::error_code_throw_as_system_error<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, std::conditional<true, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, boost::outcome_v2::policy::fail_to_compile_observers>::type>::type>::type>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 7# 0x00007FE311B6B2E9 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 8# nix::flake::lockFlake(nix::EvalState&, nix::FlakeRef const&, nix::flake::LockFlags const&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 9# nix::InstallableFlake::getLockedFlake(nix::EvalState&) const in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 10# nix::InstallableFlake::getCursors(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 11# nix::InstallableValue::getCursor(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 12# 0x0000564C5127CC83 in nix 13# 0x0000564C51393554 in nix 14# nix::InstallableCommand::run(nix::ref<nix::Store>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 15# nix::StoreCommand::run() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 16# 0x0000564C51346620 in nix 17# 0x0000564C51348FAD in nix 18# nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so 19# 0x0000564C51348A6B in nix 20# 0x00007FE31102A1FE in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6 21# __libc_start_main in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6 22# 0x0000564C512746B5 in nix ``` ## Expected behavior nix run successfully run the executable. ## `nix --version` output ``` nix --version nix (Lix, like Nix) 2.93.0-dev-pre20250325-fc58e7b System type: x86_64-linux Additional system types: aarch64-linux, i686-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: <snip> Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/share ``` ## Additional context
Author

It may be worth noticing that nix run github:NixOS/nixpkgs/nixpkgs-unstable#hello also crashes, so it's probably not a repo-specific issue.

$ nix run github:NixOS/nixpkgs/nixpkgs-unstable#hello
Lix crashed. This is a bug. We would appreciate if you report it along with what caused it at https://git.lix.systems/lix-project/lix/issues with the following information included:

Exception: nlohmann::json_abi_v3_11_3::detail::parse_error: [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON
Stack trace:
 0# nix::getStackTrace[abi:cxx11]() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixutil.so
 1# 0x00007F68993C3853 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so
 2# 0x00007F6897CBF20A in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6
 3# std::unexpected() in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6
 4# 0x00007F6897CBF1FE in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6
 5# void boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>::wide_value_check<boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> > >(boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >&&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 6# std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> nix::detail::runAsyncUnwrap<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> >(boost::outcome_v2::basic_result<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, std::conditional<false, boost::outcome_v2::policy::terminate, std::conditional<false, boost::outcome_v2::policy::error_code_throw_as_system_error<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, std::conditional<true, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, boost::outcome_v2::policy::fail_to_compile_observers>::type>::type>::type>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 7# 0x00007F689836B2E9 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 8# nix::flake::lockFlake(nix::EvalState&, nix::FlakeRef const&, nix::flake::LockFlags const&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so
 9# nix::InstallableFlake::getLockedFlake(nix::EvalState&) const in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
10# nix::InstallableFlake::getCursors(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
11# nix::InstallableValue::getCursor(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
12# 0x000056239058DC83 in nix
13# 0x00005623906A4554 in nix
14# nix::InstallableCommand::run(nix::ref<nix::Store>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
15# nix::StoreCommand::run() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so
16# 0x0000562390657620 in nix
17# 0x0000562390659FAD in nix
18# nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so
19# 0x0000562390659A6B in nix
20# 0x00007F689782A1FE in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6
21# __libc_start_main in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6
22# 0x00005623905856B5 in nix
It may be worth noticing that `nix run github:NixOS/nixpkgs/nixpkgs-unstable#hello` also crashes, so it's probably not a repo-specific issue. ``` $ nix run github:NixOS/nixpkgs/nixpkgs-unstable#hello Lix crashed. This is a bug. We would appreciate if you report it along with what caused it at https://git.lix.systems/lix-project/lix/issues with the following information included: Exception: nlohmann::json_abi_v3_11_3::detail::parse_error: [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON Stack trace: 0# nix::getStackTrace[abi:cxx11]() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixutil.so 1# 0x00007F68993C3853 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so 2# 0x00007F6897CBF20A in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6 3# std::unexpected() in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6 4# 0x00007F6897CBF1FE in /nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib/lib/libstdc++.so.6 5# void boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>::wide_value_check<boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> > >(boost::outcome_v2::detail::basic_result_value_observers<boost::outcome_v2::detail::basic_result_storage<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >, std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void> >&&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 6# std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> nix::detail::runAsyncUnwrap<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef> >(boost::outcome_v2::basic_result<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, std::conditional<false, boost::outcome_v2::policy::terminate, std::conditional<false, boost::outcome_v2::policy::error_code_throw_as_system_error<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, std::conditional<true, boost::outcome_v2::policy::exception_ptr_rethrow<std::tuple<nix::fetchers::Tree, nix::FlakeRef, nix::FlakeRef>, std::__exception_ptr::exception_ptr, void>, boost::outcome_v2::policy::fail_to_compile_observers>::type>::type>::type>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 7# 0x00007F689836B2E9 in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 8# nix::flake::lockFlake(nix::EvalState&, nix::FlakeRef const&, nix::flake::LockFlags const&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixexpr.so 9# nix::InstallableFlake::getLockedFlake(nix::EvalState&) const in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 10# nix::InstallableFlake::getCursors(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 11# nix::InstallableValue::getCursor(nix::EvalState&) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 12# 0x000056239058DC83 in nix 13# 0x00005623906A4554 in nix 14# nix::InstallableCommand::run(nix::ref<nix::Store>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 15# nix::StoreCommand::run() in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixcmd.so 16# 0x0000562390657620 in nix 17# 0x0000562390659FAD in nix 18# nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) in /nix/store/j7nb7cpnisafcylxdfgsq3yvnk0085h3-lix-2.93.0-dev-pre20250325-fc58e7b/lib/liblixmain.so 19# 0x0000562390659A6B in nix 20# 0x00007F689782A1FE in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6 21# __libc_start_main in /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6 22# 0x00005623905856B5 in nix ```
Owner

Smells like the same nix flake update bug.

Smells like the same nix flake update bug.
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2907 ("treewide: handle JSON parse errors")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2907", "number": 2907, "kind": "commit message"}], "cl_meta": {"2907": {"change_title": "treewide: handle JSON parse errors"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2907](https://gerrit.lix.systems/c/lix/+/2907) ("treewide: handle JSON parse errors")
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#769
No description provided.