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
31
pkgs/os-specific/linux/numad/default.nix
Normal file
31
pkgs/os-specific/linux/numad/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "numad";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://pagure.io/numad.git";
|
||||
rev = "334278ff3d774d105939743436d7378a189e8693";
|
||||
sha256 = "sha256-6nrbfooUI1ufJhsPf68li5584oKQcznXQlxfpStuX5I=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
patches = [
|
||||
./numad-linker-flags.patch
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "install -m" "install -Dm"
|
||||
'';
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access";
|
||||
homepage = "https://fedoraproject.org/wiki/Features/numad";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue