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
26
pkgs/os-specific/linux/tmon/default.nix
Normal file
26
pkgs/os-specific/linux/tmon/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, kernel, ncurses }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tmon";
|
||||
version = kernel.version;
|
||||
|
||||
inherit (kernel) src;
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
configurePhase = ''
|
||||
cd tools/thermal/tmon
|
||||
'';
|
||||
|
||||
makeFlags = kernel.makeFlags ++ [ "INSTALL_ROOT=\"$(out)\"" "BINDIR=bin" ];
|
||||
NIX_CFLAGS_LINK = "-lgcc_s";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monitoring and Testing Tool for Linux kernel thermal subsystem";
|
||||
homepage = "https://www.kernel.org/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue