mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 04:04:06 +01:00
bash: Generate patch list to conform to the Nix format
This commit is contained in:
parent
1b2369a80e
commit
0caffc0c07
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ do
|
|||
wget -P "$DIR" "ftp.gnu.org/gnu/$PROJECT/$PROJECT-$VERSION-patches/$PROJECT$VERSION_CONDENSED-$i.sig"
|
||||
gpg --verify "$DIR/$PROJECT$VERSION_CONDENSED-$i.sig"
|
||||
hash=$(nix-hash --flat --type sha256 --base32 "$DIR/$PROJECT$VERSION_CONDENSED-$i")
|
||||
echo "(patch \"$i\" \"$hash\")" \
|
||||
echo " (patch \"$i\" \"$hash\")" \
|
||||
>> "$PATCH_LIST"
|
||||
|
||||
rm -f "$DIR/$PROJECT$VERSION_CONDENSED-$i"{,.sig}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue