diff options
author | Shawn8901 <shawn8901@googlemail.com> | 2023-01-21 23:19:48 +0100 |
---|---|---|
committer | Shawn8901 <shawn8901@googlemail.com> | 2023-01-21 23:19:48 +0100 |
commit | 4dcb03a5c32a90dbef83094183ef52e0580dfd22 (patch) | |
tree | 8fccecb83f2638fef7a880d75a21b714a3742b8c /pkgs/development/coq-modules/extructures | |
parent | 11da253ac9d248a2daa5a4a9b5c630bb0603cab3 (diff) |
treewide: remove global with lib; statements in pkgs/coq-modules
Diffstat (limited to 'pkgs/development/coq-modules/extructures')
-rw-r--r-- | pkgs/development/coq-modules/extructures/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/coq-modules/extructures/default.nix b/pkgs/development/coq-modules/extructures/default.nix index 2a038ff0c11a0..b6345d7b0ac3f 100644 --- a/pkgs/development/coq-modules/extructures/default.nix +++ b/pkgs/development/coq-modules/extructures/default.nix @@ -2,14 +2,13 @@ , ssreflect , deriving }: -with lib; (mkCoqDerivation { pname = "extructures"; owner = "arthuraa"; inherit version; - defaultVersion = with versions; switch [coq.coq-version ssreflect.version] [ + defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [ { cases = [(range "8.11" "8.16") (isGe "1.12.0") ]; out = "0.3.1"; } { cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; } { cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; } @@ -23,7 +22,7 @@ with lib; propagatedBuildInputs = [ ssreflect ]; - meta = { + meta = with lib; { description = "Finite data structures with extensional reasoning"; license = licenses.mit; maintainers = [ maintainers.vbgl ]; @@ -31,5 +30,5 @@ with lib; }).overrideAttrs (o: { propagatedBuildInputs = o.propagatedBuildInputs - ++ optional (versionAtLeast o.version "0.3.0") deriving; + ++ lib.optional (lib.versionAtLeast o.version "0.3.0") deriving; }) |