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
17
pkgs/build-support/fetchzip/tests.nix
Normal file
17
pkgs/build-support/fetchzip/tests.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ testers, fetchzip, ... }:
|
||||
|
||||
let
|
||||
url = "https://gist.github.com/glandium/01d54cefdb70561b5f6675e08f2990f2/archive/2f430f0c136a69b0886281d0c76708997d8878af.zip";
|
||||
in
|
||||
{
|
||||
simple = testers.invalidateFetcherByDrvHash fetchzip {
|
||||
inherit url;
|
||||
sha256 = "sha256-0ecwgL8qUavSj1+WkaxpmRBmu7cvj53V5eXQV71fddU=";
|
||||
};
|
||||
|
||||
postFetch = testers.invalidateFetcherByDrvHash fetchzip {
|
||||
inherit url;
|
||||
sha256 = "sha256-7sAOzKa+9vYx5XyndHxeY2ffWAjOsgCkXC9anK6cuV0=";
|
||||
postFetch = ''touch $out/filee'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue