Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Rodrigues committed Jul 11, 2024
1 parent a5e4cc4 commit bed0650
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/make_inst_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Generate .inst/extdata/default.nix
run: |
nix-shell ./inst/extdata/default.nix --run "Rscript -e \"library(rix);latest_commit <- sys::as_text(sys::exec_internal('git', c('rev-parse', 'master'))$stdout);print(latest_commit);rix('4.3.1', git_pkgs = list(package_name = 'rix', repo_url = 'https://github.com/b-rodrigues/rix/', branch_name = 'master', commit = latest_commit), ide = 'other', project_path = './inst/extdata', overwrite = TRUE)\""
nix-shell ./inst/extdata/default.nix --run "Rscript -e \"library(rix);latest_commit <- sys::as_text(sys::exec_internal('git', c('rev-parse', 'master'))$stdout);print(latest_commit);rix('4.3.1', git_pkgs = list(package_name = 'rix', repo_url = 'https://github.com/b-rodrigues/rix/', branch_name = 'master', commit = latest_commit), ide = 'other', project_path = 'inst/extdata', overwrite = TRUE)\""
- name: Commit and push default.nix
run: |
Expand Down
23 changes: 10 additions & 13 deletions inst/extdata/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
# This file was generated by the {rix} R package v0.7.1 on 2024-07-02
# This file was generated by the {rix} R package v0.8.0 on 2024-07-11
# with following call:
# >rix(r_ver = "b9014df496d5b68bf7c0145d0e9b0f529ce4f2a8",
# > r_pkgs = NULL,
# > system_pkgs = NULL,
# >rix(r_ver = "976fa3369d722e76f37c77493d99829540d43845",
# > git_pkgs = list(package_name = "rix",
# > repo_url = "https://github.com/b-rodrigues/rix/",
# > branch_name = "master",
# > commit = latest_commit),
# > commit = "a5e4cc42c63044af9c4a1854cf31317dfe27b723"),
# > ide = "other",
# > project_path = "../inst/extdata",
# > overwrite = TRUE,
# > shell_hook = NULL)
# It uses nixpkgs' revision b9014df496d5b68bf7c0145d0e9b0f529ce4f2a8 for reproducibility purposes
# which will install R version latest.
# > project_path = "inst/extdata",
# > overwrite = T)
# It uses nixpkgs' revision 976fa3369d722e76f37c77493d99829540d43845 for reproducibility purposes
# which will install R version 4.3.1.
# Report any issues to https://github.com/b-rodrigues/rix
let
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/b9014df496d5b68bf7c0145d0e9b0f529ce4f2a8.tar.gz") {};
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/976fa3369d722e76f37c77493d99829540d43845.tar.gz") {};

git_archive_pkgs = [
(pkgs.rPackages.buildRPackage {
name = "rix";
src = pkgs.fetchgit {
url = "https://github.com/b-rodrigues/rix/";
branchName = "master";
rev = "e23c9c4e2b6775a3f4068b1d7f76d4407cf51671";
sha256 = "sha256-SRmJ8lvtLcDBITGYto1LbqFzG6ERGRbFssWLx5ycMv4=";
rev = "a5e4cc42c63044af9c4a1854cf31317dfe27b723";
sha256 = "sha256-3PpABkptQZRlLsnnyammFs9kbajsHHWJgm1UhjCEqq0=";
};
propagatedBuildInputs = builtins.attrValues {
inherit (pkgs.rPackages)
Expand Down

0 comments on commit bed0650

Please sign in to comment.