apptainer, singularity: fix the update instructions in the comment (#359528)

This commit is contained in:
Aleksana
2024-12-06 22:54:07 +08:00
committed by GitHub
2 changed files with 7 additions and 8 deletions
@@ -14,8 +14,9 @@
}:
let
# Workaround for vendor-related attributes not overridable (#86349)
# should be removed when the issue is resolved
# Backward compatibility layer for the obsolete workaround of
# the "vendor-related attributes not overridable" issue (#86349),
# whose solution is merged and released.
_defaultGoVendorArgs = {
inherit vendorHash deleteVendor proxyVendor;
};
@@ -19,9 +19,8 @@ let
hash = "sha256-ZdSo9bKZ7Q1xwMe4SR840U3+fVpKwtiZQA5KDM5qF9M=";
};
# Update by running
# nix-prefetch -E "{ sha256 }: ((import ./. { }).apptainer.override { vendorHash = sha256; }).goModules"
# at the root directory of the Nixpkgs repository
# Override vendorHash with overrideAttrs.
# See https://nixos.org/manual/nixpkgs/unstable/#buildGoModule-vendorHash
vendorHash = "sha256-W853++SSvkAYYUczbl8vnoBQZnimUdsAEXp4MCkLPBU=";
extraDescription = " (previously known as Singularity)";
@@ -57,9 +56,8 @@ let
hash = "sha256-Go4um/bIgq2lCZvjJ2GR81XpA/JvjPholi1PzNG9Hz8=";
};
# Update by running
# nix-prefetch -E "{ sha256 }: ((import ./. { }).singularity.override { vendorHash = sha256; }).goModules"
# at the root directory of the Nixpkgs repository
# Override vendorHash with overrideAttrs.
# See https://nixos.org/manual/nixpkgs/unstable/#buildGoModule-vendorHash
vendorHash = "sha256-CRZ42NdmJhAkV6bkl5n7rEV4Tu/h65qF5qaQ4W5wQ3w=";
# Do not build conmon and squashfuse from the Git submodule sources,