Title: Assertion '!awake.empty()' failed in void nix::Worker::run() · Issue #16005 · NixOS/nix · GitHub
Open Graph Title: Assertion '!awake.empty()' failed in void nix::Worker::run() · Issue #16005 · NixOS/nix
X Title: Assertion '!awake.empty()' failed in void nix::Worker::run() · Issue #16005 · NixOS/nix
Description: Describe the bug While doing a nixos-rebuild build -I nixos-config=$(pwd)/configuration.nix on my Ubuntu 24.04 I get the following error: terminating due to unexpected unrecoverable internal error: Assertion '!awake.empty()' failed in vo...
Open Graph Description: Describe the bug While doing a nixos-rebuild build -I nixos-config=$(pwd)/configuration.nix on my Ubuntu 24.04 I get the following error: terminating due to unexpected unrecoverable internal error:...
X Description: Describe the bug While doing a nixos-rebuild build -I nixos-config=$(pwd)/configuration.nix on my Ubuntu 24.04 I get the following error: terminating due to unexpected unrecoverable internal error:...
Opengraph URL: https://github.com/NixOS/nix/issues/16005
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assertion '!awake.empty()' failed in void nix::Worker::run()","articleBody":"## Describe the bug\n\nWhile doing a `nixos-rebuild build -I nixos-config=$(pwd)/configuration.nix` on my Ubuntu 24.04 I get the following error:\n\n```\nterminating due to unexpected unrecoverable internal error: Assertion '!awake.empty()' failed in void nix::Worker::run(const nix::Goals&) at ../build/worker.cc:360\nNix crashed. This is a bug. Please report this at https://github.com/NixOS/nix/issues with the following information included:\n\nstd::terminate() called without exception\nStack trace:\n 0# 0x000000000011402E in nix-build\n 1# 0x00000000000C539A in /nix/store/chqq8mpmpyfi9kgsngya71akv5xicn03-gcc-15.2.0-lib/lib/libstdc++.so.6\n 2# std::unexpected() in /nix/store/chqq8mpmpyfi9kgsngya71akv5xicn03-gcc-15.2.0-lib/lib/libstdc++.so.6\n 3# 0x00000000000F949F in /nix/store/qnhccq9ilszgqv7hi4hdxacf00garrpg-nix-util-2.35pre20260504_53ab7375/lib/libnixutil.so.2.35\n 4# __wrap___assert_fail in /nix/store/bhg9w1kgi1kxkd0mgbi2rgj6dh0dca5l-nix-store-2.35pre20260504_53ab7375/lib/libnixstore.so.2.35\n 5# 0x00000000000DFC8F in /nix/store/bhg9w1kgi1kxkd0mgbi2rgj6dh0dca5l-nix-store-2.35pre20260504_53ab7375/lib/libnixstore.so.2.35\n 6# nix::Store::buildPaths(std::vector\u003cnix::DerivedPath, std::allocator\u003cnix::DerivedPath> > const&, nix::BuildMode, std::shared_ptr\u003cnix::Store>) in /nix/store/bhg9w1kgi1kxkd0mgbi2rgj6dh0dca5l-nix-store-2.35pre20260504_53ab7375/lib/libnixstore.so.2.35\n 7# 0x0000000000206F62 in nix-build\n 8# 0x000000000020C47C in nix-build\n 9# 0x00000000001A043F in nix-build\n10# nix::handleExceptions(std::__cxx11::basic_string\u003cchar, std::char_traits\u003cchar>, std::allocator\u003cchar> > const&, nix::fun\u003cvoid ()>) in /nix/store/qnhccq9ilszgqv7hi4hdxacf00garrpg-nix-util-2.35pre20260504_53ab7375/lib/libnixutil.so.2.35\n11# 0x00000000000E3371 in nix-build\n12# 0x000000000002B285 in /nix/store/57iz36553175g3178pvxjij8z5rcsd4n-glibc-2.42-61/lib/libc.so.6\n13# __libc_start_main in /nix/store/57iz36553175g3178pvxjij8z5rcsd4n-glibc-2.42-61/lib/libc.so.6\n14# 0x00000000000E81E5 in nix-build\n\n/nix/store/178wmr0l7fnpj5348ga33sdcf2sd8xyh-nixos-install/bin/nixos-install: line 289: 3260040 Aborted (core dumped) nix-build --out-link \"$outLink\" --store \"$mountPoint\" \"${extraBuildFlags[@]}\" --extra-substituters \"$sub\" '\u003cnixpkgs/nixos>' -A system -I \"nixos-config=$NIXOS_CONFIG\" \"${verbosity[@]}\"\n```\n\n## Steps To Reproduce\n\nNot reproducible on my NixOS machine, only seen on my Ubuntu machine. I hope the above stack trace is helpful, because I have no good understanding of what is needed to reproduce it. With the 25.11 release of NixOS it was working.\n\n## Expected behavior\n\nNo crash.\n\n## Metadata\n\nnix-env (Nix) 2.35pre20260504_53ab7375.\nUbuntu 24.04.4 LTS\n\n## Additional context\n\n\u003c!-- Add any other context about the problem here. -->\n\n## Checklist\n\n\u003c!-- make sure this issue is not redundant or obsolete -->\n\n- [ ] checked [latest Nix manual] \\([source])\n- [X] checked [open bug issues and pull requests] for possible duplicates\n\n[latest Nix manual]: https://nix.dev/manual/nix/development/\n[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source\n[open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug\n\n---\n\nAdd :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).\n","author":{"url":"https://github.com/ahk2","@type":"Person","name":"ahk2"},"datePublished":"2026-06-10T12:09:56Z","url":"https://github.com/NixOS/nix/issues/16005"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:30725c31-5066-3ff0-de7a-baf4b5184f62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 920E:1F4A:86899F:B1AB8F:6AED7F1B |
| html-safe-nonce | 5ce0a18de75e36e1ebc2883e9759b9028f961a8a588e52e77df29c326125cc5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjBFOjFGNEE6ODY4OTlGOkIxQUI4Rjo2QUVEN0YxQiIsInZpc2l0b3JfaWQiOiI0MjI3OTQ4NTcyMjcyNTkwNjE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | edbed0bcc26f9979fcfe771a2df80b969c3a537d36387d90624305a7681bdf96 |
| hovercard-subject-tag | issue:4631045842 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NixOS/nix/16005/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b595671efffd3ca8d59374da8519031f6ec00324517ed22cd0fda76f8b1169f2/NixOS/nix/issues/16005 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b595671efffd3ca8d59374da8519031f6ec00324517ed22cd0fda76f8b1169f2/NixOS/nix/issues/16005 |
| og:image:alt | Describe the bug While doing a nixos-rebuild build -I nixos-config=$(pwd)/configuration.nix on my Ubuntu 24.04 I get the following error: terminating due to unexpected unrecoverable internal error:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ahk2 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/NixOS/nix git https://github.com/NixOS/nix.git |
| octolytics-dimension-user_id | 487568 |
| octolytics-dimension-user_login | NixOS |
| octolytics-dimension-repository_id | 3386088 |
| octolytics-dimension-repository_nwo | NixOS/nix |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3386088 |
| octolytics-dimension-repository_network_root_nwo | NixOS/nix |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width