diff options
Diffstat (limited to 'pkgs/build-support/coq/meta-fetch/default.nix')
-rw-r--r-- | pkgs/build-support/coq/meta-fetch/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/build-support/coq/meta-fetch/default.nix b/pkgs/build-support/coq/meta-fetch/default.nix index e7b15af4f06e4..d5fe31c6ccf7d 100644 --- a/pkgs/build-support/coq/meta-fetch/default.nix +++ b/pkgs/build-support/coq/meta-fetch/default.nix @@ -59,10 +59,9 @@ switch arg [ (optionalAttrs has-owner { owner = head splitted; })); }; } { case = isAttrs; - out = let - { version = arg.version or "dev"; - src = (arg.fetcher or fetcher) (location // (arg.location or {})); - }; } + out = { + version = arg.version or "dev"; + src = (arg.fetcher or fetcher) (location // (arg.location or {})); }; } { case = isPath; out = { version = "dev" ; |