Skip to content

Commit

Permalink
Merge pull request NixOS#126502 from NixOS/backport-126468-to-release…
Browse files Browse the repository at this point in the history
…-21.05

[Backport release-21.05] tmux: 3.2 -> 3.2a
  • Loading branch information
Ma27 authored Jun 13, 2021
2 parents f822238 + 98614ed commit 93963c2
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkgs/tools/misc/tmux/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, bison
Expand All @@ -21,26 +20,17 @@ in

stdenv.mkDerivation rec {
pname = "tmux";
version = "3.2";
version = "3.2a";

outputs = [ "out" "man" ];

src = fetchFromGitHub {
owner = "tmux";
repo = "tmux";
rev = version;
sha256 = "0alq81h1rz1f0zsy8qb2dvsl47axpa86j4bplngwkph0ksqqgr3p";
sha256 = "0143ylfk7zsl3xmiasb768238gr582cfhsgv3p0h0f13bp8d6q09";
};

patches = [
# Fix cross-compilation
# https://github.com/tmux/tmux/pull/2651
(fetchpatch {
url = "https://github.com/tmux/tmux/commit/bb6242675ad0c7447daef148fffced882e5b4a61.patch";
sha256 = "1acr3xv3gqpq7qa2f8hw7c4f42hi444lfm1bz6wqj8f3yi320zjr";
})
];

nativeBuildInputs = [
pkg-config
autoreconfHook
Expand Down

0 comments on commit 93963c2

Please sign in to comment.