Merge pull request #103063 from expipiplus1/joe-path

haskell: default name to "" when root isn't a path in developPackage
This commit is contained in:
maralorn 2021-05-08 12:43:46 +02:00 committed by GitHub
commit 5999d83b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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