···12In the following is an example expression using `buildGoModule`, the following arguments are of special significance to the function:
1314- `vendorSha256`: is the hash of the output of the intermediate fetcher derivation. `vendorSha256` can also take `null` as an input. When `null` is used as a value, rather than fetching the dependencies and vendoring them, we use the vendoring included within the source repo. If you'd like to not have to update this field on dependency changes, run `go mod vendor` in your source repo and set `vendorSha256 = null;`
15-- `runVend`: runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build.
16-- `proxyVendor`: Fetches (go mod download) and proxies the vendor directory. This is useful if any dependency has case-insensitive conflicts which will produce platform dependant `vendorSha256` checksums.
1718```nix
19pet = buildGoModule rec {
···12In the following is an example expression using `buildGoModule`, the following arguments are of special significance to the function:
1314- `vendorSha256`: is the hash of the output of the intermediate fetcher derivation. `vendorSha256` can also take `null` as an input. When `null` is used as a value, rather than fetching the dependencies and vendoring them, we use the vendoring included within the source repo. If you'd like to not have to update this field on dependency changes, run `go mod vendor` in your source repo and set `vendorSha256 = null;`
15+- `proxyVendor`: Fetches (go mod download) and proxies the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build or if any dependency has case-insensitive conflicts which will produce platform dependant `vendorSha256` checksums.
01617```nix
18pet = buildGoModule rec {
···29 license = licenses.gpl3Plus;
30 platforms = platforms.unix;
31 maintainers = [ maintainers.romildo ];
32+ broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-icon-theme.x86_64-darwin
33 };
34}
+7-6
pkgs/development/go-modules/generic/default.nix
···26, vendorSha256
27# Whether to delete the vendor folder supplied with the source.
28, deleteVendor ? false
29-# Whether to run the vend tool to regenerate the vendor directory.
30-# This is useful if any dependency contain C files.
31-, runVend ? false
32# Whether to fetch (go mod download) and proxy the vendor directory.
33-# This is useful if any dependency has case-insensitive conflicts
34-# which will produce platform dependant `vendorSha256` checksums.
035, proxyVendor ? false
3637# We want parallel builds by default
···4344, meta ? {}
4500046# Not needed with buildGoModule
47, goPackagePath ? ""
48···5455with builtins;
5657-assert (runVend == true && proxyVendor == true) -> throw "can't use `runVend` and `proxyVendor` together";
5859assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`";
60
···26, vendorSha256
27# Whether to delete the vendor folder supplied with the source.
28, deleteVendor ? false
00029# Whether to fetch (go mod download) and proxy the vendor directory.
30+# This is useful if your code depends on c code and go mod tidy does not
31+# include the needed sources to build or if any dependency has case-insensitive
32+# conflicts which will produce platform dependant `vendorSha256` checksums.
33, proxyVendor ? false
3435# We want parallel builds by default
···4142, meta ? {}
4344+# disabled
45+, runVend ? false
46+47# Not needed with buildGoModule
48, goPackagePath ? ""
49···5556with builtins;
5758+assert runVend != false -> throw "`runVend` has been replaced by `proxyVendor`";
5960assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`";
61
···28 meta = with lib; {
29 homepage = "https://www.jefftk.com/icdiff";
30 description = "Side-by-side highlighted command line diffs";
31- maintainers = with maintainers; [ aneeshusa ];
32 license = licenses.psfl;
33 };
34}
···28 meta = with lib; {
29 homepage = "https://www.jefftk.com/icdiff";
30 description = "Side-by-side highlighted command line diffs";
31+ maintainers = with maintainers; [ ];
32 license = licenses.psfl;
33 };
34}
+1
pkgs/top-level/aliases.nix
···349 graalvm8 = throw "graalvm8-ce has been removed by upstream."; # added 2021-10-19
350 graalvm8-ce = throw "graalvm8-ce has been removed by upstream."; # added 2021-10-19
351 graalvm11 = graalvm11-ce;
0352 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
353 gtk_doc = gtk-doc; # added 2018-02-25
354 gtklick = throw "gtklick has been removed from nixpkgs as the project is stuck on python2"; # added 2022-01-01
···349 graalvm8 = throw "graalvm8-ce has been removed by upstream."; # added 2021-10-19
350 graalvm8-ce = throw "graalvm8-ce has been removed by upstream."; # added 2021-10-19
351 graalvm11 = graalvm11-ce;
352+ grib-api = throw "grib-api has been replaced by ecCodes => https://confluence.ecmwf.int/display/ECC/GRIB-API+migration"; # added 2022-01-05
353 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
354 gtk_doc = gtk-doc; # added 2018-02-25
355 gtklick = throw "gtklick has been removed from nixpkgs as the project is stuck on python2"; # added 2022-01-01