Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/dbt-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildPythonPackage rec {
hash = "sha256-ZgP11fVMtXpzo9QaTkejvKl0LzCAkIyGBMcOquBirxQ=";
};

sourceRoot = "source/core";
sourceRoot = "${src.name}/core";

nativeBuildInputs = [
pythonRelaxDepsHook
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/dbt-postgres/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildPythonPackage {

inherit (dbt-core) version src;

sourceRoot = "source/plugins/postgres";
sourceRoot = "${dbt-core.src.name}/plugins/postgres";

env.DBT_PSYCOPG2_NAME = "psycopg2";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/langchain/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ buildPythonPackage rec {
hash = "sha256-YQFIF1tA/CjvmD6xGgVre2lbcHR+UYx/sy1dOfpvkPY=";
};

sourceRoot = "source/libs/langchain";
sourceRoot = "${src.name}/libs/langchain";

postPatch = ''
substituteInPlace langchain/utilities/bash.py \
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/langsmith/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, pytest-asyncio
}:

buildPythonPackage {
buildPythonPackage rec {
pname = "langsmith";
version = "0.0.14";
format = "pyproject";
Expand All @@ -22,7 +22,7 @@ buildPythonPackage {
hash = "sha256-U8fs16Uq80EB7Ey5YuQhUKKI9DOXJWlabM5JdoDnWP0=";
};

sourceRoot = "source/python";
sourceRoot = "${src.name}/python";

nativeBuildInputs = [
poetry-core
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/opentelemetry-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}:

let
self = buildPythonPackage {
self = buildPythonPackage rec {
pname = "opentelemetry-api";
version = "1.18.0";
disabled = pythonOlder "3.7";
Expand All @@ -25,7 +25,7 @@ let
hash = "sha256-8xf4TqEkBeueejQBckFGwBNN4Gyo+/7/my6Z1Mnei5Q=";
};

sourceRoot = "source/opentelemetry-api";
sourceRoot = "${src.name}/opentelemetry-api";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildPythonPackage {
pname = "opentelemetry-exporter-otlp-proto-common";
disabled = pythonOlder "3.7";

sourceRoot = "source/exporter/opentelemetry-exporter-otlp-proto-common";
sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp-proto-common";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildPythonPackage {
pname = "opentelemetry-exporter-otlp-proto-grpc";
disabled = pythonOlder "3.7";

sourceRoot = "source/exporter/opentelemetry-exporter-otlp-proto-grpc";
sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp-proto-grpc";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildPythonPackage {
pname = "opentelemetry-exporter-otlp-proto-http";
disabled = pythonOlder "3.7";

sourceRoot = "source/exporter/opentelemetry-exporter-otlp-proto-http";
sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp-proto-http";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildPythonPackage {
pname = "opentelemetry-exporter-otlp";
disabled = pythonOlder "3.7";

sourceRoot = "source/exporter/opentelemetry-exporter-otlp";
sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildPythonPackage {
pname = "opentelemetry-exporter-prometheus";
disabled = pythonOlder "3.7";

sourceRoot = "source/exporter/opentelemetry-exporter-prometheus";
sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-prometheus";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildPythonPackage {
pname = "opentelemetry-instrumentation-aiohttp-client";
disabled = pythonOlder "3.7";

sourceRoot = "source/instrumentation/opentelemetry-instrumentation-aiohttp-client";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-aiohttp-client";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildPythonPackage {
pname = "opentelemetry-instrumentation-asgi";
disabled = pythonOlder "3.7";

sourceRoot = "source/instrumentation/opentelemetry-instrumentation-asgi";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-asgi";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildPythonPackage {
pname = "opentelemetry-instrumentation-django";
disabled = pythonOlder "3.7";

sourceRoot = "source/instrumentation/opentelemetry-instrumentation-django";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-django";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildPythonPackage {
pname = "opentelemetry-instrumentation-grpc";
disabled = pythonOlder "3.7";

sourceRoot = "source/instrumentation/opentelemetry-instrumentation-grpc";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-grpc";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildPythonPackage {
pname = "opentelemetry-instrumentation-wsgi";
disabled = pythonOlder "3.7";

sourceRoot = "source/instrumentation/opentelemetry-instrumentation-wsgi";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-wsgi";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ buildPythonPackage rec {
hash = "sha256-MPBOdurEQhA9BPRgVftejjtkvN/zRQEJDjQcS2QW3xc=";
};

sourceRoot = "source/opentelemetry-instrumentation";
sourceRoot = "${src.name}/opentelemetry-instrumentation";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildPythonPackage {
pname = "opentelemetry-proto";
disabled = pythonOlder "3.7";

sourceRoot = "source/opentelemetry-proto";
sourceRoot = "${opentelemetry-api.src.name}/opentelemetry-proto";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let
pname = "opentelemetry-sdk";
disabled = pythonOlder "3.7";

sourceRoot = "source/opentelemetry-sdk";
sourceRoot = "${opentelemetry-api.src.name}/opentelemetry-sdk";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildPythonPackage {
pname = "opentelemetry-semantic-conventions";
disabled = pythonOlder "3.7";

sourceRoot = "source/opentelemetry-semantic-conventions";
sourceRoot = "${opentelemetry-api.src.name}/opentelemetry-semantic-conventions";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildPythonPackage {
pname = "opentelemetry-test-utils";
disabled = pythonOlder "3.7";

sourceRoot = "source/tests/opentelemetry-test-utils";
sourceRoot = "${opentelemetry-api.src.name}/tests/opentelemetry-test-utils";

format = "pyproject";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildPythonPackage {
pname = "opentelemetry-util-http";
disabled = pythonOlder "3.7";

sourceRoot = "source/util/opentelemetry-util-http";
sourceRoot = "${opentelemetry-instrumentation.src.name}/util/opentelemetry-util-http";

format = "pyproject";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/prophet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ buildPythonPackage rec {
})
];

sourceRoot = "source/python";
sourceRoot = "${src.name}/python";

env.PROPHET_REPACKAGE_CMDSTAN = "false";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/misc/moonfire-nvr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let
ui = buildNpmPackage {
inherit version src;
pname = "${pname}-ui";
sourceRoot = "source/ui";
sourceRoot = "${src.name}/ui";
npmDepsHash = "sha256-IpZWgMo6Y3vRn9h495ifMB3tQxobLeTLC0xXS1vrKLA=";
installPhase = ''
runHook preInstall
Expand All @@ -34,7 +34,7 @@ let
in rustPlatform.buildRustPackage {
inherit pname version src;

sourceRoot = "source/server";
sourceRoot = "${src.name}/server";

cargoLock = {
lockFile = ./Cargo.lock;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/fx-cast-bridge/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildNpmPackage rec {
rev = "v${version}";
hash = "sha256-hB4NVJW2exHoKsMp0CKzHerYgj8aR77rV+ZsCoWA1Dg=";
};
sourceRoot = "source/app";
sourceRoot = "${src.name}/app";
npmDepsHash = "sha256-GLrDRZqKcX1PDGREx+MLZ1TEjr88r9nz4TvZ9nvo40g=";

nativeBuildInputs = [ python3 ];
Expand Down