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 = { languages = {
nim= true; nim = true;
python= true; python = true;
}; };
cli.enable = true; cli.enable = true;

View file

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

View file

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