Skip to content

Commit

Permalink
add nix flake for bun
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Sep 25, 2024
1 parent 14886e8 commit 0e568e3
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
57 changes: 57 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
description = "Bun workflow";

inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs";
};

outputs = inputs@{ self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems =
[ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
perSystem = { config, self', inputs', pkgs, ... }: {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
bun
];
};
};
};
}

0 comments on commit 0e568e3

Please sign in to comment.