···1212In the following is an example expression using `buildGoModule`, the following arguments are of special significance to the function:
13131414- `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;`
1515-- `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.
1616-- `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.
1515+- `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.
17161817```nix
1918pet = buildGoModule rec {
···2929 license = licenses.gpl3Plus;
3030 platforms = platforms.unix;
3131 maintainers = [ maintainers.romildo ];
3232+ broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-icon-theme.x86_64-darwin
3233 };
3334}
+7-6
pkgs/development/go-modules/generic/default.nix
···2626, vendorSha256
2727# Whether to delete the vendor folder supplied with the source.
2828, deleteVendor ? false
2929-# Whether to run the vend tool to regenerate the vendor directory.
3030-# This is useful if any dependency contain C files.
3131-, runVend ? false
3229# Whether to fetch (go mod download) and proxy the vendor directory.
3333-# This is useful if any dependency has case-insensitive conflicts
3434-# which will produce platform dependant `vendorSha256` checksums.
3030+# This is useful if your code depends on c code and go mod tidy does not
3131+# include the needed sources to build or if any dependency has case-insensitive
3232+# conflicts which will produce platform dependant `vendorSha256` checksums.
3533, proxyVendor ? false
36343735# We want parallel builds by default
···43414442, meta ? {}
45434444+# disabled
4545+, runVend ? false
4646+4647# Not needed with buildGoModule
4748, goPackagePath ? ""
4849···54555556with builtins;
56575757-assert (runVend == true && proxyVendor == true) -> throw "can't use `runVend` and `proxyVendor` together";
5858+assert runVend != false -> throw "`runVend` has been replaced by `proxyVendor`";
58595960assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`";
6061
···2828 meta = with lib; {
2929 homepage = "https://www.jefftk.com/icdiff";
3030 description = "Side-by-side highlighted command line diffs";
3131- maintainers = with maintainers; [ aneeshusa ];
3131+ maintainers = with maintainers; [ ];
3232 license = licenses.psfl;
3333 };
3434}
+1
pkgs/top-level/aliases.nix
···349349 graalvm8 = throw "graalvm8-ce has been removed by upstream."; # added 2021-10-19
350350 graalvm8-ce = throw "graalvm8-ce has been removed by upstream."; # added 2021-10-19
351351 graalvm11 = graalvm11-ce;
352352+ grib-api = throw "grib-api has been replaced by ecCodes => https://confluence.ecmwf.int/display/ECC/GRIB-API+migration"; # added 2022-01-05
352353 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
353354 gtk_doc = gtk-doc; # added 2018-02-25
354355 gtklick = throw "gtklick has been removed from nixpkgs as the project is stuck on python2"; # added 2022-01-01