celenity/Phoenix
8
198
Fork
You've already forked Phoenix
18

[BUG] Failed to update Phoenix flake to version 2026年07月08日.1 on NixOS #335

Closed
opened 2026年07月08日 10:18:04 +02:00 by Efrit · 3 comments

Confirmation Checklist

What web browser(s) are you using with Phoenix?

Firefox

Other

No response

What operating system(s) are you experiencing this issue on?

NixOS

Other

No response

What version of Firefox/Gecko and Phoenix are you using?

152.0.4 (Phoenix: 2026年06月10日.1)

If you remember, what version of Firefox/Gecko and Phoenix did you first notice the issue on?

No response

Does the issue occur on a new browser profile?

  • Yes
  • No

Please share your browser's update channel.

mozilla-official (or it’s not there)

Please share a list of your currently installed browser add-ons/extensions, as well as the versions you have installed.

Add-ons Search Detection extension 3.0.0 true app-builtin-addons addons-search-detection@mozilla.com
Data Leak Blocker extension 144.0.0 true app-builtin-addons data-leak-blocker@mozilla.com
Firefox Multi-Account Containers extension 8.3.8 true app-profile @testpilot-containers
Form Autofill extension 1.0.1 true app-builtin-addons formautofill@mozilla.org
Grammalecte [fr] extension 2.3.0 true app-profile French-GC@grammalecte.net
IPP Activator extension 0.1 true app-builtin-addons ipp-activator@mozilla.com
KeePassXC-Browser extension 1.10.3 true app-profile keepassxc-browser@keepassxc.org
New Tab extension 152.3.0 true app-builtin-addons newtab@mozilla.org
Passe-redirection extension 2.3.6 true app-profile skipredirect@sblask
Picture-In-Picture extension 1.0.0 true app-builtin-addons pictureinpicture@mozilla.org
uBlock Origin extension 1.72.0 true app-profile uBlock0@raymondhill.net
Web Compatibility Interventions extension 152.9.0 true app-builtin-addons webcompat@mozilla.org
Language: Français (French) locale 152.0.20260706.120035 true app-profile langpack-fr@firefox.mozilla.org
Thème système — auto theme 1.4.2 true app-builtin default-theme@mozilla.org
Clair theme 1.3.4 false app-builtin firefox-compact-light@mozilla.org
Firefox Alpenglow theme 1.5.2 false app-builtin firefox-alpenglow@mozilla.org
Sombre theme 1.3.4 false app-builtin firefox-compact-dark@mozilla.org

Please explain the issue you are experiencing.

When updating my Nixos flakes with the command sudo nix flake update; sudo nixos-rebuild switch --flake ., I get an error message with phoenix.

Please provide detailed steps to reproduce the issue.

Error logs:

remote: Enumerating objects: 242, done.
remote: Counting objects: 100% (43/43), done.
remote: Total 242 (delta 42), reused 43 (delta 42), pack-reused 199 (from 1)
Réception d'objets: 100% (242/242), 394.10 KiO | 1.63 MiO/s, fait.
Résolution des deltas: 100% (141/141), complété avec 21 objets locaux.
Depuis https://gitlab.com/celenityy/Phoenix
 d3cc0d78..62778509 pages -> pages
 * [nouvelle étiquette] 2026年07月08日.1 -> 2026年07月08日.1
warning: updating lock file "/etc/nixos/flake.lock":
• Updated input 'nixpkgs':
 'github:NixOS/nixpkgs/a50de1b7d8a586adc18d2395c19de7d6058e6030?narHash=sha256-uslt2pqShTIXDdAHRHv2QkYLsVdY8Oqwz0EA48/RSM8%3D' (2026年07月04日)
 → 'github:NixOS/nixpkgs/0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c?narHash=sha256-0xIy4dVLqq47rA%2BmRy0hXDfjhQd4E5PoIns/RmB7nR4%3D' (2026年07月07日)
• Updated input 'phoenix':
 'git+https://gitlab.com/celenityy/Phoenix.git?ref=pages&rev=d3cc0d78b3533d409e181c8c0fec6964c835cf54' (2026年06月10日)
 → 'git+https://gitlab.com/celenityy/Phoenix.git?ref=pages&rev=62778509fa8de445eb3f21cbed90265321132f08' (2026年07月08日)
building the system configuration...
error:
 ... while calling the 'head' builtin
 at «github:NixOS/nixpkgs/0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c?narHash=sha256-0xIy4dVLqq47rA%2BmRy0hXDfjhQd4E5PoIns/RmB7nR4%3D»/lib/attrsets.nix:1717:13:
 1716| if length values == 1 || pred here (elemAt values 1) (head values) then
 1717| head values
 | ^
 1718| else
 ... while evaluating the attribute 'value'
 at «github:NixOS/nixpkgs/0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c?narHash=sha256-0xIy4dVLqq47rA%2BmRy0hXDfjhQd4E5PoIns/RmB7nR4%3D»/lib/modules.nix:1167:7:
 1166| // {
 1167| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
 | ^
 1168| inherit (res.defsFinal') highestPrio;
 ... while evaluating the option `system.build.toplevel':
 ... while evaluating definitions from `/nix/store/7blcfay1hap81n2bc9j4d8b1cxrvng50-source/nixos/modules/system/activation/top-level.nix':
 ... while evaluating the option `environment.etc':
 ... while evaluating definitions from `/nix/store/7blcfay1hap81n2bc9j4d8b1cxrvng50-source/nixos/modules/programs/firefox.nix':
 ... while evaluating the option `programs.firefox.policies':
 ... while evaluating definitions from `/nix/store/7blcfay1hap81n2bc9j4d8b1cxrvng50-source/flake.nix':
 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
 error: Cannot build '/nix/store/d3ck2g4c0ww64xrrvw4wp7kjjcsa7sl9-phoenix.drv'.
 Reason: builder failed with exit code 127.
 Output paths:
 /nix/store/zph528340azrvm9n860l44k9cyax9k7x-phoenix
 Last 25 log lines:
 > + [[ 0 == 1 ]]
 > + [[ 1 == 1 ]]
 > + maybe_verify_file undefined PHOENIX_EXTRA_POLICIES_LINUX_NONFLATPAK
 > + [[ -z x ]]
 > + [[ -z x ]]
 > + local readonly maybe_file=undefined
 > + local readonly maybe_file_env=PHOENIX_EXTRA_POLICIES_LINUX_NONFLATPAK
 > + [[ undefined != undefined ]]
 > + [[ 0 == 1 ]]
 > + [[ 0 == 1 ]]
 > + [[ 0 == 1 ]]
 > + [[ 0 == 1 ]]
 > + [[ 0 == 1 ]]
 > + [[ 0 == 1 ]]
 > + local readonly check_static_prefs_js=0
 > + [[ 0 == 1 ]]
 > + [[ -d /tmp/phoenix/build/tmp ]]
 > + mkdir -p /tmp/phoenix/build/tmp
 > + build_phoenix_common
 > + cp /build/jsf94pavsv6p90dd80h4lil22k0wzwzk-source/phoenix-core.cfg /tmp/phoenix/build/tmp/phoenix-core.cfg
 > + cp /build/jsf94pavsv6p90dd80h4lil22k0wzwzk-source/phoenix-unified.cfg /tmp/phoenix/build/tmp/phoenix-unified.cfg
 > + [[ 0 == 1 ]]
 > + [[ 0 == 1 ]]
 > + /bin/sed -i 's|{PHOENIX_APPLY_EXTENDED}|false|' /tmp/phoenix/build/tmp/phoenix-core.cfg
 > /build/jsf94pavsv6p90dd80h4lil22k0wzwzk-source/scripts/fly.sh: line 507: /bin/sed: No such file or directory
 For full logs, run:
 nix log /nix/store/d3ck2g4c0ww64xrrvw4wp7kjjcsa7sl9-phoenix.drv
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."nixos".config.system.build.toplevel' --no-link' returned non-zero exit status 100.
### Confirmation Checklist - [x] I confirm that this issue occurs on the **latest release** of Phoenix. You can check what the latest version is on [the `Releases` page](https://codeberg.org/celenity/Phoenix/releases). - [x] I confirm that this issue has **NOT** already been reported on [the Codeberg issue tracker](https://codeberg.org/celenity/Phoenix/issues), [the GitLab issue tracker](https://gitlab.com/celenityy/Phoenix/-/issues), **and/or** [the GitHub issue tracker](https://github.com/celenityy/Phoenix/issues). ### What web browser(s) are you using with Phoenix? Firefox ### Other _No response_ ### What operating system(s) are you experiencing this issue on? NixOS ### Other _No response_ ### What version of Firefox/Gecko and Phoenix are you using? 152.0.4 (Phoenix: 2026年06月10日.1) ### If you remember, what version of Firefox/Gecko and Phoenix did you first notice the issue on? _No response_ ### Does the issue occur on a new browser profile? - [x] Yes - [ ] No ### Please share your browser's update channel. mozilla-official (or it’s not there) ### Please share a list of your currently installed browser add-ons/extensions, as well as the versions you have installed. Add-ons Search Detection extension 3.0.0 true app-builtin-addons addons-search-detection@mozilla.com Data Leak Blocker extension 144.0.0 true app-builtin-addons data-leak-blocker@mozilla.com Firefox Multi-Account Containers extension 8.3.8 true app-profile @testpilot-containers Form Autofill extension 1.0.1 true app-builtin-addons formautofill@mozilla.org Grammalecte [fr] extension 2.3.0 true app-profile French-GC@grammalecte.net IPP Activator extension 0.1 true app-builtin-addons ipp-activator@mozilla.com KeePassXC-Browser extension 1.10.3 true app-profile keepassxc-browser@keepassxc.org New Tab extension 152.3.0 true app-builtin-addons newtab@mozilla.org Passe-redirection extension 2.3.6 true app-profile skipredirect@sblask Picture-In-Picture extension 1.0.0 true app-builtin-addons pictureinpicture@mozilla.org uBlock Origin extension 1.72.0 true app-profile uBlock0@raymondhill.net Web Compatibility Interventions extension 152.9.0 true app-builtin-addons webcompat@mozilla.org Language: Français (French) locale 152.0.20260706.120035 true app-profile langpack-fr@firefox.mozilla.org Thème système — auto theme 1.4.2 true app-builtin default-theme@mozilla.org Clair theme 1.3.4 false app-builtin firefox-compact-light@mozilla.org Firefox Alpenglow theme 1.5.2 false app-builtin firefox-alpenglow@mozilla.org Sombre theme 1.3.4 false app-builtin firefox-compact-dark@mozilla.org ### Please explain the issue you are experiencing. When updating my Nixos flakes with the command `sudo nix flake update; sudo nixos-rebuild switch --flake .`, I get an error message with phoenix. ### Please provide detailed steps to reproduce the issue. Error logs: ``` remote: Enumerating objects: 242, done. remote: Counting objects: 100% (43/43), done. remote: Total 242 (delta 42), reused 43 (delta 42), pack-reused 199 (from 1) Réception d'objets: 100% (242/242), 394.10 KiO | 1.63 MiO/s, fait. Résolution des deltas: 100% (141/141), complété avec 21 objets locaux. Depuis https://gitlab.com/celenityy/Phoenix d3cc0d78..62778509 pages -> pages * [nouvelle étiquette] 2026年07月08日.1 -> 2026年07月08日.1 warning: updating lock file "/etc/nixos/flake.lock": • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a50de1b7d8a586adc18d2395c19de7d6058e6030?narHash=sha256-uslt2pqShTIXDdAHRHv2QkYLsVdY8Oqwz0EA48/RSM8%3D' (2026年07月04日) → 'github:NixOS/nixpkgs/0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c?narHash=sha256-0xIy4dVLqq47rA%2BmRy0hXDfjhQd4E5PoIns/RmB7nR4%3D' (2026年07月07日) • Updated input 'phoenix': 'git+https://gitlab.com/celenityy/Phoenix.git?ref=pages&rev=d3cc0d78b3533d409e181c8c0fec6964c835cf54' (2026年06月10日) → 'git+https://gitlab.com/celenityy/Phoenix.git?ref=pages&rev=62778509fa8de445eb3f21cbed90265321132f08' (2026年07月08日) building the system configuration... error: ... while calling the 'head' builtin at «github:NixOS/nixpkgs/0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c?narHash=sha256-0xIy4dVLqq47rA%2BmRy0hXDfjhQd4E5PoIns/RmB7nR4%3D»/lib/attrsets.nix:1717:13: 1716| if length values == 1 || pred here (elemAt values 1) (head values) then 1717| head values | ^ 1718| else ... while evaluating the attribute 'value' at «github:NixOS/nixpkgs/0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c?narHash=sha256-0xIy4dVLqq47rA%2BmRy0hXDfjhQd4E5PoIns/RmB7nR4%3D»/lib/modules.nix:1167:7: 1166| // { 1167| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1168| inherit (res.defsFinal') highestPrio; ... while evaluating the option `system.build.toplevel': ... while evaluating definitions from `/nix/store/7blcfay1hap81n2bc9j4d8b1cxrvng50-source/nixos/modules/system/activation/top-level.nix': ... while evaluating the option `environment.etc': ... while evaluating definitions from `/nix/store/7blcfay1hap81n2bc9j4d8b1cxrvng50-source/nixos/modules/programs/firefox.nix': ... while evaluating the option `programs.firefox.policies': ... while evaluating definitions from `/nix/store/7blcfay1hap81n2bc9j4d8b1cxrvng50-source/flake.nix': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Cannot build '/nix/store/d3ck2g4c0ww64xrrvw4wp7kjjcsa7sl9-phoenix.drv'. Reason: builder failed with exit code 127. Output paths: /nix/store/zph528340azrvm9n860l44k9cyax9k7x-phoenix Last 25 log lines: > + [[ 0 == 1 ]] > + [[ 1 == 1 ]] > + maybe_verify_file undefined PHOENIX_EXTRA_POLICIES_LINUX_NONFLATPAK > + [[ -z x ]] > + [[ -z x ]] > + local readonly maybe_file=undefined > + local readonly maybe_file_env=PHOENIX_EXTRA_POLICIES_LINUX_NONFLATPAK > + [[ undefined != undefined ]] > + [[ 0 == 1 ]] > + [[ 0 == 1 ]] > + [[ 0 == 1 ]] > + [[ 0 == 1 ]] > + [[ 0 == 1 ]] > + [[ 0 == 1 ]] > + local readonly check_static_prefs_js=0 > + [[ 0 == 1 ]] > + [[ -d /tmp/phoenix/build/tmp ]] > + mkdir -p /tmp/phoenix/build/tmp > + build_phoenix_common > + cp /build/jsf94pavsv6p90dd80h4lil22k0wzwzk-source/phoenix-core.cfg /tmp/phoenix/build/tmp/phoenix-core.cfg > + cp /build/jsf94pavsv6p90dd80h4lil22k0wzwzk-source/phoenix-unified.cfg /tmp/phoenix/build/tmp/phoenix-unified.cfg > + [[ 0 == 1 ]] > + [[ 0 == 1 ]] > + /bin/sed -i 's|{PHOENIX_APPLY_EXTENDED}|false|' /tmp/phoenix/build/tmp/phoenix-core.cfg > /build/jsf94pavsv6p90dd80h4lil22k0wzwzk-source/scripts/fly.sh: line 507: /bin/sed: No such file or directory For full logs, run: nix log /nix/store/d3ck2g4c0ww64xrrvw4wp7kjjcsa7sl9-phoenix.drv Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."nixos".config.system.build.toplevel' --no-link' returned non-zero exit status 100. ```
https://codeberg.org/celenity/Phoenix/commit/5f890cf456dfda1aee9db27e92ce298fdc114a55

@Efrit Thank you! This should now be fixed, but please LMK if there's still any issues.

@Efrit Thank you! This should now be fixed, but please LMK if there's still any issues.
Author
Copy link

@celenity There is now another error about the tar path.

> + /bin/tar -cJv --exclude-vcs --group=0 --mode=go+u,go-w --no-acls --no-selinux --no-xattrs --numeric-owner --owner=0 --pax-option=delete=atime,delete=ctime --pax-option=exthdr.name=%d/PaxHeaders/%f --restrict --sort=name --utc --clamp-mtime --mtime= --exclude .DS_Store -f /build/2807bjd14hknhvc0wc129z4jamglbmyd-source/outputs/phoenix-2026年07月08日.1-linux.tar.xz COPYING.txt README.md assets defaults etc phoenix.cfg policies specs
 > /build/2807bjd14hknhvc0wc129z4jamglbmyd-source/scripts/fly.sh: line 119: /bin/tar: No such file or directory
@celenity There is now another error about the `tar` path. ``` > + /bin/tar -cJv --exclude-vcs --group=0 --mode=go+u,go-w --no-acls --no-selinux --no-xattrs --numeric-owner --owner=0 --pax-option=delete=atime,delete=ctime --pax-option=exthdr.name=%d/PaxHeaders/%f --restrict --sort=name --utc --clamp-mtime --mtime= --exclude .DS_Store -f /build/2807bjd14hknhvc0wc129z4jamglbmyd-source/outputs/phoenix-2026年07月08日.1-linux.tar.xz COPYING.txt README.md assets defaults etc phoenix.cfg policies specs > /build/2807bjd14hknhvc0wc129z4jamglbmyd-source/scripts/fly.sh: line 119: /bin/tar: No such file or directory ```
Sign in to join this conversation.
No Branch/Tag specified
dev
pages
2026年07月08日.1
2026年06月10日.1
2026年05月21日.2
2026年05月21日.1
2026年04月27日.1
2026年03月31日.1
2026年03月30日.1
2026年02月23日.1
2026年02月16日.1
2026年01月21日.1
2025年12月23日.1
2025年11月27日.1
2025年11月07日.1
2025年10月26日.1
2025年10月12日.1
2025年10月03日.1
2025年09月07日.1
2025年08月06日.1
2025年07月30日.1
2025年07月11日.1
2025年06月24日.1
2025年06月12日.1
2025年06月10日.1
2025年06月06日.1
2025年06月02日.2
2025年06月02日.1
2025年05月11日.1
2025年04月27日.1
2025年04月15日.1
2025年04月11日.1
2025年04月02日.1
2025年03月25日.1
2025年03月20日.1
2025年03月12日.1
2025年03月05日.1
2025年02月28日.1
2025年02月21日.1
2024年02月18日.1
2025年02月14日.1
2025年02月13日.1
2025年02月01日.1
2025年01月30日.1
2025年01月27日.1
2025年01月24日.1
2025年01月22日.2
2025年01月22日.1
2025年01月20日.2
2025年01月20日.1
2025年01月19日.1
2025年01月14日.1
2025年01月13日.1
2025年01月12日.2
2025年01月12日.1
2025年01月06日.1
05January2025v1
20240103.2
20250103.1
20241229-1
20241225-1
20241216-1
20241211-1
20241204-1
20241203-1
31November2024v1
20241103-1
20240924-1
20240914-1
20240907-1
20240902-1
20240831-1
20240825-1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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
celenity/Phoenix#335
Reference in a new issue
celenity/Phoenix
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?