···991010buildGoModule rec {
1111 pname = "gvisor";
1212- version = "20230529.0";
1212+ version = "20221102.1";
13131414 # gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
1515 # that can be used to build gvisor without bazel.
1616- #
1716 # For updates, you should stick to the commits labeled "Merge release-** (automated)"
1818- # Make sure to check that the tagged commit for a release aligns with the version in
1919- # the message for good measure; e.g. the commit
2020- #
2121- # 142d38d770a07291877dc0d50b88b719dbef76dc is "Merge release-20230522.0-11-g919cfd12b (automated)"
2222- #
2323- # on the 'go' branch. But the mentioned commit, 919cfd12b..., is actually tagged as release-20230529.0
2424- #
2525- # https://github.com/google/gvisor/releases/tag/release-202329.0
2626- #
2727- # Presumably this is a result of the release process. Handle with care.
28172918 src = fetchFromGitHub {
3019 owner = "google";
3120 repo = "gvisor";
3232- rev = "142d38d770a07291877dc0d50b88b719dbef76dc";
3333- hash = "sha256-Ukcjlz/6iUmDAUpQpIVfZHKbwK90Mt6fukcFaw64hQI=";
2121+ rev = "bf8eeee3a9eb966bc72c773da060a3c8bb73b8ff";
2222+ sha256 = "sha256-rADQsJ+AnBVlfQURGJl1xR6Ad5NyRWSrBSpOFMRld+o=";
3423 };
35243636- vendorHash = "sha256-COr47mZ4tsbzMjkv63l+fexo0RL5lrBXeewak9CuZVk=";
2525+ vendorSha256 = "sha256-iGLWxx/Kn1QaJTNOZcc+mwoF3ecEDOkaqmA0DH4pdgU=";
37263827 nativeBuildInputs = [ makeWrapper ];
3928
···210210 "-DMAC_CODESIGN_ID=OFF"
211211 ];
212212213213+ # Fish’s test suite needs to be able to look up process information and send signals.
214214+ sandboxProfile = lib.optionalString stdenv.isDarwin ''
215215+ (allow mach-lookup mach-task-name)
216216+ (allow signal (target children))
217217+ '';
218218+213219 # The optional string is kind of an inelegant way to get fish to cross compile.
214220 # Fish needs coreutils as a runtime dependency, and it gets put into
215221 # CMAKE_PREFIX_PATH, which cmake uses to look up build time programs, so it