nixpkgs/pkgs/os-specific/darwin/reattach-to-user-namespace/default.nix

23 lines
498 B
Nix
Raw Normal View History

2015-08-26 04:03:49 +02:00
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "reattach-to-user-namespace-2.5";
2015-08-26 04:03:49 +02:00
src = fetchgit {
url = "https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git";
2017-01-10 20:50:22 +01:00
sha256 = "0kv11vi54g6waf9941hy1pwmwyab0y7hbmbkcgwhzb5ja21ysc2a";
rev = "3689998acce9990726c8a68a85298ab693a62458";
2015-08-26 04:03:49 +02:00
};
2015-08-26 04:03:49 +02:00
buildFlags = "ARCHES=x86_64";
2015-08-26 04:03:49 +02:00
installPhase = ''
mkdir -p $out/bin
cp reattach-to-user-namespace $out/bin/
'';
meta = {
platforms = stdenv.lib.platforms.darwin;
};
}