Initial Elixir project

This commit is contained in:
bluepython508 committed 2024-09-15 12:17:48 +01:00
commit cb207114a7
12 files changed
+200

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
{
description = "frajtano: an ssh agent multiplexer";
outputs = {
self,
nixpkgs,
systems,
}: let
inherit (nixpkgs) lib;
eachSystem = f:
lib.genAttrs (import systems) (system:
f {
inherit system;
pkgs = nixpkgs.legacyPackages.${system};
ownPkgs = self.packages.${system};
});
in {
devShells = eachSystem ({pkgs, ownPkgs, ...}: {
default = pkgs.beam.packages.erlang_26.callPackage ./shell.nix {
inherit ownPkgs;
};
});
packages = eachSystem ({pkgs, ...}: {
default = pkgs.beam.packages.erlang_26.callPackage ./default.nix {};
});
};
}