46 lines
985 B
Nix
46 lines
985 B
Nix
{
|
|
description = "git.10110110.xyz forgejo actions";
|
|
inputs = {
|
|
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0";
|
|
};
|
|
outputs =
|
|
{ self, ... }@inputs:
|
|
let
|
|
supportedSystems = [
|
|
"x86_64-linux" # 64-bit Intel/AMD Linux
|
|
];
|
|
|
|
forEachSupportedSystem =
|
|
f:
|
|
inputs.nixpkgs.lib.genAttrs supportedSystems (
|
|
system:
|
|
f {
|
|
pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
}
|
|
);
|
|
|
|
in
|
|
{
|
|
packages = forEachSupportedSystem (
|
|
{ pkgs }:
|
|
{
|
|
nix-with-node = (import ./pkgs/nix-with-node.nix { inherit pkgs; });
|
|
}
|
|
);
|
|
devShells = forEachSupportedSystem (
|
|
{ pkgs }:
|
|
{
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
skopeo
|
|
nodejs
|
|
curl
|
|
];
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|