From 5680c0afefb71ebf4adb4ed4ec8e3c5c0cb1273b Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 30 Dec 2024 11:59:52 -0500 Subject: [PATCH] add `any-nix-shell` --- nixos/shell.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/shell.nix b/nixos/shell.nix index 1f22648..a8cb015 100644 --- a/nixos/shell.nix +++ b/nixos/shell.nix @@ -6,6 +6,10 @@ programs.command-not-found.enable = false; + environment.systemPackages = with pkgs; [ + any-nix-shell + ]; + users.defaultUserShell = pkgs.xonsh; programs.xonsh = let @@ -30,6 +34,7 @@ gh copilot alias -- bash > @(tmpfile) source-bash @(tmpfile) ulimit -n 4096 # This is so that Gauntlet is able to be built + execx($(${pkgs.any-nix-shell}/bin/any-nix-shell xonsh --info-right)) ''; package = pkgs.xonsh.override { extraPackages = ps: [