Removing a dangling `let` that went undetected for a while
main
Cyril Cohen 2 years ago committed by Vincent Laporte
parent 9eac90f34b
commit 876cd6bcc2
  1. 7
      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" ;

Loading…
Cancel
Save