tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mosh: build with latest protobuf
Yureka
2 years ago
fd2b5eec
48c5ac5c
+8
-6
2 changed files
expand all
collapse all
unified
split
pkgs
tools
networking
mosh
default.nix
top-level
all-packages.nix
+7
-3
pkgs/tools/networking/mosh/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, zlib, protobuf, ncurses, pkg-config
2
-
, makeWrapper, perl, openssl, autoreconfHook, openssh, bash-completion
3
, withUtempter ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, libutempter }:
4
5
stdenv.mkDerivation rec {
···
26
./mosh-client_path.patch
27
# Fix build with bash-completion 2.10
28
./bash_completion_datadir.patch
0
0
0
0
0
0
29
];
30
31
postPatch = ''
···
40
postInstall = ''
41
wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB
42
'';
43
-
44
-
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
45
46
meta = with lib; {
47
homepage = "https://mosh.org/";
···
1
{ lib, stdenv, fetchFromGitHub, zlib, protobuf, ncurses, pkg-config
2
+
, makeWrapper, perl, openssl, autoreconfHook, openssh, bash-completion, fetchpatch
3
, withUtempter ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, libutempter }:
4
5
stdenv.mkDerivation rec {
···
26
./mosh-client_path.patch
27
# Fix build with bash-completion 2.10
28
./bash_completion_datadir.patch
29
+
30
+
# Fixes build with protobuf3 23.x
31
+
(fetchpatch {
32
+
url = "https://github.com/mobile-shell/mosh/commit/eee1a8cf413051c2a9104e8158e699028ff56b26.patch";
33
+
hash = "sha256-CouLHWSsyfcgK3k7CvTK3FP/xjdb1pfsSXYYQj3NmCQ=";
34
+
})
35
];
36
37
postPatch = ''
···
46
postInstall = ''
47
wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB
48
'';
0
0
49
50
meta = with lib; {
51
homepage = "https://mosh.org/";
+1
-3
pkgs/top-level/all-packages.nix
···
10918
electron = electron_22;
10919
};
10920
10921
-
mosh = callPackage ../tools/networking/mosh {
10922
-
protobuf = protobuf3_21;
10923
-
};
10924
10925
motrix = callPackage ../tools/networking/motrix { };
10926
···
10918
electron = electron_22;
10919
};
10920
10921
+
mosh = callPackage ../tools/networking/mosh { };
0
0
10922
10923
motrix = callPackage ../tools/networking/motrix { };
10924