Compare commits
2 commits
4677b627d4
...
237d22276e
Author | SHA1 | Date | |
---|---|---|---|
237d22276e | |||
5680c0afef |
2 changed files with 11 additions and 1 deletions
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
any-nix-shell
|
||||||
|
];
|
||||||
|
|
||||||
users.defaultUserShell = pkgs.xonsh;
|
users.defaultUserShell = pkgs.xonsh;
|
||||||
programs.xonsh =
|
programs.xonsh =
|
||||||
let
|
let
|
||||||
|
@ -30,6 +34,7 @@
|
||||||
gh copilot alias -- bash > @(tmpfile)
|
gh copilot alias -- bash > @(tmpfile)
|
||||||
source-bash @(tmpfile)
|
source-bash @(tmpfile)
|
||||||
ulimit -n 4096 # This is so that Gauntlet is able to be built
|
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 {
|
package = pkgs.xonsh.override {
|
||||||
extraPackages = ps: [
|
extraPackages = ps: [
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
(pkgs.python3Packages.buildPythonPackage rec {
|
(pkgs.python311Packages.buildPythonPackage rec {
|
||||||
name = "xontrib-cd";
|
name = "xontrib-cd";
|
||||||
version = "0.3.1";
|
version = "0.3.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "eugenesvk";
|
owner = "eugenesvk";
|
||||||
|
@ -10,6 +11,10 @@
|
||||||
sha256 = "XxSxjyCg7PeX1v3e2KKicvAPmNeq+qVqbW4fXTwAiic=";
|
sha256 = "XxSxjyCg7PeX1v3e2KKicvAPmNeq+qVqbW4fXTwAiic=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = with pkgs.python311Packages; [ poetry-core ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with pkgs.python311Packages; [ xonsh ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/eugenesvk/xontrib-cd";
|
homepage = "https://github.com/eugenesvk/xontrib-cd";
|
||||||
description = "`cd` to any path without escaping in xonsh shell: `cd ~/[te] st`";
|
description = "`cd` to any path without escaping in xonsh shell: `cd ~/[te] st`";
|
||||||
|
|
Loading…
Add table
Reference in a new issue