2022-12-18 12:15:23 +00:00
|
|
|
inputs: system: self: prev: let
|
2023-04-22 08:45:49 +00:00
|
|
|
inherit (inputs) nixpkgs nixpkgs-noto-variable nix-packages;
|
2022-12-18 12:15:23 +00:00
|
|
|
noto-variable = import nixpkgs-noto-variable {inherit system;};
|
|
|
|
in
|
2023-04-23 17:35:42 +00:00
|
|
|
with nixpkgs.legacyPackages.${system}; {
|
|
|
|
mosh = prev.mosh.overrideAttrs (old: {
|
|
|
|
patches = [
|
|
|
|
./mosh/ssh_path.patch
|
|
|
|
./mosh/mosh-client_path.patch
|
|
|
|
./mosh/utempter_path.patch
|
|
|
|
./mosh/bash_completion_datadir.patch
|
|
|
|
];
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace scripts/mosh.pl \
|
|
|
|
--subst-var-by ssh "${openssh}/bin/ssh" \
|
|
|
|
--subst-var-by mosh-client "$out/bin/mosh-client"
|
|
|
|
'';
|
|
|
|
version = "2022-02-04";
|
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "mobile-shell";
|
|
|
|
repo = "mosh";
|
|
|
|
rev = "dbe419d0e069df3fedc212d456449f64d0280c76";
|
|
|
|
sha256 = "09mvk9zxclkf4wrkkfzg0p2hx1f74gpymr0a0l3pckmk6za2n3d1";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
inherit (noto-variable) noto-fonts-cjk;
|
|
|
|
nix = prev.nix.overrideAttrs (old: {
|
|
|
|
postPatchPhase = ''
|
|
|
|
sed 's/getBoolAttr."allowSubstitutes", true./true/' src/libstore/parsed-derivations.cc
|
|
|
|
'';
|
|
|
|
checkPhase = "true";
|
|
|
|
installCheckPhase = "true";
|
|
|
|
});
|
|
|
|
rnix-lsp = with prev;
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "rnix-lsp";
|
|
|
|
version = "0.3.0-alejandra";
|
2022-12-18 12:15:23 +00:00
|
|
|
|
2023-04-23 17:35:42 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "rnix-lsp";
|
|
|
|
# https://github.com/nix-community/rnix-lsp/pull/89
|
|
|
|
rev = "9189b50b34285b2a9de36a439f6c990fd283c9c7";
|
|
|
|
sha256 = "sha256-ZnUtvwkcz7QlAiqQxhI4qVUhtVR+thLhG3wQlle7oZg=";
|
|
|
|
};
|
2022-12-18 12:15:23 +00:00
|
|
|
|
2023-04-23 17:35:42 +00:00
|
|
|
cargoSha256 = "sha256-VhE+DspQ0IZKf7rNkERA/gD7iMzjW4TnRSnYy1gdV0s=";
|
|
|
|
cargoBuildFlags = ["--no-default-features" "--features" "alejandra"];
|
2022-12-18 12:15:23 +00:00
|
|
|
|
2023-04-23 17:35:42 +00:00
|
|
|
checkPhase = "true";
|
2022-12-18 12:15:23 +00:00
|
|
|
|
2023-04-23 17:35:42 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A work-in-progress language server for Nix, with syntax checking and basic completion";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ma27];
|
2022-12-18 12:15:23 +00:00
|
|
|
};
|
2023-04-23 17:35:42 +00:00
|
|
|
};
|
|
|
|
hydra-unsstable = nix-packages.packages.${system}.hydra.overrideAttrs (super: {
|
|
|
|
doCheck = false;
|
|
|
|
checkPhase = "";
|
|
|
|
installCheckPhase = "";
|
|
|
|
});
|
2023-05-21 19:06:58 +00:00
|
|
|
nodejs-16_x = prev.nodejs-18_x;
|
2023-05-22 11:28:01 +00:00
|
|
|
neomutt = prev.neomutt.overrideAttrs (super: {
|
2023-05-23 05:54:19 +00:00
|
|
|
doCheck = false;
|
|
|
|
doInstallCheck = false;
|
2023-05-22 11:28:01 +00:00
|
|
|
});
|
2023-04-23 17:35:42 +00:00
|
|
|
}
|