~/node_modules/@mastodon doesn't need to be removed anymore for building mastodon

This commit is contained in:
fi 2025-02-23 18:50:46 +01:00
parent 1f8814bf30
commit 2b94a2bbf4

View file

@ -50,14 +50,6 @@ let
];
};
yarnHash = "sha256-e5c04M6XplAgaVyldU5HmYMYtY3MAWs+a8Z/BGSyGBg=";
}).overrideAttrs (old: {
mastodonModules = old.mastodonModules.overrideAttrs (old: {
# FIXME: Remove once fixed in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/380366
postBuild = ''
# Remove workspace "package" as it contains broken symlinks
rm -r ~/node_modules/@mastodon
'';
});
});
};
pkgs-overlay = pkgs.extend mastodonNekoverseOverlay;