From cfc19df33336764b18f6bf3261e7dc2dd782ffac Mon Sep 17 00:00:00 2001 From: adisbladis Date: Thu, 15 Aug 2024 23:06:26 +1200 Subject: [PATCH] project: Fix doc typos --- lib/project.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/project.nix b/lib/project.nix index a463fa2..752198e 100644 --- a/lib/project.nix +++ b/lib/project.nix @@ -46,7 +46,7 @@ lib.fix (self: { Type: loadPDMPyproject :: AttrSet -> AttrSet Example: - # loadPyproject { pyproject = lib.importTOML } + # loadPyproject { projectRoot = ./.; } { dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies` build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems` @@ -77,7 +77,7 @@ lib.fix (self: { Type: loadPoetryPyproject :: AttrSet -> AttrSet Example: - # loadPoetryPyproject { pyproject = lib.importTOML } + # loadPoetryPyproject { projectRoot = ./.; } { dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies` build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems` @@ -92,7 +92,7 @@ lib.fix (self: { pyproject ? lib.importTOML (projectRoot + "/pyproject.toml") , # Path to project root projectRoot ? null - , # The unmarshaled contents of pyproject.toml + , # The unmarshaled contents of poetry.lock poetryLock ? lib.importTOML (projectRoot + "/poetry.lock") , }: @@ -116,7 +116,7 @@ lib.fix (self: { Type: loadRequirementsTxt :: AttrSet -> AttrSet Example: - # loadRequirementstxt { requirements = builtins.readFile ./requirements.txt; root = ./.; } + # loadRequirementstxt { requirements = builtins.readFile ./requirements.txt; projectRoot = ./.; } { dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies` build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems` @@ -152,7 +152,7 @@ lib.fix (self: { Type: loadPyprojectDynamic :: AttrSet -> AttrSet Example: - # loadPyprojectDynamic { pyproject = lib.importTOML } + # loadPyprojectDynamic { projectRoot = ./.; } { dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies` build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems`