From 09afb7d003625a4362161c539b4c536cf6276ed5 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Fri, 18 Apr 2025 14:43:01 -0500 Subject: [PATCH] Add mise and update xontrib-apipenv Mise is needed for IVR work Update to xontrib-apipenv which has slightly nicer experiences for users --- home/hosts/ivr/default.nix | 1 + home/modules/baseline/xonsh_header.xsh | 1 + overlays/xonsh-apipenv.nix | 8 ++++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home/hosts/ivr/default.nix b/home/hosts/ivr/default.nix index c355260..8c01625 100644 --- a/home/hosts/ivr/default.nix +++ b/home/hosts/ivr/default.nix @@ -41,6 +41,7 @@ in k9s kubectl minikube + mise mysql-workbench nixStable pipenv-ivr diff --git a/home/modules/baseline/xonsh_header.xsh b/home/modules/baseline/xonsh_header.xsh index e88f91d..48aa8ac 100644 --- a/home/modules/baseline/xonsh_header.xsh +++ b/home/modules/baseline/xonsh_header.xsh @@ -14,6 +14,7 @@ from sys import platform xontrib load direnv xontrib load coreutils xontrib load xonsh-apipenv +$APIPENV="1" # Insert to the front, because when we spawn xonsh in tmux we have raw python3 # paths added before these. That ends up screwing with finding the python3 version diff --git a/overlays/xonsh-apipenv.nix b/overlays/xonsh-apipenv.nix index f2286bc..5a132d5 100644 --- a/overlays/xonsh-apipenv.nix +++ b/overlays/xonsh-apipenv.nix @@ -6,15 +6,15 @@ pipenv, }: -buildPythonPackage { +buildPythonPackage rec { pname = "xonsh-apipenv"; - version = "0.5.0"; + version = "0.6.0"; src = fetchFromGitHub { owner = "greg-hellings"; repo = "xontrib-apipenv"; - rev = "0.5.0"; - hash = "sha256-QJatIiIP1YVT8M5vLUPHmf/8CGZ34cXMBXQmfSgY5C4="; + rev = version; + hash = "sha256-Wa8iev0ow1oh95tPCv5tAJUMBYiStWms8I31WbVcOok="; }; dependencies = [ (toPythonModule pipenv) ];