forked from cosmic/scythe
1
0
Fork 0

nix flake

This commit is contained in:
rainy 2025-04-29 15:10:49 -07:00
parent ed553e2f52
commit e923afed4a
1 changed files with 21 additions and 0 deletions

21
flake.nix Normal file
View File

@ -0,0 +1,21 @@
{
description = "Bun development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bun
nodejs
];
};
});
}