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
24
pkgs/os-specific/linux/kmod-debian-aliases/default.nix
Normal file
24
pkgs/os-specific/linux/kmod-debian-aliases/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kmod-debian-aliases.conf";
|
||||
version = "22-1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://snapshot.debian.org/archive/debian/20160404T220610Z/pool/main/k/kmod/kmod_${version}.debian.tar.xz";
|
||||
sha256 = "0daap2n4bvjqcnksaayy6csmdb1px4r02w3xp36bcp6w3lbnqamh";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
patch -i patches/aliases_conf
|
||||
cp aliases.conf $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://packages.debian.org/source/sid/kmod";
|
||||
description = "Linux configuration file for modprobe";
|
||||
maintainers = with maintainers; [ mathnerd314 ];
|
||||
platforms = with platforms; linux;
|
||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue