mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
formatting
This commit is contained in:
parent
b47ff20d80
commit
9969e5a1bb
3 changed files with 5 additions and 4 deletions
|
@ -8,8 +8,8 @@
|
|||
];
|
||||
|
||||
languages = {
|
||||
nim= true;
|
||||
python= true;
|
||||
nim = true;
|
||||
python = true;
|
||||
};
|
||||
cli.enable = true;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue