Merge pull request 'copilot/add-bun-rules-package' (#2) from copilot/add-bun-rules-package into main

Reviewed-on: #2
This commit is contained in:
Eric
2026-03-04 08:47:28 +00:00
4 changed files with 19 additions and 8 deletions

View File

@@ -35,5 +35,11 @@ jobs:
extra_nix_config: | extra_nix_config: |
experimental-features = nix-command flakes 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 - name: Install flake dependencies
run: nix develop --accept-flake-config -c true run: nix develop --accept-flake-config -c true

3
VERSION Normal file
View File

@@ -0,0 +1,3 @@
0.0.2
stable
0

12
flake.lock generated
View File

@@ -9,16 +9,16 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1772610504, "lastModified": 1772613315,
"narHash": "sha256-uoMnjsab5IpZRZ/1mn5oVy4fRnAYn6b58E3FNa+jyQY=", "narHash": "sha256-RlPTOsyfVwuwEzvaMpwS+giOqQa6KQXMuSHyh1bctjk=",
"ref": "v1.0.4", "ref": "v1.0.5",
"rev": "86a0792b6e54104e8cb33983cabc175aea8da464", "rev": "e445e49baf8b44b385108cd4f26a14d8ccf9fd35",
"revCount": 33, "revCount": 35,
"type": "git", "type": "git",
"url": "https://git.dgren.dev/eric/nix-flake-lib" "url": "https://git.dgren.dev/eric/nix-flake-lib"
}, },
"original": { "original": {
"ref": "v1.0.4", "ref": "v1.0.5",
"type": "git", "type": "git",
"url": "https://git.dgren.dev/eric/nix-flake-lib" "url": "https://git.dgren.dev/eric/nix-flake-lib"
} }

View File

@@ -3,12 +3,13 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; 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"; devshell-lib.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = outputs =
{ {
self,
nixpkgs, nixpkgs,
devshell-lib, devshell-lib,
... ...
@@ -41,6 +42,7 @@
bun bun
bazel9 bazel9
bazel-buildtools bazel-buildtools
self.packages.${system}.release
]; ];
features = { features = {
@@ -86,7 +88,7 @@
name = "Bazel"; name = "Bazel";
bin = "${bazel9}/bin/bazel"; bin = "${bazel9}/bin/bazel";
versionCmd = "--version"; versionCmd = "--version";
color = "BLUE"; color = "GREEN";
} }
]; ];