From 70ac5aea7f316b3fc3f3f627ca8b78d6f5112376 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 27 May 2022 16:29:43 +0200 Subject: [PATCH] matrix-appservice-discord: unquote ${nodejs.src} This brings it in line with every other instance of nodejs sources being unpacked like this (see `rg 'tar --no-same-owner --no-same-permissions'`). The extracted node-sources is identical in both cases, however due to this difference in the derivation code, two store paths are produced. At a size of roughly 300MB, that's not exactly negligible. --- pkgs/servers/matrix-appservice-discord/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/matrix-appservice-discord/default.nix b/pkgs/servers/matrix-appservice-discord/default.nix index 5b0c8d10abb9..95b541cdd1bd 100644 --- a/pkgs/servers/matrix-appservice-discord/default.nix +++ b/pkgs/servers/matrix-appservice-discord/default.nix @@ -4,7 +4,7 @@ assert lib.versionAtLeast nodejs.version "12.0.0"; let nodeSources = runCommand "node-sources" {} '' - tar --no-same-owner --no-same-permissions -xf "${nodejs.src}" + tar --no-same-owner --no-same-permissions -xf ${nodejs.src} mv node-* $out '';