No description
Find a file
dependabot[bot] c59cb699e9
Bump cachix/cachix-action from 16 to 17
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 16 to 17.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v16...v17)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-version: '17'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 13:46:54 +00:00
.github Bump cachix/cachix-action from 16 to 17 2026-03-23 13:46:54 +00:00
packages Delete packages/h/httpgd.nix 2026-02-19 11:50:44 +11:00
test Remove httpgd library and associated calls 2026-02-19 11:51:45 +11:00
versions Delete versions/httpgd.json 2026-02-19 11:51:01 +11:00
.gitignore added summclust 2026-01-19 13:50:08 +11:00
flake.lock flake.lock: Update 2026-02-18 04:55:41 +00:00
flake.nix Update nixpkgs input URL in flake.nix 2026-02-19 11:52:31 +11:00
README.md Added usage example 2025-09-12 21:05:07 +10:00

Usage

Based on the-nix-way

{
  description = "A Nix-flake-based R development environment";

  inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
  inputs.fran.url = "github:dwinkler1/fran";
  inputs.fran.inputs.nixpkgs.follows = "nixpkgs";

  outputs = inputs: let
    supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
    forEachSupportedSystem = f:
      inputs.nixpkgs.lib.genAttrs supportedSystems (system:
        f {
          pkgs = import inputs.nixpkgs {
            inherit system;
            overlays = [inputs.fran.overlays.default];
          };
        });
    mkR = inputs.fran.lib.mkR;
  in {
    devShells = forEachSupportedSystem ({pkgs}: {
      default = pkgs.mkShell {
        packages = with pkgs; [
          (mkR {
            inherit pkgs;
            packages = [rPackages.data_table extraRPackages.fwildclusterboot];
          })
        ];
      };
    });
  };
}