mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
mastodon: 4.6.1 -> 4.6.2
Changelog: https://github.com/mastodon/mastodon/releases/tag/v4.6.2
This commit is contained in:
parent
01a4db2131
commit
546a2ed6a1
2 changed files with 6 additions and 3 deletions
|
|
@ -5,14 +5,14 @@
|
|||
patches ? [ ],
|
||||
}:
|
||||
let
|
||||
version = "4.6.1";
|
||||
version = "4.6.2";
|
||||
in
|
||||
applyPatches {
|
||||
src = fetchFromGitHub {
|
||||
owner = "mastodon";
|
||||
repo = "mastodon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vnFmyLcIeiDHsVxh6BHFjolsGM0n2thOwt3MXrkjEx8=";
|
||||
hash = "sha256-RA9yGmWyzwiD/skPxOB27hqRxMqKGFmMMDOvHR5FjqI=";
|
||||
passthru = {
|
||||
inherit version;
|
||||
yarnHash = "sha256-G1keSWDDpp0vBAOqQI8y8n7bmAeo9Hrdbo7R+cVZQwE=";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p bundix coreutils diffutils nix-prefetch-github gnused jq yarn-berry_4.yarn-berry-fetcher
|
||||
#! nix-shell -i bash -p bundix coreutils diffutils nixfmt nix-prefetch-github gnused jq yarn-berry_4.yarn-berry-fetcher
|
||||
set -e
|
||||
|
||||
OWNER=mastodon
|
||||
|
|
@ -111,6 +111,9 @@ echo "Creating gemset.nix"
|
|||
bundix --lockfile="$SOURCE_DIR/Gemfile.lock" --gemfile="$SOURCE_DIR/Gemfile"
|
||||
echo "" >> gemset.nix # Create trailing newline to please EditorConfig checks
|
||||
|
||||
# Fix formatting
|
||||
nixfmt gemset.nix
|
||||
|
||||
echo "Updating yarnHash"
|
||||
yarn-berry-fetcher missing-hashes "$SOURCE_DIR/yarn.lock" > missing-hashes.json
|
||||
YARN_HASH="$(yarn-berry-fetcher prefetch "$SOURCE_DIR/yarn.lock" ./missing-hashes.json 2>/dev/null)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue