summary refs log tree commit diff
path: root/pkgs/build-support/coq/meta-fetch/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/coq/meta-fetch/default.nix')
-rw-r--r--pkgs/build-support/coq/meta-fetch/default.nix7
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 e7b15af4f06..d5fe31c6ccf 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" ;