diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index b38dd56..9fc1694 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -35,5 +35,11 @@ jobs: extra_nix_config: | experimental-features = nix-command flakes + - name: Restore and save Nix store cache + uses: nix-community/cache-nix-action@v7 + with: + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} + restore-prefixes-first-match: nix-${{ runner.os }}- + - name: Install flake dependencies run: nix develop --accept-flake-config -c true diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..5e5e897 --- /dev/null +++ b/VERSION @@ -0,0 +1,3 @@ +0.0.2 +stable +0 diff --git a/flake.lock b/flake.lock index 37de1f2..b18e560 100644 --- a/flake.lock +++ b/flake.lock @@ -9,16 +9,16 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1772610504, - "narHash": "sha256-uoMnjsab5IpZRZ/1mn5oVy4fRnAYn6b58E3FNa+jyQY=", - "ref": "v1.0.4", - "rev": "86a0792b6e54104e8cb33983cabc175aea8da464", - "revCount": 33, + "lastModified": 1772613315, + "narHash": "sha256-RlPTOsyfVwuwEzvaMpwS+giOqQa6KQXMuSHyh1bctjk=", + "ref": "v1.0.5", + "rev": "e445e49baf8b44b385108cd4f26a14d8ccf9fd35", + "revCount": 35, "type": "git", "url": "https://git.dgren.dev/eric/nix-flake-lib" }, "original": { - "ref": "v1.0.4", + "ref": "v1.0.5", "type": "git", "url": "https://git.dgren.dev/eric/nix-flake-lib" } diff --git a/flake.nix b/flake.nix index 88e0a57..c65c881 100644 --- a/flake.nix +++ b/flake.nix @@ -3,12 +3,13 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; - devshell-lib.url = "git+https://git.dgren.dev/eric/nix-flake-lib?ref=v1.0.4"; + devshell-lib.url = "git+https://git.dgren.dev/eric/nix-flake-lib?ref=v1.0.5"; devshell-lib.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { + self, nixpkgs, devshell-lib, ... @@ -41,6 +42,7 @@ bun bazel9 bazel-buildtools + self.packages.${system}.release ]; features = { @@ -86,7 +88,7 @@ name = "Bazel"; bin = "${bazel9}/bin/bazel"; versionCmd = "--version"; - color = "BLUE"; + color = "GREEN"; } ];