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
2
lib.nix
2
lib.nix
|
@ -91,7 +91,7 @@ let
|
|||
, pyProject
|
||||
}:
|
||||
let
|
||||
buildSystem = lib.getAttrFromPath [ "build-system" "build-backend" ] pyProject;
|
||||
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