Skip to content
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

Retire to use macOS #911

Closed
kachick opened this issue Nov 3, 2024 · 2 comments · Fixed by #913
Closed

Retire to use macOS #911

kachick opened this issue Nov 3, 2024 · 2 comments · Fixed by #913

Comments

@kachick
Copy link
Owner

kachick commented Nov 3, 2024

@kachick
Copy link
Owner Author

kachick commented Nov 8, 2024

kachick added a commit that referenced this issue Nov 11, 2024
I just experienced with arch problems, not for the OS version problems in home-manager

And I want to reduce macos related code with GH-911
@kachick
Copy link
Owner Author

kachick commented Nov 11, 2024

kachick added a commit that referenced this issue Nov 11, 2024
* Make most packages refers darwin special channel if run on macOS

Fixes GH-910

* flake.lock: Update

Flake lock file updates:

• Updated input 'edge-nixpkgs':
    'github:NixOS/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7?narHash=sha256-Zwl8YgTVJTEum%2BL%2B0zVAWvXAGbWAuXHax3KzuejaDyo%3D' (2024-11-05)
  → 'github:NixOS/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2?narHash=sha256-IigrKK3vYRpUu%2BHEjPL/phrfh7Ox881er1UEsZvw9Q4%3D' (2024-11-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/dba414932936fde69f0606b4f1d87c5bc0003ede?narHash=sha256-mwrFF0vElHJP8X3pFCByJR365Q2463ATp2qGIrDUdlE%3D' (2024-11-06)
  → 'github:NixOS/nixpkgs/83fb6c028368e465cd19bb127b86f971a5e41ebc?narHash=sha256-rz30HrFYCHiWEBCKHMffHbMdWJ35hEkcRVU0h7ms3x0%3D' (2024-11-07)

* Fix to branch nix channel in homemade packages

* Enable magic-nix-cache-action in home-manager CI only on darwin

* Revert "Enable magic-nix-cache-action in home-manager CI only on darwin"

This reverts commit f14cdff.

* Sync same channel in home-manager

* Remove garbage code in GH-796

* Enable decadent  magic nix cache only in macos-13

* fix? to specify intel mac

* Enable decadent magic nix cache only in macos-13 also in ci-nix

* Don't maintain this repository on darwin, use lima

To avoid rate limit

* Drop macos-15 runner in CI matrix

I just experienced with arch problems, not for the OS version problems in home-manager

And I want to reduce macos related code with GH-911

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kachick added a commit that referenced this issue Nov 18, 2024
Follow GH-911 and GH-913 with nix-init 0.3.2 failing in intel macOS
kachick added a commit that referenced this issue Nov 19, 2024
* 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

* Fix a typo [ci skip]

* Update namespace of gnome packages whcih moved to toplevel

* Dsiable 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)

* Using in macOS is much pain

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 udpated

* 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
kachick added a commit that referenced this issue Nov 19, 2024
---

* 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
kachick added a commit that referenced this issue Dec 30, 2024
Since GH-911
Especially using unstable packages often makes heavy build
Use lima GH-913
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant