Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
description = "ResQ Programs — Solana Anchor on-chain programs (airspace, delivery)";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To optimize the flake evaluation and reduce the closure size, it is recommended to make the rust-overlay input follow the main nixpkgs input. This prevents Nix from fetching and evaluating two different versions of nixpkgs (the stable 25.11 and the unstable version used by default by the overlay). Currently, the flake.lock shows that rust-overlay is pulling in an additional nixpkgs-unstable instance.

    nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
    rust-overlay.inputs.nixpkgs.follows = "nixpkgs";

flake-utils.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
};
Expand Down
Loading