Skip to content

Commit

Permalink
Use lib.importTOML
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 9, 2023
1 parent d907441 commit 7711f22
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nix-alien.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
assert dev -> !ci;
let
version = if (rev != null) then rev else "dev";
deps = with builtins;
(fromTOML
(readFile ./pyproject.toml)
).project.dependencies;
deps = (lib.importTOML ./pyproject.toml).project.dependencies;
in
python3.pkgs.buildPythonApplication {
pname = "nix-alien";
Expand Down

0 comments on commit 7711f22

Please sign in to comment.