18 lines
454 B
Nix
18 lines
454 B
Nix
{
|
|
description = "Development environment flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }: nixpkgs.lib.foldAttrs (item: acc: item // acc) { } (map
|
|
(system: with nixpkgs.legacyPackages."${system}"; {
|
|
devShells."${system}".default = mkShell {
|
|
nativeBuildInputs = [
|
|
nodejs_20
|
|
tmux
|
|
];
|
|
};
|
|
}) [ "x86_64-linux" "aarch64-linux" ]);
|
|
}
|