Update xonsh as best I can.

This commit is contained in:
Greg Hellings
2024-08-16 17:29:11 -05:00
parent 17aa8a6585
commit 85aef202df
6 changed files with 34 additions and 46 deletions
Generated
+13 -29
View File
@@ -28,17 +28,18 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1723461092,
"narHash": "sha256-4Ouw2IqRut2uZUU7UPjtmx4FcpMUFXd7XcJxFtKErOI=",
"ref": "refs/heads/master",
"rev": "4ff5384b96c24919c2b4ac3d7c588db2f22a528a",
"revCount": 56,
"type": "git",
"url": "file:///home/greg/src/nur-packages"
"lastModified": 1723845581,
"narHash": "sha256-NmM1bhFtWiWrfFfRDCCRW9u9wu/2uX2qVPog7q8+zyI=",
"owner": "drmikecrowe",
"repo": "nur-packages",
"rev": "272d92f5b685c6e29db40b12c94ec856565da1cc",
"type": "github"
},
"original": {
"type": "git",
"url": "file:///home/greg/src/nur-packages"
"owner": "drmikecrowe",
"ref": "overlay",
"repo": "nur-packages",
"type": "github"
}
},
"darwin": {
@@ -304,11 +305,11 @@
]
},
"locked": {
"lastModified": 1722462338,
"narHash": "sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU=",
"lastModified": 1723399884,
"narHash": "sha256-97wn0ihhGqfMb8WcUgzzkM/TuAxce2Gd20A8oiruju4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6e090576c4824b16e8759ebca3958c5b09659ee8",
"rev": "086f619dd991a4d355c07837448244029fc2d9ab",
"type": "github"
},
"original": {
@@ -514,7 +515,6 @@
"nixunstable": "nixunstable",
"nixvim": "nixvim",
"nurpkgs": "nurpkgs",
"test": "test",
"wsl": "wsl"
}
},
@@ -578,22 +578,6 @@
"type": "github"
}
},
"test": {
"locked": {
"lastModified": 1723214923,
"narHash": "sha256-6RSkrFPjOzqhT6y3xxDtNkbDyunzqXVSygB9UDrG/P4=",
"owner": "SamLukeYes",
"repo": "nixpkgs",
"rev": "633da8f7a0a05aca42f6cc23e53523e18ce10a4f",
"type": "github"
},
"original": {
"owner": "SamLukeYes",
"ref": "xonsh",
"repo": "nixpkgs",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
+3 -2
View File
@@ -32,12 +32,12 @@
inputs.nixpkgs.follows = "nixunstable";
};
crowe.url = "/home/greg/src/nur-packages";
test.url = "github:SamLukeYes/nixpkgs/xonsh";
crowe.url = "github:drmikecrowe/nur-packages/overlay";
};
outputs = {
agenix,
crowe,
darwin,
flake-utils,
hm,
@@ -61,6 +61,7 @@
pkg-sets
local_overlay
nurpkgs.overlay
crowe.overlays
];
in {
+1
View File
@@ -13,6 +13,7 @@ from sys import platform
xontrib load direnv
xontrib load coreutils
xontrib load xonsh-apipenv
# 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
+10 -11
View File
@@ -48,18 +48,17 @@ in {
networkmanager.enable = true;
};
programs.xonsh = let
test = import inputs.test {
inherit (pkgs.stdenv) system;
overlays = [ inputs.self.overlays.default ];
};
in {
programs.xonsh = {
enable = true;
package = (test.xonsh.override {
extraPackages = (ps: [
ps.xonsh-apipenv
ps.xonsh-direnv
ps.xontrib-vox
package = (pkgs.xonsh.passthru.wrapper.override {
extraPackages = (ps: with ps; [
(ps.toPythonModule pkgs.pipenv)
pyyaml
requests
ruamel-yaml
xonsh-apipenv
xonsh-direnv
xontrib-vox
]);
});
};
-2
View File
@@ -38,8 +38,6 @@ in rec {
graypy = cp ./graypy.nix {};
itg-django-utils = cp ./itg-django-utils.nix {};
xonsh-apipenv = cp ./xonsh-apipenv.nix {};
xonsh-direnv = cp ./xonsh-direnv.nix {};
xontrib-vox = cp ./xonsh-vox.nix {};
})
];
+7 -2
View File
@@ -1,4 +1,9 @@
{ lib, buildPythonPackage, fetchFromGitHub, pkgs}:
{
lib,
buildPythonPackage,
fetchFromGitHub,
pipenv,
}:
buildPythonPackage rec {
pname = "xonsh-apipenv";
@@ -20,7 +25,7 @@ buildPythonPackage rec {
doCheck = false;
buildInputs = with pkgs; [
dependencies = [
pipenv
];