Update xonsh as best I can.
This commit is contained in:
Generated
+13
-29
@@ -28,17 +28,18 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1723461092,
|
"lastModified": 1723845581,
|
||||||
"narHash": "sha256-4Ouw2IqRut2uZUU7UPjtmx4FcpMUFXd7XcJxFtKErOI=",
|
"narHash": "sha256-NmM1bhFtWiWrfFfRDCCRW9u9wu/2uX2qVPog7q8+zyI=",
|
||||||
"ref": "refs/heads/master",
|
"owner": "drmikecrowe",
|
||||||
"rev": "4ff5384b96c24919c2b4ac3d7c588db2f22a528a",
|
"repo": "nur-packages",
|
||||||
"revCount": 56,
|
"rev": "272d92f5b685c6e29db40b12c94ec856565da1cc",
|
||||||
"type": "git",
|
"type": "github"
|
||||||
"url": "file:///home/greg/src/nur-packages"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"owner": "drmikecrowe",
|
||||||
"url": "file:///home/greg/src/nur-packages"
|
"ref": "overlay",
|
||||||
|
"repo": "nur-packages",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"darwin": {
|
"darwin": {
|
||||||
@@ -304,11 +305,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722462338,
|
"lastModified": 1723399884,
|
||||||
"narHash": "sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU=",
|
"narHash": "sha256-97wn0ihhGqfMb8WcUgzzkM/TuAxce2Gd20A8oiruju4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6e090576c4824b16e8759ebca3958c5b09659ee8",
|
"rev": "086f619dd991a4d355c07837448244029fc2d9ab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -514,7 +515,6 @@
|
|||||||
"nixunstable": "nixunstable",
|
"nixunstable": "nixunstable",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"nurpkgs": "nurpkgs",
|
"nurpkgs": "nurpkgs",
|
||||||
"test": "test",
|
|
||||||
"wsl": "wsl"
|
"wsl": "wsl"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -578,22 +578,6 @@
|
|||||||
"type": "github"
|
"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": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|||||||
@@ -32,12 +32,12 @@
|
|||||||
inputs.nixpkgs.follows = "nixunstable";
|
inputs.nixpkgs.follows = "nixunstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
crowe.url = "/home/greg/src/nur-packages";
|
crowe.url = "github:drmikecrowe/nur-packages/overlay";
|
||||||
test.url = "github:SamLukeYes/nixpkgs/xonsh";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
agenix,
|
agenix,
|
||||||
|
crowe,
|
||||||
darwin,
|
darwin,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
hm,
|
hm,
|
||||||
@@ -61,6 +61,7 @@
|
|||||||
pkg-sets
|
pkg-sets
|
||||||
local_overlay
|
local_overlay
|
||||||
nurpkgs.overlay
|
nurpkgs.overlay
|
||||||
|
crowe.overlays
|
||||||
];
|
];
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ from sys import platform
|
|||||||
|
|
||||||
xontrib load direnv
|
xontrib load direnv
|
||||||
xontrib load coreutils
|
xontrib load coreutils
|
||||||
|
xontrib load xonsh-apipenv
|
||||||
|
|
||||||
# Insert to the front, because when we spawn xonsh in tmux we have raw python3
|
# 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
|
# paths added before these. That ends up screwing with finding the python3 version
|
||||||
|
|||||||
+10
-11
@@ -48,18 +48,17 @@ in {
|
|||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.xonsh = let
|
programs.xonsh = {
|
||||||
test = import inputs.test {
|
|
||||||
inherit (pkgs.stdenv) system;
|
|
||||||
overlays = [ inputs.self.overlays.default ];
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
package = (test.xonsh.override {
|
package = (pkgs.xonsh.passthru.wrapper.override {
|
||||||
extraPackages = (ps: [
|
extraPackages = (ps: with ps; [
|
||||||
ps.xonsh-apipenv
|
(ps.toPythonModule pkgs.pipenv)
|
||||||
ps.xonsh-direnv
|
pyyaml
|
||||||
ps.xontrib-vox
|
requests
|
||||||
|
ruamel-yaml
|
||||||
|
xonsh-apipenv
|
||||||
|
xonsh-direnv
|
||||||
|
xontrib-vox
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -38,8 +38,6 @@ in rec {
|
|||||||
graypy = cp ./graypy.nix {};
|
graypy = cp ./graypy.nix {};
|
||||||
itg-django-utils = cp ./itg-django-utils.nix {};
|
itg-django-utils = cp ./itg-django-utils.nix {};
|
||||||
xonsh-apipenv = cp ./xonsh-apipenv.nix {};
|
xonsh-apipenv = cp ./xonsh-apipenv.nix {};
|
||||||
xonsh-direnv = cp ./xonsh-direnv.nix {};
|
|
||||||
xontrib-vox = cp ./xonsh-vox.nix {};
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pkgs}:
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
pipenv,
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xonsh-apipenv";
|
pname = "xonsh-apipenv";
|
||||||
@@ -20,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
dependencies = [
|
||||||
pipenv
|
pipenv
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user