diff --git a/flake.lock b/flake.lock index 4bdeaea..991b8af 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1795217999, - "narHash": "sha256-Z5mAFcY8XTAaWe+RwTchz4Fx1gwaeQ2WD8A8bKX7njY=", + "lastModified": 1794644783, + "narHash": "sha256-3GnIGIy15bMduoS9RnWqKTmsJLWThla42UFtm0S7+us=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "680275f0bb6afce84fbac3e75fc47c5f2272400b", + "rev": "5d2b81a7a3be3e2f832879028e4d60abbf58e9a0", "type": "github" }, "original": { @@ -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" } }, diff --git a/flake.nix b/flake.nix index 47b21e1..a2032e5 100644 --- a/flake.nix +++ b/flake.nix @@ -2,14 +2,15 @@ description = "moq.dev - the blog, moq.pub, and moq.watch"; 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"; # The quest CLI, which also serves the quest guide and skills the stubs in # .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"; }; };