···910buildGoModule rec {
11 pname = "gvisor";
12- version = "20230529.0";
1314 # gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
15 # that can be used to build gvisor without bazel.
16- #
17 # For updates, you should stick to the commits labeled "Merge release-** (automated)"
18- # Make sure to check that the tagged commit for a release aligns with the version in
19- # the message for good measure; e.g. the commit
20- #
21- # 142d38d770a07291877dc0d50b88b719dbef76dc is "Merge release-20230522.0-11-g919cfd12b (automated)"
22- #
23- # on the 'go' branch. But the mentioned commit, 919cfd12b..., is actually tagged as release-20230529.0
24- #
25- # https://github.com/google/gvisor/releases/tag/release-202329.0
26- #
27- # Presumably this is a result of the release process. Handle with care.
2829 src = fetchFromGitHub {
30 owner = "google";
31 repo = "gvisor";
32- rev = "142d38d770a07291877dc0d50b88b719dbef76dc";
33- hash = "sha256-Ukcjlz/6iUmDAUpQpIVfZHKbwK90Mt6fukcFaw64hQI=";
34 };
3536- vendorHash = "sha256-COr47mZ4tsbzMjkv63l+fexo0RL5lrBXeewak9CuZVk=";
3738 nativeBuildInputs = [ makeWrapper ];
39
···910buildGoModule rec {
11 pname = "gvisor";
12+ version = "20221102.1";
1314 # gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
15 # that can be used to build gvisor without bazel.
016 # For updates, you should stick to the commits labeled "Merge release-** (automated)"
00000000001718 src = fetchFromGitHub {
19 owner = "google";
20 repo = "gvisor";
21+ rev = "bf8eeee3a9eb966bc72c773da060a3c8bb73b8ff";
22+ sha256 = "sha256-rADQsJ+AnBVlfQURGJl1xR6Ad5NyRWSrBSpOFMRld+o=";
23 };
2425+ vendorSha256 = "sha256-iGLWxx/Kn1QaJTNOZcc+mwoF3ecEDOkaqmA0DH4pdgU=";
2627 nativeBuildInputs = [ makeWrapper ];
28
···210 "-DMAC_CODESIGN_ID=OFF"
211 ];
212000000213 # The optional string is kind of an inelegant way to get fish to cross compile.
214 # Fish needs coreutils as a runtime dependency, and it gets put into
215 # CMAKE_PREFIX_PATH, which cmake uses to look up build time programs, so it
···210 "-DMAC_CODESIGN_ID=OFF"
211 ];
212213+ # Fish’s test suite needs to be able to look up process information and send signals.
214+ sandboxProfile = lib.optionalString stdenv.isDarwin ''
215+ (allow mach-lookup mach-task-name)
216+ (allow signal (target children))
217+ '';
218+219 # The optional string is kind of an inelegant way to get fish to cross compile.
220 # Fish needs coreutils as a runtime dependency, and it gets put into
221 # CMAKE_PREFIX_PATH, which cmake uses to look up build time programs, so it