Skip to content

Commit

Permalink
Add default nix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcinereus committed Jul 16, 2024
1 parent 14e9687 commit bd5b906
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/default.nix
Original file line number Diff line number Diff line change
@@ -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];
}
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ jobs:
backtrace: full

- name: Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build development environment
run: |
nix-build

0 comments on commit bd5b906

Please sign in to comment.