Further xonsh overlay cleanup

This commit is contained in:
2022-05-17 12:19:22 -07:00
parent 53dfd43198
commit b8425c3989

View File

@@ -12,10 +12,10 @@ final: prev: {
python39 = prev.python39.override { python39 = prev.python39.override {
self = prev.python39; self = prev.python39;
packageOverrides = pself: psuper: { packageOverrides = python_final: python_super: {
prompt-toolkit = psuper.prompt-toolkit.overrideAttrs (old: rec { prompt-toolkit = python_super.prompt-toolkit.overrideAttrs (old: rec {
version = "3.0.29"; version = "3.0.29";
src = final.python3Packages.fetchPypi { src = python_final.fetchPypi {
pname = "prompt_toolkit"; pname = "prompt_toolkit";
inherit version; inherit version;
sha256 = "sha256-vWQPYOjOzXTw3CSXE9QzrOLdxitl7gf5bTWOCxUrbqc="; sha256 = "sha256-vWQPYOjOzXTw3CSXE9QzrOLdxitl7gf5bTWOCxUrbqc=";
@@ -24,7 +24,8 @@ final: prev: {
}; };
}; };
# Mach-nix is a toolkit for constructing custom Python environments # Using mach-nix to fetch unpackaged xontrib plugins
# adapted from https://github.com/NixOS/nixpkgs/issues/75786#issuecomment-873654103
mach-nix = import (builtins.fetchGit { mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix/"; url = "https://github.com/DavHau/mach-nix/";
ref = "refs/tags/3.4.0"; ref = "refs/tags/3.4.0";