mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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 = {
|
languages = {
|
||||||
nim= true;
|
nim = true;
|
||||||
python= true;
|
python = true;
|
||||||
};
|
};
|
||||||
cli.enable = true;
|
cli.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue