haskell: default name to "" when root isn't a path in developPackage
See https://github.com/NixOS/nixpkgs/issues/103062
This commit is contained in:
parent
3452368788
commit
a3830da1aa
|
@ -249,7 +249,7 @@ in package-set { inherit pkgs lib callPackage; } self // {
|
|||
# a cabal flag with '--flag=myflag'.
|
||||
developPackage =
|
||||
{ root
|
||||
, name ? builtins.baseNameOf root
|
||||
, name ? if builtins.typeOf root == "path" then builtins.baseNameOf root else ""
|
||||
, source-overrides ? {}
|
||||
, overrides ? self: super: {}
|
||||
, modifier ? drv: drv
|
||||
|
|
Loading…
Reference in New Issue