mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Set default build system to empty string
In case a build-system is not set. Closes #83
This commit is contained in:
parent
f49618eed0
commit
a7a882f88f
1 changed files with 2 additions and 2 deletions
4
lib.nix
4
lib.nix
|
@ -90,8 +90,8 @@ let
|
|||
{ pythonPackages
|
||||
, pyProject
|
||||
}:
|
||||
let
|
||||
buildSystem = lib.getAttrFromPath [ "build-system" "build-backend" ] pyProject;
|
||||
let
|
||||
buildSystem = lib.attrByPath [ "build-system" "build-backend" ] "" pyProject;
|
||||
drvAttr = builtins.elemAt (builtins.split "\\.|:" buildSystem) 0;
|
||||
in
|
||||
if buildSystem == "" then [] else (
|
||||
|
|
Loading…
Add table
Reference in a new issue