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/development/libraries/qt-5/5.15/fetch.sh
Executable file
17
pkgs/development/libraries/qt-5/5.15/fetch.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p nix-prefetch-scripts jq
|
||||
|
||||
set -eox pipefail
|
||||
|
||||
here="$(dirname "${BASH_SOURCE[0]}")"
|
||||
modules="${here}/modules"
|
||||
srcs="${here}/srcs-generated.json"
|
||||
|
||||
while read -r module; do
|
||||
if [[ -z "$module" ]]; then continue; fi
|
||||
url="https://invent.kde.org/qt/qt/${module}.git"
|
||||
nix-prefetch-git --url $url --rev refs/heads/kde/5.15 \
|
||||
| jq "{key: \"${module}\", value: {url,rev,sha256}}"
|
||||
done < "$modules" | jq -s 'from_entries' > "${srcs}.tmp"
|
||||
|
||||
mv "${srcs}.tmp" "$srcs"
|
||||
Loading…
Add table
Add a link
Reference in a new issue