···28 packages = [
29 (with dotnetCorePackages; combinePackages [
30 sdk_3_1
31- sdk_5_0
32 ])
33 ];
34}
35```
3637-This will produce a dotnet installation that has the dotnet 3.1, 3.0, and 2.1 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
3839```ShellSession
40$ dotnet --info
···120 projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure.
121122 dotnet-sdk = dotnetCorePackages.sdk_3_1;
123- dotnet-runtime = dotnetCorePackages.net_5_0;
124125 executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
126 executables = []; # Don't install any executables.
···28 packages = [
29 (with dotnetCorePackages; combinePackages [
30 sdk_3_1
31+ sdk_6_0
32 ])
33 ];
34}
35```
3637+This will produce a dotnet installation that has the dotnet 3.1 6.0 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
3839```ShellSession
40$ dotnet --info
···120 projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure.
121122 dotnet-sdk = dotnetCorePackages.sdk_3_1;
123+ dotnet-runtime = dotnetCorePackages.net_6_0;
124125 executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
126 executables = []; # Don't install any executables.
···63 </listitem>
64 <listitem>
65 <para>
000000066 <link xlink:href="https://github.com/junegunn/fzf">fzf</link>,
67 a command line fuzzyfinder. Available as
68 <link linkend="opt-programs.fzf.fuzzyCompletion">programs.fzf</link>.
···376 package has been removed in favour of direct use of its
377 constitutents: <literal>xorg.libX11</literal>,
378 <literal>freetype</literal> and others.
0000000379 </para>
380 </listitem>
381 <listitem>
···63 </listitem>
64 <listitem>
65 <para>
66+ <link xlink:href="https://www.magicbug.co.uk/cloudlog/">Cloudlog</link>,
67+ a web-based Amateur Radio logging application. Available as
68+ <link linkend="opt-services.cloudlog.enable">services.cloudlog</link>.
69+ </para>
70+ </listitem>
71+ <listitem>
72+ <para>
73 <link xlink:href="https://github.com/junegunn/fzf">fzf</link>,
74 a command line fuzzyfinder. Available as
75 <link linkend="opt-programs.fzf.fuzzyCompletion">programs.fzf</link>.
···383 package has been removed in favour of direct use of its
384 constitutents: <literal>xorg.libX11</literal>,
385 <literal>freetype</literal> and others.
386+ </para>
387+ </listitem>
388+ <listitem>
389+ <para>
390+ .NET 5.0 was removed due to being end-of-life, use a newer,
391+ supported .NET version -
392+ https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
393 </para>
394 </listitem>
395 <listitem>
+4
nixos/doc/manual/release-notes/rl-2305.section.md
···2425- [cups-pdf-to-pdf](https://github.com/alexivkin/CUPS-PDF-to-PDF), a pdf-generating cups backend based on [cups-pdf](https://www.cups-pdf.de/). Available as [services.printing.cups-pdf](#opt-services.printing.cups-pdf.enable).
260027- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion).
2829- [gmediarender](https://github.com/hzeller/gmrender-resurrect), a simple, headless UPnP/DLNA renderer. Available as [services.gmediarender](options.html#opt-services.gmediarender.enable).
···92- The `nix.readOnlyStore` option has been renamed to `boot.readOnlyNixStore` to clarify that it configures the NixOS boot process, not the Nix daemon.
9394- Deprecated `xlibsWrapper` transitional package has been removed in favour of direct use of its constitutents: `xorg.libX11`, `freetype` and others.
009596- The iputils package, which is installed by default, no longer provides the
97 `ninfod`, `rarpd` and `rdisc` tools. See
···2425- [cups-pdf-to-pdf](https://github.com/alexivkin/CUPS-PDF-to-PDF), a pdf-generating cups backend based on [cups-pdf](https://www.cups-pdf.de/). Available as [services.printing.cups-pdf](#opt-services.printing.cups-pdf.enable).
2627+- [Cloudlog](https://www.magicbug.co.uk/cloudlog/), a web-based Amateur Radio logging application. Available as [services.cloudlog](#opt-services.cloudlog.enable).
28+29- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion).
3031- [gmediarender](https://github.com/hzeller/gmrender-resurrect), a simple, headless UPnP/DLNA renderer. Available as [services.gmediarender](options.html#opt-services.gmediarender.enable).
···94- The `nix.readOnlyStore` option has been renamed to `boot.readOnlyNixStore` to clarify that it configures the NixOS boot process, not the Nix daemon.
9596- Deprecated `xlibsWrapper` transitional package has been removed in favour of direct use of its constitutents: `xorg.libX11`, `freetype` and others.
97+98+- .NET 5.0 was removed due to being end-of-life, use a newer, supported .NET version - https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
99100- The iputils package, which is installed by default, no longer provides the
101 `ninfod`, `rarpd` and `rdisc` tools. See
···3, lib
4, llvmPackages
5, protobuf
06, rustPlatform
7, stdenv
8, writeShellScriptBin
9, Security
010}:
11rustPlatform.buildRustPackage rec {
12 pname = "polkadot";
13- version = "0.9.36";
1415 src = fetchFromGitHub {
16 owner = "paritytech";
17 repo = "polkadot";
18 rev = "v${version}";
19- sha256 = "sha256-HzQFlnn+SPasI0g0DYDCRoFCMVyxlUmEQAobvzRnAW4=";
2021 # the build process of polkadot requires a .git folder in order to determine
22 # the git commit hash that is being built and add it to the version string.
···32 '';
33 };
3435- cargoSha256 = "sha256-P31GW/1HiaZLF6e8Fq1YnH1ZLhiOhURm8st9a4KRlJU=";
3637- buildInputs = lib.optionals stdenv.isDarwin [ Security ];
3839 nativeBuildInputs = [ rustPlatform.bindgenHook ];
40···44 '';
4546 PROTOC = "${protobuf}/bin/protoc";
04748 # NOTE: We don't build the WASM runtimes since this would require a more
49 # complicated rust environment setup and this is only needed for developer
···3, lib
4, llvmPackages
5, protobuf
6+, rocksdb
7, rustPlatform
8, stdenv
9, writeShellScriptBin
10, Security
11+, SystemConfiguration
12}:
13rustPlatform.buildRustPackage rec {
14 pname = "polkadot";
15+ version = "0.9.37";
1617 src = fetchFromGitHub {
18 owner = "paritytech";
19 repo = "polkadot";
20 rev = "v${version}";
21+ hash = "sha256-/mgJNjliPUmMkhT/1oiX9+BJHfY3SMsKfFv9HCyWRQQ=";
2223 # the build process of polkadot requires a .git folder in order to determine
24 # the git commit hash that is being built and add it to the version string.
···34 '';
35 };
3637+ cargoHash = "sha256-o+APFYKgA3zjQSGrkpnyf5LEBBqvZtcfWlzCk6nL02A=";
3839+ buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
4041 nativeBuildInputs = [ rustPlatform.bindgenHook ];
42···46 '';
4748 PROTOC = "${protobuf}/bin/protoc";
49+ ROCKSDB_LIB_DIR = "${rocksdb}/lib";
5051 # NOTE: We don't build the WASM runtimes since this would require a more
52 # complicated rust environment setup and this is only needed for developer
···1{ lib, mkCoqDerivation, coq, version ? null }:
23-with lib; mkCoqDerivation {
4 pname = "StructTact";
5 owner = "uwplse";
6 inherit version;
7- defaultVersion = with versions; switch coq.coq-version [
8 { case = range "8.6" "8.16"; out = "20210328"; }
9 { case = range "8.5" "8.13"; out = "20181102"; }
10 ] null;
···1{ lib, mkCoqDerivation, coq, version ? null }:
23+mkCoqDerivation {
4 pname = "StructTact";
5 owner = "uwplse";
6 inherit version;
7+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
8 { case = range "8.6" "8.16"; out = "20210328"; }
9 { case = range "8.5" "8.13"; out = "20181102"; }
10 ] null;
+2-4
pkgs/development/coq-modules/VST/default.nix
···1{ lib, mkCoqDerivation, coq, compcert, ITree, version ? null }:
23-with lib;
4-5# A few modules that are not built and installed by default
6# but that may be useful to some users.
7# They depend on ITree.
···11 "powerlater.v"
12 ]
13 # floyd/printf.v is broken in VST 2.9
14- ++ optional (!versions.isGe "8.13" coq.coq-version) "printf.v"
15 ++ [
16 "quickprogram.v"
17 ];
···24 owner = "PrincetonUniversity";
25 repo = "VST";
26 inherit version;
27- defaultVersion = with versions; switch coq.coq-version [
28 { case = range "8.15" "8.16"; out = "2.11.1"; }
29 { case = range "8.14" "8.16"; out = "2.10"; }
30 { case = range "8.13" "8.15"; out = "2.9"; }
···1{ lib, mkCoqDerivation, coq, compcert, ITree, version ? null }:
2003# A few modules that are not built and installed by default
4# but that may be useful to some users.
5# They depend on ITree.
···9 "powerlater.v"
10 ]
11 # floyd/printf.v is broken in VST 2.9
12+ ++ lib.optional (!lib.versions.isGe "8.13" coq.coq-version) "printf.v"
13 ++ [
14 "quickprogram.v"
15 ];
···22 owner = "PrincetonUniversity";
23 repo = "VST";
24 inherit version;
25+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
26 { case = range "8.15" "8.16"; out = "2.11.1"; }
27 { case = range "8.14" "8.16"; out = "2.10"; }
28 { case = range "8.13" "8.15"; out = "2.9"; }
···1{ lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }:
23-with lib; mkCoqDerivation {
45 pname = "category-theory";
6 owner = "jwiegley";
···16 release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
1718 inherit version;
19- defaultVersion = with versions; switch coq.coq-version [
20 { case = range "8.14" "8.16"; out = "1.0.0"; }
21 { case = range "8.10" "8.15"; out = "20211213"; }
22 { case = range "8.8" "8.9"; out = "20190414"; }
···2829 meta = {
30 description = "A formalization of category theory in Coq for personal study and practical work";
31- maintainers = with maintainers; [ jwiegley ];
32 };
33}
···1{ lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }:
23+mkCoqDerivation {
45 pname = "category-theory";
6 owner = "jwiegley";
···16 release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
1718 inherit version;
19+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
20 { case = range "8.14" "8.16"; out = "1.0.0"; }
21 { case = range "8.10" "8.15"; out = "20211213"; }
22 { case = range "8.8" "8.9"; out = "20190414"; }
···2829 meta = {
30 description = "A formalization of category theory in Coq for personal study and practical work";
31+ maintainers = with lib.maintainers; [ jwiegley ];
32 };
33}
+2-3
pkgs/development/coq-modules/ceres/default.nix
···1{ lib, mkCoqDerivation, coq, version ? null }:
23-with lib;
4mkCoqDerivation {
56 pname = "ceres";
···8 owner = "Lysxia";
910 inherit version;
11- defaultVersion = if versions.range "8.8" "8.16" coq.version then "0.4.0" else null;
12 release."0.4.0".sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi";
1314- meta = {
15 description = "Library for serialization to S-expressions";
16 license = licenses.mit;
17 maintainers = with maintainers; [ Zimmi48 ];
···1{ lib, mkCoqDerivation, coq, version ? null }:
203mkCoqDerivation {
45 pname = "ceres";
···7 owner = "Lysxia";
89 inherit version;
10+ defaultVersion = if lib.versions.range "8.8" "8.16" coq.version then "0.4.0" else null;
11 release."0.4.0".sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi";
1213+ meta = with lib; {
14 description = "Library for serialization to S-expressions";
15 license = licenses.mit;
16 maintainers = with maintainers; [ Zimmi48 ];
+2-4
pkgs/development/coq-modules/compcert/default.nix
···5, version ? null
6}:
78-with lib;
9-10let compcert = mkCoqDerivation rec {
1112 pname = "compcert";
···15 inherit version;
16 releaseRev = v: "v${v}";
1718- defaultVersion = with versions; switch coq.version [
19 { case = range "8.14" "8.16"; out = "3.11"; }
20 { case = isEq "8.13" ; out = "3.10"; }
21 { case = isEq "8.12" ; out = "3.9"; }
···84}; in
85compcert.overrideAttrs (o:
86 {
87- patches = with versions; switch [ coq.version o.version ] [
88 { cases = [ (range "8.12.2" "8.13.2") "3.8" ];
89 out = [
90 # Support for Coq 8.12.2
···5, version ? null
6}:
7008let compcert = mkCoqDerivation rec {
910 pname = "compcert";
···13 inherit version;
14 releaseRev = v: "v${v}";
1516+ defaultVersion = with lib.versions; lib.switch coq.version [
17 { case = range "8.14" "8.16"; out = "3.11"; }
18 { case = isEq "8.13" ; out = "3.10"; }
19 { case = isEq "8.12" ; out = "3.9"; }
···82}; in
83compcert.overrideAttrs (o:
84 {
85+ patches = with lib.versions; lib.switch [ coq.version o.version ] [
86 { cases = [ (range "8.12.2" "8.13.2") "3.8" ];
87 out = [
88 # Support for Coq 8.12.2
···1{ lib, mkCoqDerivation, coq, version ? null }:
23-with lib; mkCoqDerivation rec {
4 pname = "coq-ext-lib";
5 owner = "coq-ext-lib";
6 inherit version;
7- defaultVersion = with versions; switch coq.coq-version [
8 { case = range "8.11" "8.16"; out = "0.11.7"; }
9 { case = range "8.8" "8.16"; out = "0.11.6"; }
10 { case = range "8.8" "8.14"; out = "0.11.4"; }
···3031 meta = {
32 description = "A collection of theories and plugins that may be useful in other Coq developments";
33- maintainers = with maintainers; [ jwiegley ptival ];
34 };
35}
···1{ lib, mkCoqDerivation, coq, version ? null }:
23+mkCoqDerivation rec {
4 pname = "coq-ext-lib";
5 owner = "coq-ext-lib";
6 inherit version;
7+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
8 { case = range "8.11" "8.16"; out = "0.11.7"; }
9 { case = range "8.8" "8.16"; out = "0.11.6"; }
10 { case = range "8.8" "8.14"; out = "0.11.4"; }
···3031 meta = {
32 description = "A collection of theories and plugins that may be useful in other Coq developments";
33+ maintainers = with lib.maintainers; [ jwiegley ptival ];
34 };
35}
···1{ lib, mkCoqDerivation, coq, equations, LibHyps, version ? null }:
2-with lib;
34(mkCoqDerivation {
5 pname = "hydra-battles";
···11 releaseRev = (v: "v${v}");
1213 inherit version;
14- defaultVersion = with versions; switch coq.coq-version [
15 { case = range "8.13" "8.16"; out = "0.6"; }
16 { case = range "8.11" "8.12"; out = "0.4"; }
17 ] null;
1819 useDune = true;
2021- meta = {
22 description = "Exploration of some properties of Kirby and Paris' hydra battles, with the help of Coq";
23 longDescription = ''
24 An exploration of some properties of Kirby and Paris' hydra
···33 };
34}).overrideAttrs(o:
35 let inherit (o) version; in {
36- propagatedBuildInputs = [ equations ] ++ optional (versions.isGe "0.6" version || version == "dev") LibHyps;
37 })
···1{ lib, mkCoqDerivation, coq, equations, LibHyps, version ? null }:
023(mkCoqDerivation {
4 pname = "hydra-battles";
···10 releaseRev = (v: "v${v}");
1112 inherit version;
13+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
14 { case = range "8.13" "8.16"; out = "0.6"; }
15 { case = range "8.11" "8.12"; out = "0.4"; }
16 ] null;
1718 useDune = true;
1920+ meta = with lib; {
21 description = "Exploration of some properties of Kirby and Paris' hydra battles, with the help of Coq";
22 longDescription = ''
23 An exploration of some properties of Kirby and Paris' hydra
···32 };
33}).overrideAttrs(o:
34 let inherit (o) version; in {
35+ propagatedBuildInputs = [ equations ] ++ lib.optional (lib.versions.isGe "0.6" version || version == "dev") LibHyps;
36 })
+3-3
pkgs/development/coq-modules/iris/default.nix
···1{ lib, mkCoqDerivation, coq, stdpp, version ? null }:
23-with lib; mkCoqDerivation rec {
4 pname = "iris";
5 domain = "gitlab.mpi-sws.org";
6 owner = "iris";
7 inherit version;
8- defaultVersion = with versions; switch coq.coq-version [
9 { case = range "8.13" "8.16"; out = "4.0.0"; }
10 { case = range "8.12" "8.14"; out = "3.5.0"; }
11 { case = range "8.11" "8.13"; out = "3.4.0"; }
···26 fi
27 '';
2829- meta = {
30 description = "The Coq development of the Iris Project";
31 license = licenses.bsd3;
32 maintainers = [ maintainers.vbgl ];
···1{ lib, mkCoqDerivation, coq, stdpp, version ? null }:
23+mkCoqDerivation rec {
4 pname = "iris";
5 domain = "gitlab.mpi-sws.org";
6 owner = "iris";
7 inherit version;
8+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
9 { case = range "8.13" "8.16"; out = "4.0.0"; }
10 { case = range "8.12" "8.14"; out = "3.5.0"; }
11 { case = range "8.11" "8.13"; out = "3.4.0"; }
···26 fi
27 '';
2829+ meta = with lib; {
30 description = "The Coq development of the Iris Project";
31 license = licenses.bsd3;
32 maintainers = [ maintainers.vbgl ];
+2-3
pkgs/development/coq-modules/itauto/default.nix
···1{ lib, mkCoqDerivation, coq, version ? null }:
2-with lib;
34mkCoqDerivation rec {
5 pname = "itauto";
···11 release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9";
12 release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A=";
13 inherit version;
14- defaultVersion = with versions; switch coq.coq-version [
15 { case = isEq "8.16"; out = "8.16.0"; }
16 { case = isEq "8.15"; out = "8.15.0"; }
17 { case = isEq "8.14"; out = "8.14.0"; }
···22 nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]);
23 enableParallelBuilding = false;
2425- meta = {
26 description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support";
27 maintainers = with maintainers; [ siraben ];
28 license = licenses.gpl3Plus;
···1{ lib, mkCoqDerivation, coq, version ? null }:
023mkCoqDerivation rec {
4 pname = "itauto";
···10 release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9";
11 release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A=";
12 inherit version;
13+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
14 { case = isEq "8.16"; out = "8.16.0"; }
15 { case = isEq "8.15"; out = "8.15.0"; }
16 { case = isEq "8.14"; out = "8.14.0"; }
···21 nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]);
22 enableParallelBuilding = false;
2324+ meta = with lib; {
25 description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support";
26 maintainers = with maintainers; [ siraben ];
27 license = licenses.gpl3Plus;
+3-3
pkgs/development/coq-modules/ltac2/default.nix
···1{ lib, mkCoqDerivation, which, coq, version ? null }:
23-with lib; mkCoqDerivation {
4 pname = "ltac2";
5 owner = "coq";
6 inherit version;
7- defaultVersion = with versions; switch coq.coq-version [
8 { case = "8.10"; out = "0.3"; }
9 { case = "8.9"; out = "0.2"; }
10 { case = "8.8"; out = "0.1"; }
···1920 mlPlugin = true;
2122- meta = {
23 description = "A robust and expressive tactic language for Coq";
24 maintainers = [ maintainers.vbgl ];
25 license = licenses.lgpl21;
···1{ lib, mkCoqDerivation, which, coq, version ? null }:
23+mkCoqDerivation {
4 pname = "ltac2";
5 owner = "coq";
6 inherit version;
7+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
8 { case = "8.10"; out = "0.3"; }
9 { case = "8.9"; out = "0.2"; }
10 { case = "8.8"; out = "0.1"; }
···1920 mlPlugin = true;
2122+ meta = with lib; {
23 description = "A robust and expressive tactic language for Coq";
24 maintainers = [ maintainers.vbgl ];
25 license = licenses.lgpl21;
···18 repo = "math-comp";
19 owner = "math-comp";
20 withDoc = single && (args.withDoc or false);
21- defaultVersion = with versions; switch coq.coq-version [
22 { case = range "8.14" "8.16"; out = "1.15.0"; }
23 { case = range "8.11" "8.15"; out = "1.14.0"; }
24 { case = range "8.11" "8.15"; out = "1.13.0"; }
···5051 mathcomp_ = package: let
52 mathcomp-deps = if package == "single" then []
53- else map mathcomp_ (head (splitList (pred.equal package) packages));
54 pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}";
55 pname = if package == "single" then "mathcomp" else "mathcomp-${package}";
56 pkgallMake = ''
···18 repo = "math-comp";
19 owner = "math-comp";
20 withDoc = single && (args.withDoc or false);
21+ defaultVersion = with versions; lib.switch coq.coq-version [
22 { case = range "8.14" "8.16"; out = "1.15.0"; }
23 { case = range "8.11" "8.15"; out = "1.14.0"; }
24 { case = range "8.11" "8.15"; out = "1.13.0"; }
···5051 mathcomp_ = package: let
52 mathcomp-deps = if package == "single" then []
53+ else map mathcomp_ (head (splitList (lib.pred.equal package) packages));
54 pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}";
55 pname = if package == "single" then "mathcomp" else "mathcomp-${package}";
56 pkgallMake = ''
+2-2
pkgs/development/coq-modules/metacoq/default.nix
···5let
6 repo = "metacoq";
7 owner = "MetaCoq";
8- defaultVersion = with versions; switch coq.coq-version [
9 { case = "8.11"; out = "1.0-beta2-8.11"; }
10 { case = "8.12"; out = "1.0-beta2-8.12"; }
11 # Do not provide 8.13 because it does not compile with equations 1.3 provided by default (only 1.2.3)
···3435 metacoq_ = package: let
36 metacoq-deps = if package == "single" then []
37- else map metacoq_ (head (splitList (pred.equal package) packages));
38 pkgpath = if package == "single" then "./" else "./${package}";
39 pname = if package == "all" then "metacoq" else "metacoq-${package}";
40 pkgallMake = ''
···5let
6 repo = "metacoq";
7 owner = "MetaCoq";
8+ defaultVersion = with versions; lib.switch coq.coq-version [
9 { case = "8.11"; out = "1.0-beta2-8.11"; }
10 { case = "8.12"; out = "1.0-beta2-8.12"; }
11 # Do not provide 8.13 because it does not compile with equations 1.3 provided by default (only 1.2.3)
···3435 metacoq_ = package: let
36 metacoq-deps = if package == "single" then []
37+ else map metacoq_ (head (splitList (lib.pred.equal package) packages));
38 pkgpath = if package == "single" then "./" else "./${package}";
39 pname = if package == "all" then "metacoq" else "metacoq-${package}";
40 pkgallMake = ''
+3-3
pkgs/development/coq-modules/metalib/default.nix
···1{ lib, mkCoqDerivation, coq, version ? null }:
23-with lib; mkCoqDerivation {
4 pname = "metalib";
5 owner = "plclub";
6 inherit version;
7- defaultVersion = with versions; switch coq.coq-version [
8 { case = range "8.14" "8.16"; out = "8.15"; }
9 { case = range "8.10" "8.13"; out = "8.10"; }
10 ] null;
···1415 sourceRoot = "source/Metalib";
1617- meta = {
18 license = licenses.mit;
19 maintainers = [ maintainers.jwiegley ];
20 };
···1{ lib, mkCoqDerivation, coq, version ? null }:
23+mkCoqDerivation {
4 pname = "metalib";
5 owner = "plclub";
6 inherit version;
7+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
8 { case = range "8.14" "8.16"; out = "8.15"; }
9 { case = range "8.10" "8.13"; out = "8.10"; }
10 ] null;
···1415 sourceRoot = "source/Metalib";
1617+ meta = with lib; {
18 license = licenses.mit;
19 maintainers = [ maintainers.jwiegley ];
20 };
···1{ lib, mkCoqDerivation, coq, version ? null }:
2-with lib;
34mkCoqDerivation rec {
5 pname = "semantics";
···15 release."8.6.0".sha256 = "sha256-GltkGQ3tJqUPAbdDkqqvKLLhMOap50XvGaCkjshiNdY=";
1617 inherit version;
18- defaultVersion = with versions; switch coq.coq-version [
19 { case = range "8.10" "8.16"; out = "8.14.0"; }
20 { case = "8.9"; out = "8.9.0"; }
21 { case = "8.8"; out = "8.8.0"; }
···34 done
35 '';
3637- meta = {
38 description = "A survey of programming language semantics styles in Coq";
39 longDescription = ''
40 A survey of semantics styles in Coq, from natural semantics through
···1{ lib, mkCoqDerivation, coq, version ? null }:
023mkCoqDerivation rec {
4 pname = "semantics";
···14 release."8.6.0".sha256 = "sha256-GltkGQ3tJqUPAbdDkqqvKLLhMOap50XvGaCkjshiNdY=";
1516 inherit version;
17+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
18 { case = range "8.10" "8.16"; out = "8.14.0"; }
19 { case = "8.9"; out = "8.9.0"; }
20 { case = "8.8"; out = "8.8.0"; }
···33 done
34 '';
3536+ meta = with lib; {
37 description = "A survey of programming language semantics styles in Coq";
38 longDescription = ''
39 A survey of semantics styles in Coq, from natural semantics through
+1-1
pkgs/development/coq-modules/serapi/default.nix
···17 inherit version release;
1819 defaultVersion = with versions;
20- switch coq.version [
21 { case = isEq "8.16"; out = "8.16.0+0.16.0"; }
22 { case = isEq "8.15"; out = "8.15.0+0.15.0"; }
23 { case = isEq "8.14"; out = "8.14.0+0.14.0"; }
···17 inherit version release;
1819 defaultVersion = with versions;
20+ lib.switch coq.version [
21 { case = isEq "8.16"; out = "8.16.0+0.16.0"; }
22 { case = isEq "8.15"; out = "8.15.0+0.15.0"; }
23 { case = isEq "8.14"; out = "8.14.0+0.14.0"; }
···1+diff --git a/bin/fiber/fiber.ml b/bin/fiber/fiber.ml
2+index 188a92cc9..6087a8687 100644
3+--- a/bin/fiber/fiber.ml
4++++ b/bin/fiber/fiber.ml
5+@@ -129,7 +129,7 @@ let worker pool =
6+7+ let get_concurrency () =
8+ try
9+- let ic = Unix.open_process_in "getconf _NPROCESSORS_ONLN" in
10++ let ic = Unix.open_process_in "@getconf@/bin/getconf _NPROCESSORS_ONLN" in
11+ let close () = ignore (Unix.close_process_in ic) in
12+ let sc = Scanf.Scanning.from_channel ic in
13+ try
···22, nixosTests
23}:
2425-with lib;
26stdenv.mkDerivation rec {
27 pname = "cups";
28-29 version = "2.4.2";
3031 src = fetchurl {
···48 nativeBuildInputs = [ pkg-config removeReferencesTo ];
4950 buildInputs = [ zlib libjpeg libpng libtiff libusb1 gnutls libpaper ]
51- ++ optionals stdenv.isLinux [ avahi pam dbus acl ]
52- ++ optional enableSystemd systemd
53- ++ optionals stdenv.isDarwin (with darwin; [
54 configd apple_sdk.frameworks.ApplicationServices
55 ]);
56···62 "--sysconfdir=/etc"
63 "--enable-raw-printing"
64 "--enable-threads"
65- ] ++ optionals stdenv.isLinux [
66 "--enable-dbus"
67 "--enable-pam"
68 "--with-dbusdir=${placeholder "out"}/share/dbus-1"
69- ] ++ optional (libusb1 != null) "--enable-libusb"
70- ++ optional (gnutls != null) "--enable-ssl"
71- ++ optional (avahi != null) "--enable-avahi"
72- ++ optional (libpaper != null) "--enable-libpaper";
7374 # AR has to be an absolute path
75 preConfigure = ''
76- export AR="${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
77 configureFlagsArray+=(
78 # Put just lib/* and locale into $lib; this didn't work directly.
79 # lib/cups is moved back to $out in postInstall.
···8485 "--with-systemd=$out/lib/systemd/system"
8687- ${optionalString stdenv.isDarwin ''
88 "--with-bundledir=$out"
89 ''}
90 )
···130 for f in "$out"/lib/systemd/system/*; do
131 substituteInPlace "$f" --replace "$lib/$libexec" "$out/$libexec"
132 done
133- '' + optionalString stdenv.isLinux ''
134 # Use xdg-open when on Linux
135 substituteInPlace "$out"/share/applications/cups.desktop \
136 --replace "Exec=htmlview" "Exec=xdg-open"
···138139 passthru.tests.nixos = nixosTests.printing;
140141- meta = {
142 homepage = "https://openprinting.github.io/cups/";
143 description = "A standards-based printing system for UNIX";
144 license = licenses.asl20;
···22, nixosTests
23}:
24025stdenv.mkDerivation rec {
26 pname = "cups";
027 version = "2.4.2";
2829 src = fetchurl {
···46 nativeBuildInputs = [ pkg-config removeReferencesTo ];
4748 buildInputs = [ zlib libjpeg libpng libtiff libusb1 gnutls libpaper ]
49+ ++ lib.optionals stdenv.isLinux [ avahi pam dbus acl ]
50+ ++ lib.optional enableSystemd systemd
51+ ++ lib.optionals stdenv.isDarwin (with darwin; [
52 configd apple_sdk.frameworks.ApplicationServices
53 ]);
54···60 "--sysconfdir=/etc"
61 "--enable-raw-printing"
62 "--enable-threads"
63+ ] ++ lib.optionals stdenv.isLinux [
64 "--enable-dbus"
65 "--enable-pam"
66 "--with-dbusdir=${placeholder "out"}/share/dbus-1"
67+ ] ++ lib.optional (libusb1 != null) "--enable-libusb"
68+ ++ lib.optional (gnutls != null) "--enable-ssl"
69+ ++ lib.optional (avahi != null) "--enable-avahi"
70+ ++ lib.optional (libpaper != null) "--enable-libpaper";
7172 # AR has to be an absolute path
73 preConfigure = ''
74+ export AR="${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
75 configureFlagsArray+=(
76 # Put just lib/* and locale into $lib; this didn't work directly.
77 # lib/cups is moved back to $out in postInstall.
···8283 "--with-systemd=$out/lib/systemd/system"
8485+ ${lib.optionalString stdenv.isDarwin ''
86 "--with-bundledir=$out"
87 ''}
88 )
···128 for f in "$out"/lib/systemd/system/*; do
129 substituteInPlace "$f" --replace "$lib/$libexec" "$out/$libexec"
130 done
131+ '' + lib.optionalString stdenv.isLinux ''
132 # Use xdg-open when on Linux
133 substituteInPlace "$out"/share/applications/cups.desktop \
134 --replace "Exec=htmlview" "Exec=xdg-open"
···136137 passthru.tests.nixos = nixosTests.printing;
138139+ meta = with lib; {
140 homepage = "https://openprinting.github.io/cups/";
141 description = "A standards-based printing system for UNIX";
142 license = licenses.asl20;
+2-1
pkgs/misc/dxvk/default.nix
···78stdenvNoCC.mkDerivation (finalAttrs:
9 let
10- inherit (stdenvNoCC.hostPlatform.uname) system;
011 # DXVK needs to be a separate derivation because it’s actually a set of DLLs for Windows that
12 # needs to be built with a cross-compiler.
13 dxvk32 = pkgsCross.mingw32.callPackage ./dxvk.nix {
···78stdenvNoCC.mkDerivation (finalAttrs:
9 let
10+ system = lib.toLower stdenvNoCC.targetPlatform.uname.system;
11+12 # DXVK needs to be a separate derivation because it’s actually a set of DLLs for Windows that
13 # needs to be built with a cross-compiler.
14 dxvk32 = pkgsCross.mingw32.callPackage ./dxvk.nix {
+3-3
pkgs/misc/fastly/default.nix
···89buildGoModule rec {
10 pname = "fastly";
11- version = "4.6.2";
1213 src = fetchFromGitHub {
14 owner = "fastly";
15 repo = "cli";
16 rev = "refs/tags/v${version}";
17- hash = "sha256-E91Vg/dPJQwBZar7Wo5IeMlFoI/jwz7ALtv67DW1Rsk=";
18 # The git commit is part of the `fastly version` original output;
19 # leave that output the same in nixpkgs. Use the `.git` directory
20 # to retrieve the commit SHA, and remove the directory afterwards,
···31 "cmd/fastly"
32 ];
3334- vendorHash = "sha256-Gyc0c3RntrWFEqk+AixvXSRRqjr7SEYGeqIJ/ysoFgs=";
3536 nativeBuildInputs = [
37 installShellFiles
···89buildGoModule rec {
10 pname = "fastly";
11+ version = "5.0.0";
1213 src = fetchFromGitHub {
14 owner = "fastly";
15 repo = "cli";
16 rev = "refs/tags/v${version}";
17+ hash = "sha256-rbb+OtzOZbTYJt4IH1QXKdQ9JevGLEvhcC+F7rW337k=";
18 # The git commit is part of the `fastly version` original output;
19 # leave that output the same in nixpkgs. Use the `.git` directory
20 # to retrieve the commit SHA, and remove the directory afterwards,
···31 "cmd/fastly"
32 ];
3334+ vendorHash = "sha256-TxF0H1kZSn9VFrR8z5JJwWXCG6Gl8QH88qwQidGY7oc=";
3536 nativeBuildInputs = [
37 installShellFiles
···65 meta = with lib; {
66 description = "Mail folder synchronizer between IMAP servers";
67 homepage = "https://imapsync.lamiral.info/";
68- license = licenses.wtfpl;
69 maintainers = with maintainers; [ pSub ];
70 platforms = platforms.unix;
71 };
···65 meta = with lib; {
66 description = "Mail folder synchronizer between IMAP servers";
67 homepage = "https://imapsync.lamiral.info/";
68+ license = licenses.nlpl;
69 maintainers = with maintainers; [ pSub ];
70 platforms = platforms.unix;
71 };
-5
pkgs/tools/networking/nbd/default.nix
···25 test = nixosTests.nbd;
26 };
2728- # Glib calls `clock_gettime', which is in librt. Linking that library
29- # here ensures that a proper rpath is added to the executable so that
30- # it can be loaded at run-time.
31- NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lrt -lpthread";
32-33 meta = {
34 homepage = "https://nbd.sourceforge.io/";
35 description = "Map arbitrary files as block devices over the network";
···25 test = nixosTests.nbd;
26 };
270000028 meta = {
29 homepage = "https://nbd.sourceforge.io/";
30 description = "Map arbitrary files as block devices over the network";