From 8fc712be601e9d1ff4602f302b10f726e8f0ef5b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 11 Jan 2026 19:58:58 +0000 Subject: [PATCH] Remove trailing whitespace from all files (nitpick) Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com> --- templates/rde/README.md | 6 +++--- templates/rde/REFACTORING.md | 2 +- templates/rde/SUMMARY.md | 6 +++--- templates/rde/flake.nix | 2 +- templates/rde/lib/shell-hook.nix | 2 +- templates/rde/overlays/project-scripts.nix | 6 +++--- templates/rde/overlays/r.nix | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/rde/README.md b/templates/rde/README.md index 9ce76d0..5b048ff 100644 --- a/templates/rde/README.md +++ b/templates/rde/README.md @@ -83,20 +83,20 @@ Edit the `config` section in `flake.nix` to customize your environment: config = rec { # Name for your project commands (e.g., myproject-r, myproject-py) defaultPackageName = "p"; - + # Enable/disable language support enabledLanguages = { julia = false; # Julia with Pluto notebooks python = false; # Python with uv package manager r = true; # R with tidyverse and friends }; - + # Additional features enabledPackages = { gitPlugins = enabledLanguages.r; # R.nvim plugin devenv = false; # Additional dev environment }; - + # Neovim color scheme theme = rec { colorscheme = "kanagawa"; # cyberdream, onedark, tokyonight, kanagawa diff --git a/templates/rde/REFACTORING.md b/templates/rde/REFACTORING.md index 1ffb9a7..7098105 100644 --- a/templates/rde/REFACTORING.md +++ b/templates/rde/REFACTORING.md @@ -107,7 +107,7 @@ templates/rde/ ### 5. Benefits Achieved -1. **Maintainability**: +1. **Maintainability**: - Changes to one language don't affect others - Easy to locate and modify specific functionality - Clear ownership of different components diff --git a/templates/rde/SUMMARY.md b/templates/rde/SUMMARY.md index 40268de..9b9947d 100644 --- a/templates/rde/SUMMARY.md +++ b/templates/rde/SUMMARY.md @@ -129,14 +129,14 @@ templates/rde/ outputs = { ... }: let # Clear config section config = { ... }; - + # Import from organized modules rOverlay = import ./overlays/r.nix; pythonOverlay = import ./overlays/python.nix; # ... clean imports ... - + # Main configuration - projectConfig = forSystems (system: + projectConfig = forSystems (system: # ... focused on structure, not details ``` diff --git a/templates/rde/flake.nix b/templates/rde/flake.nix index 39826af..2fc5749 100644 --- a/templates/rde/flake.nix +++ b/templates/rde/flake.nix @@ -62,7 +62,7 @@ rixOverlay = import ./overlays/rix.nix inputs; extraPkgOverlay = import ./overlays/theme.nix config; projectScriptsOverlay = import ./overlays/project-scripts.nix config; - + supportedSystems = [ "x86_64-linux" "aarch64-linux" diff --git a/templates/rde/lib/shell-hook.nix b/templates/rde/lib/shell-hook.nix index 7470714..a4dcdfa 100644 --- a/templates/rde/lib/shell-hook.nix +++ b/templates/rde/lib/shell-hook.nix @@ -19,7 +19,7 @@ # Generates the help message displayed when entering the dev shell config: pkgs: let inherit (config) defaultPackageName enabledLanguages enabledPackages; - + # Build dynamic list of available commands based on enabled languages # Filters out empty strings for disabled languages shellCmds = pkgs.lib.concatLines (pkgs.lib.filter (cmd: cmd != "") [ diff --git a/templates/rde/overlays/project-scripts.nix b/templates/rde/overlays/project-scripts.nix index 15786da..c13ca90 100644 --- a/templates/rde/overlays/project-scripts.nix +++ b/templates/rde/overlays/project-scripts.nix @@ -27,13 +27,13 @@ config: final: prev: let in { # Python project initialization (creates pyproject.toml, adds packages) initPython = prev.writeShellScriptBin "initPython" (substituteScript ../scripts/initPython.sh); - + # Project structure setup (creates directories, git repo, .gitignore) initProject = prev.writeShellScriptBin "initProject" (substituteScript ../scripts/initProject.sh); - + # Update all dependencies (R packages, Python packages, flake inputs) updateDeps = prev.writeShellScriptBin "updateDeps" (substituteScript ../scripts/updateDeps.sh); - + # Activate devenv environment if devenv.nix exists activateDevenv = prev.writeShellScriptBin "activateDevenv" (substituteScript ../scripts/activateDevenv.sh); } diff --git a/templates/rde/overlays/r.nix b/templates/rde/overlays/r.nix index f4afccf..255079b 100644 --- a/templates/rde/overlays/r.nix +++ b/templates/rde/overlays/r.nix @@ -1,5 +1,5 @@ # R packages overlay -# +# # This overlay configures the R environment with essential packages for data analysis. # It combines packages from rstats-on-nix (rpkgs) with custom packages. #