mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
fix(federation): 🚑 Fix broken inbound federation and add end-to-end testing for federation
This commit is contained in:
parent
85ef96fc7f
commit
8ae4f3815a
9 changed files with 192 additions and 29 deletions
|
|
@ -22,7 +22,7 @@ in
|
|||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) pname version src pnpmInstallFlags;
|
||||
hash = "sha256-miwjCxel9mgLcJ8Gwzyr7dLZe18yKZ8PeMlIvduJYwk=";
|
||||
hash = "sha256-bDgLkz0aT3/jM2inVsfMoJBKZacxqfHFi8GtIg7zc+M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p nix-prefetch-github
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SOURCE=$(nix-prefetch-github --nix versia-pub server | tail -n 6)
|
||||
|
||||
cat > ./nix/source.nix << EOF
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}: {
|
||||
outputHash.x86_64-linux = lib.fakeHash;
|
||||
outputHash.aarch64-linux = lib.fakeHash;
|
||||
src = fetchFromGitHub {
|
||||
${SOURCE};
|
||||
}
|
||||
EOF
|
||||
|
||||
echo "Done."
|
||||
echo "Please update the attributes of 'outputHash' in nix/source.nix."
|
||||
Loading…
Add table
Add a link
Reference in a new issue