28 lines
644 B
Nix
28 lines
644 B
Nix
{
|
|
description = "pub.solar website";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs = inputs@{ self, ... }:
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
|
|
perSystem = { system, pkgs, config, ... }: {
|
|
_module.args = {
|
|
inherit inputs;
|
|
pkgs = import inputs.nixpkgs { inherit system; };
|
|
};
|
|
|
|
devShells.default = let
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
deno
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|