Do not rely on coq-version when coq.version works just fine.

authored by Théo Zimmermann and committed by Vincent Laporte 0898779c c6815758

+4 -4
+1 -1
pkgs/development/coq-modules/Cheerios/default.nix
··· 4 4 pname = "cheerios"; 5 5 owner = "uwplse"; 6 6 inherit version; 7 - defaultVersion = if versions.isGe "8.6" coq.coq-version then "20200201" else null; 7 + defaultVersion = if versions.isGe "8.6" coq.version then "20200201" else null; 8 8 release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d"; 9 9 release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1"; 10 10
+1 -1
pkgs/development/coq-modules/CoLoR/default.nix
··· 4 4 pname = "color"; 5 5 owner = "fblanqui"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with versions; switch coq.version [ 8 8 {case = range "8.12" "8.16"; out = "1.8.2"; } 9 9 {case = range "8.10" "8.11"; out = "1.7.0"; } 10 10 {case = range "8.8" "8.9"; out = "1.6.0"; }
+1 -1
pkgs/development/coq-modules/ITree/default.nix
··· 4 4 pname = "InteractionTrees"; 5 5 owner = "DeepSpec"; 6 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 7 + defaultVersion = with versions; switch coq.version [ 8 8 { case = range "8.10" "8.16"; out = "4.0.0"; } 9 9 ] null; 10 10 release."4.0.0".sha256 = "0h5rhndl8syc24hxq1gch86kj7mpmgr89bxp2hmf28fd7028ijsm";
+1 -1
pkgs/development/coq-modules/InfSeqExt/default.nix
··· 4 4 pname = "InfSeqExt"; 5 5 owner = "DistributedComponents"; 6 6 inherit version; 7 - defaultVersion = if lib.versions.isGe "8.5" coq.coq-version then "20200131" else null; 7 + defaultVersion = if lib.versions.isGe "8.5" coq.version then "20200131" else null; 8 8 release."20200131".rev = "203d4c20211d6b17741f1fdca46dbc091f5e961a"; 9 9 release."20200131".sha256 = "0xylkdmb2dqnnqinf3pigz4mf4zmczcbpjnn59g5g76m7f2cqxl0"; 10 10 preConfigure = "patchShebangs ./configure";