2023-06-26 05:18:41 +02:00
|
|
|
{
|
|
|
|
description = "Magic Nix Cache";
|
|
|
|
|
|
|
|
inputs = {
|
2023-10-03 06:08:49 +02:00
|
|
|
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
|
2023-06-26 05:18:41 +02:00
|
|
|
|
2023-10-03 06:08:49 +02:00
|
|
|
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
2023-06-26 05:18:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, ... }:
|
|
|
|
let
|
|
|
|
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
|
|
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
});
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells = forAllSystems ({ pkgs }: {
|
|
|
|
default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
|
|
|
bun
|
|
|
|
nodejs
|
|
|
|
jq
|
|
|
|
act
|
|
|
|
just
|
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|