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/applications/video | |
parent | 9aabdcf43f70b18bdebc39d7796c984672603d3e (diff) |
treewide: noop: refer to `src.name` or similar in `sourceRoot` where appropriate, part 1: trivial cases
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/epgstation/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/video/frigate/web.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/video/epgstation/default.nix b/pkgs/applications/video/epgstation/default.nix index b5f5ba9e733c9..49d2dedbb0c3e 100644 --- a/pkgs/applications/video/epgstation/default.nix +++ b/pkgs/applications/video/epgstation/default.nix @@ -49,7 +49,7 @@ buildNpmPackage rec { npmDepsHash = "sha256-a/cDPABWI4lPxvSOI4D90O71A9lm8icPMak/g6DPYQY="; npmRootPath = ""; - sourceRoot = "source/client"; + sourceRoot = "${src.name}/client"; NODE_OPTIONS = "--openssl-legacy-provider"; }; diff --git a/pkgs/applications/video/frigate/web.nix b/pkgs/applications/video/frigate/web.nix index 08b9cef19ee76..01a3e70b436f1 100644 --- a/pkgs/applications/video/frigate/web.nix +++ b/pkgs/applications/video/frigate/web.nix @@ -7,7 +7,7 @@ buildNpmPackage { pname = "frigate-web"; inherit version src; - sourceRoot = "source/web"; + sourceRoot = "${src.name}/web"; postPatch = '' substituteInPlace package.json \ |