Skip to content

revive flake#122

Open
getchoo wants to merge 5 commits intocafkafk:mainfrom
getchoo-contrib:getchoo/flake-cleanup
Open

revive flake#122
getchoo wants to merge 5 commits intocafkafk:mainfrom
getchoo-contrib:getchoo/flake-cleanup

Conversation

@getchoo
Copy link

@getchoo getchoo commented May 30, 2025

Currently this Flake doesn't really work as it's using the non-functional rime.cx instance (#120). This fixes that by redirecting the inputs to their upstream sources

I also made some small cleanups to the packaging to hopefully make this Flake easier to consume downstream, modernize it a bit, and be a step towards an eventual NixOS module

getchoo added 5 commits May 30, 2025 06:34
This is a slight problem when the main instance is down

• Updated input 'flake-utils':
    'http://rime.cx/v1/github/semnix/flake-utils.tar.gz?narHash=sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8%3D' (2023-12-04)
  → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13)
• Updated input 'naersk':
    'http://rime.cx/v1/github/semnix/naersk.tar.gz?narHash=sha256-/TdeHMPRjjdJub7p7%2Bw55vyABrsJlt5QkznPYy55vKA%3D' (2023-10-27)
  → 'github:nix-community/naersk/38bc60bbc157ae266d4a0c96671c6c742ee17a5f?narHash=sha256-cyAAMal0aPrlb1NgzMxZqeN1mAJ2pJseDhm2m6Um8T0%3D' (2025-04-29)
• Updated input 'naersk/nixpkgs':
    'path:/nix/store/ildml01gk7v91fba35whklllfi343lvq-source?lastModified=1706173671&narHash=sha256-lciR7kQUK2FCAYuszyd7zyRRmTaXVeoZsCyK6QFpGdk%3D&rev=4fddc9be4eaf195d631333908f2a454b03628ee5' (2024-01-25)
  → 'github:NixOS/nixpkgs/3866ad91cfc172f08a6839def503d8fc2923c603?narHash=sha256-oS0Gxh63Df8b8r04lqEYDDLKhHIrVr9/JLOn2bn8JaI%3D' (2025-05-29)
• Updated input 'nixpkgs':
    'http:/rime.cx/v1/github/NixOS/nixpkgs/b/nixpkgs-unstable.tar.gz?narHash=sha256-lciR7kQUK2FCAYuszyd7zyRRmTaXVeoZsCyK6QFpGdk%3D' (2024-01-25)
  → 'github:NixOS/nixpkgs/3866ad91cfc172f08a6839def503d8fc2923c603?narHash=sha256-oS0Gxh63Df8b8r04lqEYDDLKhHIrVr9/JLOn2bn8JaI%3D' (2025-05-29)
• Updated input 'pre-commit-hooks':
    'http://rime.cx/v1/github/semnix/pre-commit-hooks.nix.tar.gz?narHash=sha256-ej2fch/T584b5K9sk1UhmZF7W6wEfDHuoUYpFN8dtvM%3D' (2023-11-25)
  → 'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16)
• Removed input 'pre-commit-hooks/flake-utils'
• Removed input 'pre-commit-hooks/nixpkgs-stable'
• Updated input 'rust-overlay':
    'http://rime.cx/v1/github/semnix/rust-overlay.tar.gz?narHash=sha256-FkwIBTAMsxyceQce0Mbm%2B/%2BcOjj2r5IHBK4R/ekPNaw%3D' (2023-12-09)
  → 'github:oxalica/rust-overlay/405ef13a5b80a0a4d4fc87c83554423d80e5f929?narHash=sha256-k0nhPtkVDQkVJckRw6fGIeeDBktJf1BH0i8T48o7zkk%3D' (2025-05-30)
• Removed input 'rust-overlay/flake-utils'
• Removed input 'rust-overlay/flake-utils/systems'
• Updated input 'treefmt-nix':
    'http://rime.cx/v1/github/semnix/treefmt-nix.tar.gz?narHash=sha256-3h3EH1FXQkIeAuzaWB%2BnK0XK54uSD46pp%2BdMD3gAcB4%3D' (2023-12-07)
  → 'github:numtide/treefmt-nix/1f3f7b784643d488ba4bf315638b2b0a4c5fb007?narHash=sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8%3D' (2025-05-26)
• Updated input 'treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/6500b4580c2a1f3d0f980d32d285739d8e156d92?narHash=sha256-asS9dCCdlt1lPq0DLwkVBbVoEKuEuz%2BZi3DG7pR/RxA%3D' (2023-09-25)
  → 'github:nixos/nixpkgs/3866ad91cfc172f08a6839def503d8fc2923c603?narHash=sha256-oS0Gxh63Df8b8r04lqEYDDLKhHIrVr9/JLOn2bn8JaI%3D' (2025-05-29)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/3866ad91cfc172f08a6839def503d8fc2923c603?narHash=sha256-oS0Gxh63Df8b8r04lqEYDDLKhHIrVr9/JLOn2bn8JaI%3D' (2025-05-29)
  → follows 'nixpkgs'
• Updated input 'rust-overlay/nixpkgs':
    'github:NixOS/nixpkgs/96ba1c52e54e74c3197f4d43026b3f3d92e83ff9?narHash=sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII%2BF%2Bx2hklDOQPB50%3D' (2023-04-13)
  → follows 'nixpkgs'
• Updated input 'treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/3866ad91cfc172f08a6839def503d8fc2923c603?narHash=sha256-oS0Gxh63Df8b8r04lqEYDDLKhHIrVr9/JLOn2bn8JaI%3D' (2025-05-29)
  → follows 'nixpkgs'
1.74 is getting a bit old, and we don't need nightly features
As we've switched to the stable toolchain, we can mostly just follow
Nixpkgs (as that is usually also tracking stable)

This also avoids the infamous
https://zimbatm.com/notes/1000-instances-of-nixpkgs problem with
overlays, making the Flake slightly nicer to consumer

• Removed input 'rust-overlay'
• Removed input 'rust-overlay/nixpkgs'
This adopts the new Darwin SDK pattern, and ensures native and target
dependencies are correctly split by `{nativeB,b}uildInputs`
@getchoo getchoo requested a review from cafkafk as a code owner May 30, 2025 10:51
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.

1 participant