diff --git a/.github/workflows/default.nix b/.github/workflows/default.nix new file mode 100644 index 00000000..e49a0a2a --- /dev/null +++ b/.github/workflows/default.nix @@ -0,0 +1,12 @@ +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/e11142026e2cef35ea52c9205703823df225c947.tar.gz") {} }: + +with pkgs; + +let + my-pkgs = rWrapper.override { + packages = with rPackages; [ dplyr ggplot2 R]; + }; +in +mkShell { + buildInputs = [my-pkgs]; +} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a0bb0d1..5e82bb74 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,4 +24,8 @@ jobs: backtrace: full - name: Nix cache - uses: DeterminateSystems/magic-nix-cache-action@main \ No newline at end of file + uses: DeterminateSystems/magic-nix-cache-action@main + + - name: Build development environment + run: | + nix-build \ No newline at end of file