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/unstick/default.nix
Normal file
26
pkgs/os-specific/linux/unstick/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libseccomp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unstick";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kwohlfahrt";
|
||||
repo = "unstick";
|
||||
rev = "effee9aa242ca12dc94cc6e96bc073f4cc9e8657";
|
||||
sha256 = "08la3jmmzlf4pm48bf9zx4cqj9gbqalpqy0s57bh5vfsdk74nnhv";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src";
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ libseccomp ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/kwohlfahrt/unstick";
|
||||
description = "Silently eats chmod commands forbidden by Nix";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ kwohlfahrt ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue