summary refs log tree commit diff
path: root/pkgs/development/coq-modules/CoLoR/default.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-24 01:39:55 +0100
committerGitHub <noreply@github.com>2023-01-24 01:39:55 +0100
commit8ff706bad2860c19191f316915f999b4dda8b78e (patch)
tree6b39873aa0f0924c949a24af234741dcaaf1841e /pkgs/development/coq-modules/CoLoR/default.nix
parent1c399311901f8563303ab18c165c17c33119a6ad (diff)
parent4dcb03a5c32a90dbef83094183ef52e0580dfd22 (diff)
downloadnixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.tar
nixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.tar.gz
nixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.tar.bz2
nixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.tar.lz
nixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.tar.xz
nixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.tar.zst
nixpkgs-8ff706bad2860c19191f316915f999b4dda8b78e.zip
Merge pull request #212009 from Shawn8901/remove_with_lib_2
treewide: remove global with lib; statements in pkgs/coq-modules
Diffstat (limited to 'pkgs/development/coq-modules/CoLoR/default.nix')
-rw-r--r--pkgs/development/coq-modules/CoLoR/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/coq-modules/CoLoR/default.nix b/pkgs/development/coq-modules/CoLoR/default.nix
index 9dabae0bdbc..a926f6d8092 100644
--- a/pkgs/development/coq-modules/CoLoR/default.nix
+++ b/pkgs/development/coq-modules/CoLoR/default.nix
@@ -1,10 +1,10 @@
 { lib, mkCoqDerivation, coq, bignums, version ? null }:
 
-with lib; mkCoqDerivation {
+mkCoqDerivation {
   pname = "color";
   owner = "fblanqui";
   inherit version;
-  defaultVersion = with versions; switch coq.version [
+  defaultVersion = with lib.versions; lib.switch coq.version [
     {case = range "8.12" "8.16"; out = "1.8.2"; }
     {case = range "8.10" "8.11"; out = "1.7.0"; }
     {case = range "8.8"  "8.9";  out = "1.6.0"; }
@@ -26,6 +26,6 @@ with lib; mkCoqDerivation {
   meta = {
     homepage = "https://github.com/fblanqui/color";
     description = "CoLoR is a library of formal mathematical definitions and proofs of theorems on rewriting theory and termination whose correctness has been mechanically checked by the Coq proof assistant.";
-    maintainers = with maintainers; [ jpas jwiegley ];
+    maintainers = with lib.maintainers; [ jpas jwiegley ];
   };
 }