39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{
|
|
description = "Flake which provides a Conmorfeusz (app that glues Morfeusz and Concraft-pl together) as well as Morfeusz and Concraft-pl";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
flake-utils,
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
conmorfeusz = pkgs.callPackage ./conmorfeusz {inherit self;};
|
|
morfeusz = pkgs.callPackage ./morfeusz {inherit self;};
|
|
concraft-pl = pkgs.callPackage ./concraft-pl {inherit self;};
|
|
concraft-pl-sgjp-model = pkgs.callPackage ./concraft-pl-sgjp-model {inherit self;};
|
|
in {
|
|
packages = rec {
|
|
inherit conmorfeusz morfeusz concraft-pl concraft-pl-sgjp-model;
|
|
default = conmorfeusz;
|
|
};
|
|
|
|
# Aplikacje do uruchomienia
|
|
apps.default = flake-utils.lib.mkApp {
|
|
drv = conmorfeusz;
|
|
name = "conmorfeusz"; # Nazwa skryptu/modułu do uruchomienia
|
|
};
|
|
})
|
|
// {
|
|
nixosModules = rec {
|
|
conmorfeusz = import ./module.nix self;
|
|
default = conmorfeusz;
|
|
};
|
|
};
|
|
}
|