about summary refs log tree commit diff
path: root/pkgs/development/coq-modules/coq-bits
diff options
context:
space:
mode:
authorShawn8901 <shawn8901@googlemail.com>2023-01-21 23:19:48 +0100
committerShawn8901 <shawn8901@googlemail.com>2023-01-21 23:19:48 +0100
commit4dcb03a5c32a90dbef83094183ef52e0580dfd22 (patch)
tree8fccecb83f2638fef7a880d75a21b714a3742b8c /pkgs/development/coq-modules/coq-bits
parent11da253ac9d248a2daa5a4a9b5c630bb0603cab3 (diff)
treewide: remove global with lib; statements in pkgs/coq-modules
Diffstat (limited to 'pkgs/development/coq-modules/coq-bits')
-rw-r--r--pkgs/development/coq-modules/coq-bits/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/coq-modules/coq-bits/default.nix b/pkgs/development/coq-modules/coq-bits/default.nix
index a2ef7e09a7d65..16a26d9fa32eb 100644
--- a/pkgs/development/coq-modules/coq-bits/default.nix
+++ b/pkgs/development/coq-modules/coq-bits/default.nix
@@ -1,10 +1,10 @@
 { lib, mkCoqDerivation, coq, mathcomp-algebra, version ? null }:
 
-with lib; mkCoqDerivation {
+mkCoqDerivation {
   pname = "coq-bits";
   repo = "bits";
   inherit version;
-  defaultVersion = with versions; switch coq.coq-version [
+  defaultVersion = with lib.versions; lib.switch coq.coq-version [
     { case = range "8.10" "8.16"; out = "1.1.0"; }
     { case = range "8.7"  "8.15"; out = "1.0.0"; }
   ] null;
@@ -14,7 +14,7 @@ with lib; mkCoqDerivation {
 
   propagatedBuildInputs = [ mathcomp-algebra ];
 
-  meta = {
+  meta = with lib; {
     description = "A formalization of bitset operations in Coq";
     license = licenses.asl20;
     maintainers = with maintainers; [ ptival ];