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

Make most packages refer darwin special channel if run on macOS #924

Merged
merged 13 commits into from
Nov 11, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Nov 11, 2024

  • Make most packages refers darwin special channel if run on macOS
  • flake.lock: Update

Fixes GH-910

Merge GH-923

kachick and others added 2 commits November 11, 2024 11:53
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)
@kachick kachick changed the title Make most packages refers darwin special channel if run on macOS Make most packages refer darwin special channel if run on macOS Nov 11, 2024
@kachick
Copy link
Owner Author

kachick commented Nov 11, 2024

🤔 Why need to build them? no binary cache for nixpkgs-24.05-darwin?

Mon, 11 Nov 2024 02:58:26 GMT
these 16 derivations will be built:
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/lljknf12y1v2hhyg5gv3g07r2a579cbl-aws-c-common-0.9.17.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/2rq9n50ccqmkjh9qwcjbw2z9d4jm3pgh-aws-c-cal-0.6.12.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/lncd3myw4kmr4d5fbfyig7havjj2km02-aws-c-io-0.14.7.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/nmbf1gklnmlr6qba66nl7ax08w111y47-aws-c-compression-0.2.18.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/40qrwbfldq16s2j1hzd5iccrblad4ll4-aws-c-http-0.8.1.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/6p9j8y2sljpj2rymsa51ckad2ywk13dk-aws-checksums-0.1.18.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/y1wsj95a6zskc8rp5400cpyw862lryax-aws-c-sdkutils-0.1.16.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/iis6gx8mh5iagcv9a4v8cdlfy6pk76r4-aws-c-auth-0.7.18.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/b5qrc9qk49m6irjwgp4izc496qp6nxsb-aws-c-s3-0.5.7.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/d5npa11r2ghqfc6sssbgrr54jzaqrxvx-aws-c-mqtt-0.[10](https://github.com/kachick/dotfiles/actions/runs/11771258845/job/32784906603#step:6:11).4.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/svkprvq88jl36zh675x9s6li3kgh6z8n-aws-c-event-stream-0.4.2.drv
Mon, [11](https://github.com/kachick/dotfiles/actions/runs/11771258845/job/32784906603#step:6:12) Nov 2024 02:58:26 GMT
  /nix/store/fww93cd9mq14n5c1q1529bqkbxbxrjdz-aws-crt-cpp-0.26.8.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/w2j3kc1qy1mgcaggr1zqf97246izjlic-aws-sdk-cpp-1.11.318.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/256qjdbl342sz98qwng0jj8khx8b515s-nix-2.18.8.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/qmk8gmansdifiq1rjha5hpw15azdfyk5-nixos-option.drv
Mon, 11 Nov 2024 02:58:26 GMT
  /nix/store/q8s2wxx9gp96m7a9csb4d2b1m2skn7ai-home-manager.drv
Mon, 11 Nov 2024 02:58:26 GMT
these 183 paths will be fetched (269.39 MiB download, 2276.22 MiB unpacked):

Mon, 11 Nov 2024 02:58:57 GMT
copying path '/nix/store/hzrj7cngappnz8kfm0khmgh7icwbw6z7-autoreconf-hook' from 'https://cache.nixos.org/'...
Mon, 11 Nov 2024 03:00:24 GMT
building '/nix/store/2rq9n50ccqmkjh9qwcjbw2z9d4jm3pgh-aws-c-cal-0.6.12.drv'...
Mon, 11 Nov 2024 03:00:24 GMT
building '/nix/store/nmbf1gklnmlr6qba66nl7ax08w111y47-aws-c-compression-0.2.18.drv'...
Mon, 11 Nov 2024 03:00:25 GMT
building '/nix/store/y1wsj95a6zskc8rp5400cpyw862lryax-aws-c-sdkutils-0.1.16.drv'...
Mon, 11 Nov 2024 03:00:25 GMT
building '/nix/store/6p9j8y2sljpj2rymsa51ckad2ywk13dk-aws-checksums-0.1.18.drv'...
Mon, 11 Nov 2024 03:00:40 GMT
building '/nix/store/lncd3myw4kmr4d5fbfyig7havjj2km02-aws-c-io-0.14.7.drv'...
Mon, 11 Nov 2024 03:00:54 GMT
building '/nix/store/svkprvq88jl36zh675x9s6li3kgh6z8n-aws-c-event-stream-0.4.2.drv'...
Mon, 11 Nov 2024 03:00:54 GMT
building '/nix/store/40qrwbfldq16s2j1hzd5iccrblad4ll4-aws-c-http-0.8.1.drv'...
Mon, 11 Nov 2024 03:01:07 GMT
building '/nix/store/iis6gx8mh5iagcv9a4v8cdlfy6pk76r4-aws-c-auth-0.7.18.drv'...
Mon, 11 Nov 2024 03:01:08 GMT
building '/nix/store/d5npa11r2ghqfc6sssbgrr54jzaqrxvx-aws-c-mqtt-0.10.4.drv'...
Mon, 11 Nov 2024 03:01:25 GMT
building '/nix/store/b5qrc9qk49m6irjwgp4izc496qp6nxsb-aws-c-s3-0.5.7.drv'...
Mon, 11 Nov 2024 03:01:36 GMT
building '/nix/store/fww93cd9mq14n5c1q1529bqkbxbxrjdz-aws-crt-cpp-0.26.8.drv'...
Mon, 11 Nov 2024 03:02:09 GMT
building '/nix/store/w2j3kc1qy1mgcaggr1zqf97246izjlic-aws-sdk-cpp-1.11.318.drv'...
Mon, 11 Nov 2024 03:10:09 GMT
building '/nix/store/256qjdbl342sz98qwng0jj8khx8b515s-nix-2.18.8.drv'...

@kachick
Copy link
Owner Author

kachick commented Nov 11, 2024

Building nix itself taking longtime...?

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 added a commit that referenced this pull request Nov 11, 2024
I can trust called place having correct nix version

It might rebuild different nix in macos CI. See GH-924
@kachick kachick merged commit 9cf737b into main Nov 11, 2024
21 checks passed
@kachick kachick deleted the stable-darwin branch November 11, 2024 07:37
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
edge-nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
edge-nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # Unfit for darwin, might be broken. See https://github.com/NixOS/nixpkgs/issues/107466
nixpkgs-darwin.url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin";
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you reach this repository with searching 08gjpy7gfpylh2m2dyhasd0l5i3y7mz2-ghostscript-10.04.0.drv, this line is the answer by me 🤷‍♂️ 🍎

kachick added a commit that referenced this pull request Nov 14, 2024
* Correct darwin special channel. Follow GH-924

* Partially revert dropping macos-13 CI in devshell
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 this pull request may close these issues.

Make macOS only depend on stable nixpkgs channel
1 participant