2022-07-29 07:12:29 +00:00
|
|
|
{ system
|
|
|
|
, pkgs
|
|
|
|
, nixpkgs
|
|
|
|
, nixpkgs-noto-variable
|
|
|
|
, nix-packages
|
2022-07-29 07:21:13 +00:00
|
|
|
, rnix-lsp
|
2022-07-29 07:12:29 +00:00
|
|
|
, ...
|
2022-06-12 15:39:15 +00:00
|
|
|
}:
|
|
|
|
with pkgs; let
|
2022-07-29 07:12:29 +00:00
|
|
|
noto-variable = import nixpkgs-noto-variable { inherit system; };
|
|
|
|
in
|
|
|
|
{
|
2022-01-27 16:16:42 +00:00
|
|
|
nixpkgs.overlays = [
|
2022-02-08 07:20:05 +00:00
|
|
|
(self: prev: {
|
2022-07-05 06:01:51 +00:00
|
|
|
hydra-unstable = nix-packages.packages.${system}.hydra;
|
2022-03-04 19:29:00 +00:00
|
|
|
mosh = prev.mosh.overrideAttrs (old: {
|
|
|
|
patches = [
|
2022-04-14 08:06:43 +00:00
|
|
|
./mosh/ssh_path.patch
|
|
|
|
./mosh/mosh-client_path.patch
|
|
|
|
./mosh/utempter_path.patch
|
|
|
|
./mosh/bash_completion_datadir.patch
|
2022-03-04 19:29:00 +00:00
|
|
|
];
|
2022-03-22 10:54:47 +00:00
|
|
|
postPatch = ''
|
2022-03-27 08:21:33 +00:00
|
|
|
substituteInPlace scripts/mosh.pl \
|
|
|
|
--subst-var-by ssh "${openssh}/bin/ssh" \
|
|
|
|
--subst-var-by mosh-client "$out/bin/mosh-client"
|
2022-03-04 19:35:01 +00:00
|
|
|
'';
|
2022-03-04 19:29:00 +00:00
|
|
|
version = "2022-02-04";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "mobile-shell";
|
|
|
|
repo = "mosh";
|
|
|
|
rev = "dbe419d0e069df3fedc212d456449f64d0280c76";
|
|
|
|
sha256 = "09mvk9zxclkf4wrkkfzg0p2hx1f74gpymr0a0l3pckmk6za2n3d1";
|
|
|
|
};
|
|
|
|
});
|
2022-06-12 15:42:42 +00:00
|
|
|
inherit (noto-variable) noto-fonts-cjk;
|
2022-07-27 19:37:01 +00:00
|
|
|
inherit (nix-packages.packages.${system}) plover plover-plugins-manager plover-emoji plover-tapey-tape plover-yaml-dictionary lotte-art plover-machine-hid;
|
2022-06-14 07:47:01 +00:00
|
|
|
kitty = prev.kitty.overrideAttrs (old: {
|
2022-06-14 08:16:59 +00:00
|
|
|
patches =
|
|
|
|
old.patches
|
|
|
|
++ [
|
|
|
|
../../extra/kitty.patch
|
|
|
|
];
|
2022-07-27 19:37:01 +00:00
|
|
|
installCheckPhase = "true";
|
2022-06-14 07:47:01 +00:00
|
|
|
});
|
2022-06-26 07:34:41 +00:00
|
|
|
gitea = prev.gitea.overrideAttrs (old: rec {
|
2022-06-26 07:09:47 +00:00
|
|
|
version = "1.17.0-rc1";
|
2022-06-26 07:16:16 +00:00
|
|
|
src = prev.fetchurl {
|
2022-07-09 14:06:24 +00:00
|
|
|
url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
|
2022-06-26 07:17:47 +00:00
|
|
|
sha256 = "sha256-9pu+fsU1rrfa9yOAxnh8tXDmxv4UYo5DP5azhJC0BpQ=";
|
2022-06-26 07:09:47 +00:00
|
|
|
};
|
2022-06-26 07:34:41 +00:00
|
|
|
sourceRoot = "source/gitea-src-${version}";
|
2022-06-26 07:09:47 +00:00
|
|
|
});
|
2022-07-02 19:31:09 +00:00
|
|
|
nix = prev.nix.overrideAttrs (old: rec {
|
|
|
|
postPatchPhase = ''
|
|
|
|
sed 's/getBoolAttr."allowSubstitutes", true./true/' src/libstore/parsed-derivations.cc
|
|
|
|
'';
|
|
|
|
});
|
2022-07-29 07:27:12 +00:00
|
|
|
rnix-lsp = rnix-lsp.packages.${system}.rnix-lsp.override {
|
2022-07-29 07:21:13 +00:00
|
|
|
cargoBuildOptions = [ "--no-default-features" "--features" "alejandra" ];
|
2022-07-29 07:27:12 +00:00
|
|
|
};
|
2022-02-08 07:20:05 +00:00
|
|
|
})
|
2022-01-27 16:16:42 +00:00
|
|
|
];
|
|
|
|
}
|