21 lines
636 B
Nix
21 lines
636 B
Nix
{
|
|
description = "A Nix flake using nixos-unstable with a development shell";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # Use the unstable channel
|
|
flake-utils.url = "github:numtide/flake-utils"; # Utility for handling multiple systems
|
|
};
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = import nixpkgs { inherit system; }; # Import packages for the specified system
|
|
in {
|
|
devShell = pkgs.mkShell {
|
|
name = "dev-shell"; # Name of the development shell
|
|
buildInputs = [
|
|
pkgs.bun
|
|
];
|
|
};
|
|
});
|
|
}
|