mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
R is updated to weekly rstats-on-nix version
This commit is contained in:
parent
99614a96af
commit
d034d1a299
1 changed files with 8 additions and 5 deletions
|
|
@ -241,10 +241,13 @@
|
||||||
|
|
||||||
echo "🔄 Updating project dependencies..."
|
echo "🔄 Updating project dependencies..."
|
||||||
|
|
||||||
if [[ -f "flake.lock" ]]; then
|
RVER=$( wget -qO- 'https://raw.githubusercontent.com/ropensci/rix/refs/heads/main/inst/extdata/available_df.csv' | tail -n 1 | head -n 1 | cut -d',' -f4 | tr -d '"' ) &&\
|
||||||
nix flake update
|
|
||||||
echo "✅ Flake inputs updated"
|
sed -i "s|rixpkgs.url = \"github:rstats-on-nix/nixpkgs/[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\";|rixpkgs.url = \"github:rstats-on-nix/nixpkgs/$RVER\";|" flake.nix
|
||||||
fi
|
echo "✅ R date is $RVER"
|
||||||
|
|
||||||
|
nix flake update
|
||||||
|
echo "✅ Flake inputs updated"
|
||||||
|
|
||||||
if [[ -f "pyproject.toml" ]]; then
|
if [[ -f "pyproject.toml" ]]; then
|
||||||
uv sync --upgrade
|
uv sync --upgrade
|
||||||
|
|
@ -637,7 +640,7 @@
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
rixpkgs.url = "https://github.com/rstats-on-nix/nixpkgs/archive/2025-08-11.tar.gz";
|
rixpkgs.url = "github:rstats-on-nix/nixpkgs/2025-08-25";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
nixCats = {
|
nixCats = {
|
||||||
url = "github:dwinkler1/nixCatsConfig";
|
url = "github:dwinkler1/nixCatsConfig";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue