From 7da39a7a9e8849db860cd1adfad2bcb5539d4f76 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Jul 2023 08:01:24 +0200 Subject: [PATCH] treewide .goModules: revert renaming the derivation This is a workaround to avoid exposing non-reproducible .goModules At least for now. https://github.com/NixOS/nixpkgs/pull/242905#issuecomment-1646820126 --- pkgs/build-support/go/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index ced7873e6a2b..6c2284a7a98d 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -54,7 +54,7 @@ let goModules = if (vendorHash == null) then "" else (stdenv.mkDerivation { - name = "${name}-goModules"; + name = "${name}-go-modules"; nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ go git cacert ];