From 08114aaef7d53a1b41f73c85ee3c591d1be607cf Mon Sep 17 00:00:00 2001 From: Yusuke Shimizu Date: Sun, 18 Jan 2026 09:22:57 +0900 Subject: [PATCH] chore: update direnv and flake inputs Set up direnv with a project .envrc, ignore direnv cache artifacts, and update flake inputs (including the macOS apple-sdk simplification). Signed-off-by: Yusuke Shimizu --- .envrc | 2 ++ .gitignore | 3 +++ flake.lock | 12 ++++++------ flake.nix | 4 +--- 4 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 000000000000..af0cc9383e34 --- /dev/null +++ b/.envrc @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +use flake diff --git a/.gitignore b/.gitignore index 1acf9e3f26ad..681381937cb2 100644 --- a/.gitignore +++ b/.gitignore @@ -70,5 +70,8 @@ crates/goose/tests/mcp_replays/*errors.txt # Nix build output result +# direnv +.direnv/ + # Goose self-test artifacts gooseselftest/ diff --git a/flake.lock b/flake.lock index 869438f1e65e..f24b528c5701 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1755186698, - "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=", + "lastModified": 1768305791, + "narHash": "sha256-AIdl6WAn9aymeaH/NvBj0H9qM+XuAuYbGMZaP0zcXAQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c", + "rev": "1412caf7bf9e660f2f962917c14b1ea1c3bc695e", "type": "github" }, "original": { @@ -47,11 +47,11 @@ ] }, "locked": { - "lastModified": 1755571033, - "narHash": "sha256-V8gmZBfMiFGCyGJQx/yO81LFJ4d/I5Jxs2id96rLxrM=", + "lastModified": 1768445213, + "narHash": "sha256-y0BglISgDr61vvdb35m0O4npuqh1pojlBNDILo9j8AI=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "95487740bb7ac11553445e9249041a6fa4b5eccf", + "rev": "1cd63408e71cc0e6a89ff2cb7c4107214e2523cc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index db48d1c8e914..931af1674cdb 100644 --- a/flake.nix +++ b/flake.nix @@ -30,9 +30,7 @@ darwinInputs = with pkgs; [ libiconv - darwin.apple_sdk.frameworks.Security - darwin.apple_sdk.frameworks.SystemConfiguration - darwin.apple_sdk.frameworks.CoreServices + apple-sdk ]; buildInputs = commonInputs