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
19
pkgs/build-support/prefer-remote-fetch/default.nix
Normal file
19
pkgs/build-support/prefer-remote-fetch/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# An overlay that download sources on remote builder.
|
||||
# This is useful when the evaluating machine has a slow
|
||||
# upload while the builder can fetch faster directly from the source.
|
||||
# Usage: Put the following snippet in your usual overlay definition:
|
||||
#
|
||||
# self: super:
|
||||
# (super.prefer-remote-fetch self super)
|
||||
# Full configuration example for your own account:
|
||||
#
|
||||
# $ mkdir ~/.config/nixpkgs/overlays/
|
||||
# $ echo 'self: super: super.prefer-remote-fetch self super' > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix
|
||||
#
|
||||
self: super: {
|
||||
fetchurl = args: super.fetchurl (args // { preferLocalBuild = false; });
|
||||
fetchgit = args: super.fetchgit (args // { preferLocalBuild = false; });
|
||||
fetchhg = args: super.fetchhg (args // { preferLocalBuild = false; });
|
||||
fetchsvn = args: super.fetchsvn (args // { preferLocalBuild = false; });
|
||||
fetchipfs = args: super.fetchipfs (args // { preferLocalBuild = false; });
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue