summary refs log tree commit diff
path: root/pkgs/development/coq-modules/coq-record-update/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/coq-record-update/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/coq-record-update/default.nix')
-rw-r--r--pkgs/development/coq-modules/coq-record-update/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/coq-modules/coq-record-update/default.nix b/pkgs/development/coq-modules/coq-record-update/default.nix
index 77c42fb48d4..a0b27dda845 100644
--- a/pkgs/development/coq-modules/coq-record-update/default.nix
+++ b/pkgs/development/coq-modules/coq-record-update/default.nix
@@ -1,10 +1,10 @@
 { lib, mkCoqDerivation, coq, version ? null }:
 
-with lib; mkCoqDerivation rec {
+ mkCoqDerivation rec {
   pname = "coq-record-update";
   owner = "tchajed";
   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 = "0.3.1"; }
   ] null;
   release."0.3.1".sha256 = "sha256-DyGxO2tqmYZZluXN6Oy5Tw6fuLMyuyxonj8CCToWKkk=";
@@ -13,6 +13,6 @@ with lib; mkCoqDerivation rec {
   buildFlags = [ "NO_TEST=1" ];
   meta = {
     description = "Library to create Coq record update functions";
-    maintainers = with maintainers; [ ineol ];
+    maintainers = with lib.maintainers; [ ineol ];
   };
 }