blob: 9c9dd13b26e03c4a76a0a5a9070e8deb2ffc699a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
description = "Procfile generation in your Nix shells!";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = {
self,
nixpkgs,
}: let
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
in {
lib = forAllSystems (pkgs:
import ./. {
nixpkgs = pkgs;
inherit (pkgs) system;
});
flakeModule = import ./module.nix self;
formatter = forAllSystems (pkgs: pkgs.alejandra);
};
}
|