From 2b94a2bbf4ae30637351769fcdeb9e8f524ff0b7 Mon Sep 17 00:00:00 2001 From: fi Date: Sun, 23 Feb 2025 18:50:46 +0100 Subject: [PATCH] ~/node_modules/@mastodon doesn't need to be removed anymore for building mastodon --- config/hosts/mastodon/mastodon.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/hosts/mastodon/mastodon.nix b/config/hosts/mastodon/mastodon.nix index 5aa22ad..29d674e 100644 --- a/config/hosts/mastodon/mastodon.nix +++ b/config/hosts/mastodon/mastodon.nix @@ -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;