uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "reattach-to-user-namespace";
|
||||
version = "2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ChrisJohnsen";
|
||||
repo = "tmux-MacOSX-pasteboard";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qgimh58hcx5f646gj2kpd36ayvrdkw616ad8cb3lcm11kg0ag79";
|
||||
};
|
||||
|
||||
buildFlags =
|
||||
if stdenv.hostPlatform.system == "x86_64-darwin" then [ "ARCHES=x86_64" ]
|
||||
else if stdenv.hostPlatform.system == "aarch64-darwin" then [ "ARCHES=arm64" ]
|
||||
else throw "reattach-to-user-namespace isn't being built for ${stdenv.hostPlatform.system} yet.";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp reattach-to-user-namespace $out/bin/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A wrapper that provides access to the Mac OS X pasteboard service";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ lnl7 ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue