-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat(modules): use package set for port sources #384
Conversation
2c76c34
to
e7f9411
Compare
4825ff8
to
09d225b
Compare
9c0f44f
to
0b20a16
Compare
964ce47
to
c06afe8
Compare
this is annoying to maintain • Added input 'catppuccin-v1_1': 'https://api.flakehub.com/f/pinned/catppuccin/nix/1.1.1/0193bdc0-b045-7eed-bbec-95611a8ecdf5/source.tar.gz?narHash=sha256-pCWJgwo77KD7EJpwynwKrWPZ//dwypHq2TfdzZWqK68%3D' (2024-12-13) • Added input 'catppuccin-v1_2': 'https://api.flakehub.com/f/pinned/catppuccin/nix/1.2.0/0193e5e0-33b7-7149-a362-bfe56b20f64e/source.tar.gz?narHash=sha256-Let3uJo4YDyfqbqaw66dpZxhJB2TrDyZWSFd5rpPLJA%3D' (2024-12-20) • Added input 'home-manager': 'github:nix-community/home-manager/1395379a7a36e40f2a76e7b9936cc52950baa1be?narHash=sha256-OOfI0XhSJGHblfdNDhfnn8QnZxng63rWk9eeJ2tCbiI%3D' (2024-12-19) • Added input 'home-manager/nixpkgs': follows 'nixpkgs' • Added input 'home-manager-stable': 'github:nix-community/home-manager/80b0fdf483c5d1cb75aaad909bd390d48673857f?narHash=sha256-vykpJ1xsdkv0j8WOVXrRFHUAdp9NXHpxdnn1F4pYgSw%3D' (2024-12-16) • Added input 'home-manager-stable/nixpkgs': follows 'nixpkgs-stable' • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19) → 'github:NixOS/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17) • Added input 'nixpkgs-stable': 'github:NixOS/nixpkgs/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca?narHash=sha256-nbG9TijTMcfr%2Bau7ZVbKpAhMJzzE2nQBYmRvSdXUD8g%3D' (2024-12-19) • Added input 'nuscht-search': 'github:NuschtOS/search/3051be7f403bff1d1d380e4612f0c70675b44fc9?narHash=sha256-Y47y%2BLesOCkJaLvj%2BdI/Oa6FAKj/T9sKVKDXLNsViPw%3D' (2024-12-09) • Added input 'nuscht-search/flake-utils': 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13) • Added input 'nuscht-search/flake-utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09) • Added input 'nuscht-search/ixx': 'github:NuschtOS/ixx/9fd01aad037f345350eab2cd45e1946cc66da4eb?narHash=sha256-EiOq8jF4Z/zQe0QYVc3%2BqSKxRK//CFHMB84aYrYGwEs%3D' (2024-10-26) • Added input 'nuscht-search/ixx/flake-utils': follows 'nuscht-search/flake-utils' • Added input 'nuscht-search/ixx/nixpkgs': follows 'nuscht-search/nixpkgs' • Added input 'nuscht-search/nixpkgs': follows 'nixpkgs'
I believe this broke eval on my hydra instance:
(and yes, it has been working before and the only major change was this PR) |
This is going to be an expected breakage with this change. Moving to nixpkgs fetchers over their builtin equivalents reveals some previously hidden occurrences of IFD, with the Alacritty module being an example of this I'm assuming what's been happening here is that you have a Hydra instance with no aarch64-darwin builder, but that evaluates (not builds) an aarch64-darwin configuration. Previously this worked as the builtin fetchers are system agnostic, which allowed you to download the alacritty source even though it was technically for a different system; the Nixpkgs fetchers are system-specific though, so this is no longer possible The only workaround here would be to disable the offending module on this configuration, or don't evaluate this configuration in your Hydra instance |
Actually, the hydra instance is an
Well, this sucks. I like to pre-build my configurations and save them to an S3 instance. Is there no way to fix alacritty or have a workaround? Right now I pinned |
If your Hydra instance does have access to an aarch64-darwin builder, I would recommend setting up distributed builds between that and the evaluation machine, as it would allow latter to perform builds on the former and then continue evaluating. Alternatively, you could override the source used via |
Well, this already exists and I could evaluate and build my whole |
Closes #240
The main goal here is to avoid discrepancies with the versions of Nixpkgs we have tested on and those on our users' systems -- i.e., us falling out of sync or moving too quickly with Nixpkgs will no longer cause problems in our modules
As a side effect of these changes, we also see some other improvements: