set paths.lockfile for pip example...

even with the new default, it's good to be explicit.
And the examples will still refer to the main branch while running ci
checks for this
This commit is contained in:
phaer 2024-07-13 16:23:42 +02:00
parent 49a1961faa
commit 2e5cf4294d
6 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,7 @@ in {
"subpkg2" "subpkg2"
]; ];
paths.lockFile = "lock.${config.deps.stdenv.system}.json";
pip = { pip = {
requirementsList = [ requirementsList = [
"${config.paths.package}/subpkg1" "${config.paths.package}/subpkg1"

View File

@ -36,6 +36,7 @@ in {
]; ];
}; };
paths.lockFile = "lock.${config.deps.stdenv.system}.json";
pip = { pip = {
# Setting editables.$pkg.null will link the current project root as an editable # Setting editables.$pkg.null will link the current project root as an editable
# for the root package (my-tool here), or otherwise copy the contents of mkDerivation.src # for the root package (my-tool here), or otherwise copy the contents of mkDerivation.src

View File

@ -21,6 +21,7 @@
]; ];
}; };
paths.lockFile = "lock.${config.deps.stdenv.system}.json";
pip = { pip = {
requirementsList = ["${config.name}==${config.version}"]; requirementsList = ["${config.name}==${config.version}"];
}; };

View File

@ -43,6 +43,7 @@ in {
]; ];
}; };
paths.lockFile = "lock.${config.deps.stdenv.system}.json";
pip = { pip = {
requirementsList = [ requirementsList = [
"apache-airflow" "apache-airflow"

View File

@ -32,6 +32,7 @@ in {
inherit src; inherit src;
}; };
paths.lockFile = "lock.${config.deps.stdenv.system}.json";
pip = { pip = {
requirementsList = [ requirementsList = [
"${src}" "${src}"

View File

@ -39,6 +39,7 @@
]; ];
}; };
paths.lockFile = "lock.${config.deps.stdenv.system}.json";
pip = { pip = {
requirementsList = ["${config.name}==${config.version}"]; requirementsList = ["${config.name}==${config.version}"];
pipFlags = [ pipFlags = [