From 876cd6bcc20440ae78ac496da4f7171705062181 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Sat, 12 Feb 2022 10:07:33 +0100 Subject: [PATCH] coq: misc Removing a dangling `let` that went undetected for a while --- pkgs/build-support/coq/meta-fetch/default.nix | 7 +++---- 1 file 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 e7b15af4f06e..d5fe31c6ccf7 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" ;