From 09394d8e465664059693caec81f0594c951f00a6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 12 Feb 2023 13:33:41 -0500 Subject: nix packages, added graphicsmagick - some fiddling with packages, determine what is needed where --- shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 9f689127..27fadf87 100755 --- a/shell.nix +++ b/shell.nix @@ -8,6 +8,7 @@ mkShell { rubyPackages_3_1.sqlite3 rubyPackages_3_1.thor sqlite + graphicsmagick unzip xz zip @@ -17,7 +18,7 @@ mkShell { validatePkgConfig jq git - starship + #starship ]; shellHook = '' if [[ -e ".envrc" ]]; then -- cgit v1.2.3 From 4573e88c2f9b5f8c57c6b2e0f4c0526bb729526e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 12 Oct 2023 22:29:59 -0400 Subject: nix flake shell ruby-3.2 update --- shell.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 27fadf87..aa2fb632 100755 --- a/shell.nix +++ b/shell.nix @@ -3,10 +3,10 @@ with pkgs; mkShell { buildInputs = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor + ruby_3_2 + rubyPackages_3_2.rake + rubyPackages_3_2.sqlite3 + rubyPackages_3_2.thor sqlite graphicsmagick unzip @@ -16,14 +16,16 @@ mkShell { #texlive-combined-full nixFlakes validatePkgConfig + nix-output-monitor + nix-tree jq git #starship ]; shellHook = '' - if [[ -e ".envrc" ]]; then - source .envrc - fi - eval "$(starship init bash)" + #if [[ -e ".envrc" ]]; then + # source .envrc + #fi + #eval "$(starship init bash)" ''; } -- cgit v1.2.3 From 254371aa83682d52cac1746eaf1892538d97f352 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 14 Oct 2023 12:27:50 -0400 Subject: updates nix flake & ruby 3.3, nix direnv 2.4.0 --- shell.nix | 57 +++++++++++++++++++++++++++------------------------------ 1 file changed, 27 insertions(+), 30 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index aa2fb632..ec794cda 100755 --- a/shell.nix +++ b/shell.nix @@ -1,31 +1,28 @@ -#!/usr/bin/env -S nix-shell --pure -{ pkgs ? import {} }: +#!/usr/bin/env -S nix-shell --impure +#!nix-shell -i bash +{pkgs ? import {}}: with pkgs; -mkShell { - buildInputs = [ - ruby_3_2 - rubyPackages_3_2.rake - rubyPackages_3_2.sqlite3 - rubyPackages_3_2.thor - sqlite - graphicsmagick - unzip - xz - zip - openssl - #texlive-combined-full - nixFlakes - validatePkgConfig - nix-output-monitor - nix-tree - jq - git - #starship - ]; - shellHook = '' - #if [[ -e ".envrc" ]]; then - # source .envrc - #fi - #eval "$(starship init bash)" - ''; -} + mkShell { + buildInputs = [ + ruby_3_3 + rubyPackages_3_3.rake + rubyPackages_3_3.sqlite3 + rubyPackages_3_3.thor + sqlite + graphicsmagick + unzip + xz + zip + openssl + #texlive-combined-full + nixFlakes + validatePkgConfig + nix-output-monitor + nix-tree + jq + git + #starship + ]; + shellHook = '' + ''; + } -- cgit v1.2.3