diff options
author | Jan Malakhovski <oxij@oxij.org> | 2023-07-25 13:27:31 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2023-08-03 16:32:03 +0000 |
commit | 5852f26bdcdca4a33b37d1631cfb3897bcc36fcc (patch) | |
tree | 84541d3de93f39e98f7fabc53094498c6defbc74 /pkgs/servers/search | |
parent | 9aabdcf43f70b18bdebc39d7796c984672603d3e (diff) |
treewide: noop: refer to `src.name` or similar in `sourceRoot` where appropriate, part 1: trivial cases
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r-- | pkgs/servers/search/quickwit/default.nix | 4 | ||||
-rw-r--r-- | pkgs/servers/search/zincsearch/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/search/quickwit/default.nix b/pkgs/servers/search/quickwit/default.nix index fb4e6d66f2fea..e3eaf86c16e50 100644 --- a/pkgs/servers/search/quickwit/default.nix +++ b/pkgs/servers/search/quickwit/default.nix @@ -11,7 +11,7 @@ let pname = "quickwit"; version = "0.6.2"; in -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { inherit pname version; src = fetchFromGitHub { @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage { --replace '&[]' '&["."]' ''; - sourceRoot = "source/quickwit"; + sourceRoot = "${src.name}/quickwit"; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; diff --git a/pkgs/servers/search/zincsearch/default.nix b/pkgs/servers/search/zincsearch/default.nix index 20f48867bdc2c..b9316756b193f 100644 --- a/pkgs/servers/search/zincsearch/default.nix +++ b/pkgs/servers/search/zincsearch/default.nix @@ -17,7 +17,7 @@ let inherit src version; pname = "zinc-ui"; - sourceRoot = "source/web"; + sourceRoot = "${src.name}/web"; npmDepsHash = "sha256-2AjUaEOn2Tj+X4f42SvNq1kX07WxkB1sl5KtGdCjbdw="; |