diff --git a/flake.lock b/flake.lock index c312edb9..47ba49b0 100644 --- a/flake.lock +++ b/flake.lock @@ -55,9 +55,7 @@ "flake-utils": [ "flake-utils" ], - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": "nixpkgs", "nixpkgs-bun": "nixpkgs-bun", "quest-pinned": "quest-pinned", "token-max": "token-max" @@ -95,7 +93,10 @@ "root": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", + "nixpkgs": [ + "quest", + "nixpkgs" + ], "quest": "quest", "rust-overlay": "rust-overlay" } diff --git a/flake.nix b/flake.nix index 3a1ed859..00878797 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,9 @@ }; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + # quest's nixpkgs, so every repository's dev shell gets the same C compiler and mbx + # shares build scripts, proc-macros, and the crates built on them across repositories. + nixpkgs.follows = "quest/nixpkgs"; flake-utils.url = "github:numtide/flake-utils"; rust-overlay = { url = "github:oxalica/rust-overlay"; @@ -22,7 +24,6 @@ # .claude/skills call. Bump the rev to upgrade them. quest = { url = "github:kixel-ai/quest"; - inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils"; }; };