diff --git a/template/r/flake.nix b/template/r/flake.nix new file mode 100644 index 0000000..91255ed --- /dev/null +++ b/template/r/flake.nix @@ -0,0 +1,19 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, flake-utils, nixpkgs }: + flake-utils.lib.eachDefaultSystem (system: + let pkgs = nixpkgs.legacyPackages.${system}; + in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + (rWrapper.override { + packages = with rPackages; [ tidyverse ]; + }) + ]; + }; + }); +} diff --git a/template/rust-nightly/flake.nix b/template/rust/flake.nix similarity index 100% rename from template/rust-nightly/flake.nix rename to template/rust/flake.nix