formatting

This commit is contained in:
Daylin Morgan 2024-01-25 13:59:33 -06:00
parent b47ff20d80
commit 9969e5a1bb
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
3 changed files with 5 additions and 4 deletions

View file

@ -8,8 +8,8 @@
];
languages = {
nim= true;
python= true;
nim = true;
python = true;
};
cli.enable = true;

View file

@ -8,8 +8,9 @@
inherit (nixpkgs.lib.filesystem) listFilesRecursive;
supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});
in rec {
forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});
shToPkg = path:
forAllSystems (
pkgs: let

View file

@ -5,7 +5,7 @@
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.languages ;
cfg = config.languages;
in {
options.languages.python = mkEnableOption "python";
config = mkIf cfg.python {