-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to NixOS 24.11 - Vicuna 🐫 #943
Conversation
💭 Want #642 in these task... |
TODO: Check these warnings and errors > sudo nixos-rebuild switch --flake ".#$(hostname)" --show-trace && makers apply 'kachick@nixos-desktop'
building the system configuration...
trace: evaluation warning: The ‘gnome.epiphany’ was moved to top-level. Please use ‘pkgs.epiphany’ directly.
trace: evaluation warning: The ‘gnome.geary’ was moved to top-level. Please use ‘pkgs.geary’ directly.
trace: evaluation warning: The ‘gnome.evince’ was moved to top-level. Please use ‘pkgs.evince’ directly.
trace: evaluation warning: The ‘gnome.gnome-calendar’ was moved to top-level. Please use ‘pkgs.gnome-calendar’ directly.
trace: evaluation warning: The ‘gnome.gnome-music’ was moved to top-level. Please use ‘pkgs.gnome-music’ directly.
trace: evaluation warning: i18n.inputMethod.enabled will be removed in a future release. Please use .type, and .enable = true instead
trace: evaluation warning: The ‘gnome.dconf-editor’ was moved to top-level. Please use ‘pkgs.dconf-editor’ directly.
trace: evaluation warning: The ‘gnome.gnome-boxes’ was moved to top-level. Please use ‘pkgs.gnome-boxes’ directly.
trace: evaluation warning: The ‘gnome.mutter’ was moved to top-level. Please use ‘pkgs.mutter’ directly.
trace: evaluation warning: The ‘gnome.gnome-settings-daemon’ was moved to top-level. Please use ‘pkgs.gnome-settings-daemon’ directly.
error: builder for '/nix/store/h93h6srxzslr8kyv13klrq63zd6ymhxy-unit-script-cups-pre-start.drv' failed with exit code 1;
last 10 log lines:
> mkdir -m 0755 -p /var/lib/cups
> ^-- SC2174 (warning): When used with -p, -m only applies to the deepest directory.
>
>
> In /nix/store/r5m7pwvm880m23kgnmzigy0xgscni7pv-unit-script-cups-pre-start/bin/cups-pre-start line 13:
> mkdir -m 0700 -p /var/lib/cups/ssl
> ^-- SC2174 (warning): When used with -p, -m only applies to the deepest directory.
>
> For more information:
> https://www.shellcheck.net/wiki/SC2174 -- When used with -p, -m only applie...
For full logs, run 'nix log /nix/store/h93h6srxzslr8kyv13klrq63zd6ymhxy-unit-script-cups-pre-start.drv'.
error: 1 dependencies of derivation '/nix/store/nnjyvjq4rny1q7cil6j2g3j1f4c567rr-unit-cups.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hrb8339cnph9r25zckwvbw80hqv94ga5-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7w6rmlj8hh6s6lr2f2lha3xk4rlzid50-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/z07qqs4ik2nwn8xj91rlfxjj620jgwkd-nixos-system-algae-24.11.20241116.201a24e.drv' failed to build |
> sudo nixos-rebuild switch --flake ".#$(hostname)" --show-trace
building the system configuration...
error: builder for '/nix/store/j7r84gckajykldwv700z4m3j3gp9nvj8-bazel-7.4.0.drv' failed with exit code 1;
last 10 log lines:
> patching file src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java
> Hunk #1 succeeded at 568 with fuzz 2 (offset 102 lines).
> applying patch /nix/store/2y0fhjn87j7b22v3h8v5hxrmgbwmcn11-bazel_rc.patch
> patching file src/main/cpp/option_processor.cc
> applying patch /nix/store/9857sd4kzzpl1xcx81hwh98ldma58ya3-nix-hacks.patch
> patching file src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java
> Hunk #1 FAILED at 178.
> Hunk #2 succeeded at 634 (offset 24 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java.rej
> patching file src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java
For full logs, run 'nix log /nix/store/j7r84gckajykldwv700z4m3j3gp9nvj8-bazel-7.4.0.drv'.
error: 1 dependencies of derivation '/nix/store/vkzr7ymifkl2rwzzm59wxbm6q4bfv9mh-fcitx5-mozc-2.30.5544.102.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l30skrld5wdww2fyy3301yvpqj5zysny-fcitx5-with-addons-5.1.11.drv' failed to build
error: 1 dependencies of derivation '/nix/store/icq9dndhzll0fz9masm01d6kskyjd5yz-dbus-1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xcq3aq080zirpsx9sqzmw8fx5q9ja423-set-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dv9vnmjfg1zhfvlwfhf5xk5xmlkyyhhg-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9sfp3658nagpr2pp65qjamzbzm3p297k-nixos-system-algae-24.11.20241116.201a24e.drv' failed to build |
nixpkgs: nixos-24.05 -> nixos-24.11
This comment has been minimized.
This comment has been minimized.
💀 with similar error as NixOS/nixpkgs#319440 => reboot 2 times and shutdown the frozen PC. Booting and fixed... 🙄 |
nixpkgs: nixos-24.05 -> nixos-24.11
> </etc/os-release
ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20241119.3b9b505"
CPE_NAME="cpe:/o:nixos:nixos:24.11"
DEFAULT_HOSTNAME=algae
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
ID_LIKE=""
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_END="2025-06-30"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11" 🎉 🐫 |
🤖 removed 🗑️ staging ⬢ from ghcr.io
|
--- * Resolves GH-757 * Closes GH-944 * Begins to use overlay to apply hotfix easy * Roughly updated the commented URL, it should be checked in #947 * Go with `release-24.11` for now, because of `nixos-24.11` does not have crucial hotfix. --- * Read and follow * https://github.com/NixOS/nixpkgs/blob/8e5e5a6add04c7f1e38e76f59ada6732947f1e55/nixos/doc/manual/release-notes/rl-2411.section.md * https://github.com/nix-community/home-manager/blob/a46e702093a5c46e192243edbd977d5749e7f294/docs/release-notes/rl-2411.md * In NixOS, check the error log with `nixos-rebuild build`. Don't use `switch` first * In home-manager, check the warnings in CI * When found issues around packages, [attempt to fix and send PR to upstream](https://github.com/NixOS/nixpkgs/pulls?q=+is%3Apr+author%3Akachick+) --- * Update NixOS and related channels to 24.11 as possible now * Bump dprint-plugin-kdl with the new schema of dprint * `git ls-files | xargs selfup run` * Bump NixOS stateVersion as same as home-manager * Update temporally copied cloudflare-warp NixOS module * Remove depreceted sound option in NixOS https://github.com/NixOS/nixpkgs/blob/8e5e5a6add04c7f1e38e76f59ada6732947f1e55/nixos/doc/manual/release-notes/rl-2411.section.md?plain=1#L883-L885 * Remove failing and ussing SKK dependencies * Remove unused edge pkgs from configuration.nix * Enable systemd.enableStrictShellChecks * Replace edge-pkgs with pkgs as possible * Use stable nixpkgs in xremap flake * Bump NixOS-WSL channel * Bump darwin channel to include kdl.vim * Fix missing a bump for gpg-sq * Replace edge-pkgs as possible in ssh context * Adopt TODO comment around updating to NixOS 24.11 * Adopt xdg.stateFile since 24.11 * Add ignoring tag for 24.11 in goreleaser * Simply bump nix related github URLs in comments # No tested * Suppress nixf warning * Install ox and jnv also in maOS * Remove needless package replacement * Update namespace of gnome packages which moved to toplevel * Disable enableStrictShellChecks for now * Follow NixOS/nixpkgs@bcc7eff * Pin to correct stable NixOS 24.11 channel Closes GH-944. The bot works is not enough * flake.lock: Update Flake lock file updates: • Updated input 'edge-nixpkgs': 'github:NixOS/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c' (2024-11-11) → 'github:NixOS/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add' (2024-11-15) • Updated input 'nixos-wsl/flake-utils': 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17) * Follow GH-911 and GH-913 with nix-init 0.3.2 failing in intel macOS * Remove needless unstable in devshell * Fix quotation in above commit * Use release channel in Linux again to avoid fcitx5-mozc and bazel_7 problem * Refactor edge and homemade with overlays * Follow home-manaher kitty module changes * Install lima with nixpkgs in macOS since it has been updated * flake.lock: Update Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/4637bf5b68943c5d694fdbd20652d496997f088d' (2024-11-18) → 'github:NixOS/nixpkgs/3b9b50532fb7712d3714cf25f4e61e8f71a04292' (2024-11-19) • Updated input 'nixpkgs-darwin': 'github:NixOS/nixpkgs/f4a0fbc120cd775346111246b453f8af94afc1d1' (2024-11-14) → 'github:NixOS/nixpkgs/8d48200ead5adea71485965f92405575c66dab04' (2024-11-19) * Include fcitx5-mozc quick fix patch * Backto NixOS 24.11 beta again * Use latest for broken calibre and zed-editor * Revert "Use latest for broken calibre and zed-editor" This reverts commit 2520946. * Revert "Backto NixOS 24.11 beta again" This reverts commit 00f14fc. * Clarify why I need release-24.11 instead of nixos-24.11 * Add comments about why I need nixpkgs-unstable for now
I think this is default, however GH-943 might broke
* flake.lock: Update Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3b9b50532fb7712d3714cf25f4e61e8f71a04292?narHash=sha256-EZlel51EEsv4vki3zGFHT9fG35Vl5/FMKT6PCwOsz90%3D' (2024-11-19) → 'github:NixOS/nixpkgs/813a215654875ad9916f60abfd80ab42e113b047?narHash=sha256-3IAHh%2Bmf27tuObMD8n%2BCEIVRG%2Bg9U90yYGmdxmqQvBE%3D' (2024-11-19) * Update dprint completions * Update go.mod and go.sum --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
How did you fix fcitx5 error 👀 |
Yeah... Avoiding the issue with using unstable channel for that package 😅 dotfiles/nixos/desktop/default.nix Line 297 in 89c7235
|
I swear i didnt copy my line from you, too similar 😭😭😭 |
I guess this is introduced in GH-943
release-24.11
for now, because ofnixos-24.11
does not have crucial hotfix.nixos-rebuild build
. Don't useswitch
first