about summary refs log tree commit diff
path: root/pkgs/servers/search
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2023-08-15 05:53:52 +0200
committerGitHub <noreply@github.com>2023-08-15 05:53:52 +0200
commit3eb7f7a63b9e48762d00d4e9afcf96336a833264 (patch)
treed8d6d51fd6ffc4c4889c64343ba6c19c16ab7695 /pkgs/servers/search
parent0ce93b670fe405d69cfb2b9d95bf93b9d9dce283 (diff)
parent6e6d8bea3a4c27c549e609c6371d56b957dbeb7c (diff)
downloadnixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.tar
nixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.tar.gz
nixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.tar.bz2
nixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.tar.lz
nixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.tar.xz
nixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.tar.zst
nixlib-3eb7f7a63b9e48762d00d4e9afcf96336a833264.zip
Merge pull request #248683 from oxij/tree/source-root-continues-3
treewide: cleanup `sourceRoot` and `setSourceRoot` usage
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r--pkgs/servers/search/elasticsearch/plugins.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/search/elasticsearch/plugins.nix b/pkgs/servers/search/elasticsearch/plugins.nix
index 8c2ff568df31..c23b5ad7a2bd 100644
--- a/pkgs/servers/search/elasticsearch/plugins.nix
+++ b/pkgs/servers/search/elasticsearch/plugins.nix
@@ -21,7 +21,7 @@ let
       dontUnpack = true;
       # Work around the "unpacker appears to have produced no directories"
       # case that happens when the archive doesn't have a subdirectory.
-      setSourceRoot = "sourceRoot=$(pwd)";
+      sourceRoot = ".";
       nativeBuildInputs = [ unzip ];
       meta = a.meta // {
         platforms = elasticsearch.meta.platforms;