···1---- xjump/src/main.c 2018-02-20 09:15:15.608807657 +0100
2-+++ xjump-patched/src/main.c 2018-02-20 09:15:34.148949100 +0100
3-@@ -604,18 +604,6 @@
4- * optimistic privilege dropping function. */
5- setgroups(0, NULL);
6-7-- if (setresgid(-1, realgid, realgid) != 0) {
8-- perror("Could not drop setgid privileges. Aborting.");
9-- exit(1);
10-- }
11--
12-- /* Dropping user privileges must come last.
13-- * Otherwise we won't be able to drop group privileges anymore */
14-- if (setresuid(-1, realuid, realuid) != 0) {
15-- perror("Could not drop setuid privileges. Aborting.");
16-- exit(1);
17-- }
18--
19- /* From now on we run with regular user privileges */
20-21- static XtActionsRec a_table[] = {
···1-diff --git a/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java b/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java
2-index 6fff2af..7e2877e 100644
3---- a/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java
4-+++ b/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java
5-@@ -47,6 +47,16 @@ public final class PosixLocalEnvProvider implements LocalEnvProvider {
6- Map<String, String> env, BinTools binTools, String fallbackTmpDir) {
7- ImmutableMap.Builder<String, String> result = ImmutableMap.builder();
8- result.putAll(Maps.filterKeys(env, k -> !k.equals("TMPDIR")));
9-+
10-+ // In case we are running on NixOS.
11-+ // If bash is called with an unset PATH on this platform,
12-+ // it will set it to /no-such-path and default tools will be missings.
13-+ // See, https://github.com/NixOS/nixpkgs/issues/94222
14-+ // So we ensure that minimal dependencies are present.
15-+ if (!env.containsKey("PATH")){
16-+ result.put("PATH", "@actionsPathPatch@");
17-+ }
18-+
19- String p = clientEnv.get("TMPDIR");
20- if (Strings.isNullOrEmpty(p)) {
21- // Do not use `fallbackTmpDir`, use `/tmp` instead. This way if the user didn't export TMPDIR
22-index 95642767c6..39d3c62461 100644
23---- a/src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java
24-+++ b/src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java
25-@@ -74,6 +74,16 @@ public final class XcodeLocalEnvProvider implements LocalEnvProvider {
26-27- ImmutableMap.Builder<String, String> newEnvBuilder = ImmutableMap.builder();
28- newEnvBuilder.putAll(Maps.filterKeys(env, k -> !k.equals("TMPDIR")));
29-+
30-+ // In case we are running on NixOS.
31-+ // If bash is called with an unset PATH on this platform,
32-+ // it will set it to /no-such-path and default tools will be missings.
33-+ // See, https://github.com/NixOS/nixpkgs/issues/94222
34-+ // So we ensure that minimal dependencies are present.
35-+ if (!env.containsKey("PATH")){
36-+ newEnvBuilder.put("PATH", "@actionsPathPatch@");
37-+ }
38-+
39- String p = clientEnv.get("TMPDIR");
40- if (Strings.isNullOrEmpty(p)) {
41- // Do not use `fallbackTmpDir`, use `/tmp` instead. This way if the user didn't export TMPDIR
···1-#!/usr/bin/env python3
2-import sys
3-import json
4-5-if len(sys.argv) != 2:
6- print("usage: ./this-script src-deps.json < WORKSPACE", file=sys.stderr)
7- print("Takes the bazel WORKSPACE file and reads all archives into a json dict (by evaling it as python code)", file=sys.stderr)
8- print("Hail Eris.", file=sys.stderr)
9- sys.exit(1)
10-11-http_archives = []
12-13-# just the kw args are the dict { name, sha256, urls … }
14-def http_archive(**kw):
15- http_archives.append(kw)
16-# like http_file
17-def http_file(**kw):
18- http_archives.append(kw)
19-20-# this is inverted from http_archive/http_file and bundles multiple archives
21-def _distdir_tar(**kw):
22- for archive_name in kw['archives']:
23- http_archives.append({
24- "name": archive_name,
25- "sha256": kw['sha256'][archive_name],
26- "urls": kw['urls'][archive_name]
27- })
28-29-# TODO?
30-def git_repository(**kw):
31- print(json.dumps(kw, sort_keys=True, indent=4), file=sys.stderr)
32- sys.exit(1)
33-34-# execute the WORKSPACE like it was python code in this module,
35-# using all the function stubs from above.
36-exec(sys.stdin.read())
37-38-# transform to a dict with the names as keys
39-d = { el['name']: el for el in http_archives }
40-41-def has_urls(el):
42- return ('url' in el and el['url']) or ('urls' in el and el['urls'])
43-def has_sha256(el):
44- return 'sha256' in el and el['sha256']
45-bad_archives = list(filter(lambda el: not has_urls(el) or not has_sha256(el), d.values()))
46-if bad_archives:
47- print('Following bazel dependencies are missing url or sha256', file=sys.stderr)
48- print('Check bazel sources for master or non-checksummed dependencies', file=sys.stderr)
49- for el in bad_archives:
50- print(json.dumps(el, sort_keys=True, indent=4), file=sys.stderr)
51- sys.exit(1)
52-53-with open(sys.argv[1], "w") as f:
54- print(json.dumps(d, sort_keys=True, indent=4), file=f)
···504 bash_5 = throw "'bash_5' has been renamed to/replaced by 'bash'"; # Converted to throw 2024-10-17
505 bareboxTools = throw "bareboxTools has been removed due to lack of interest in maintaining it in nixpkgs"; # Added 2025-04-19
506 bazel_5 = throw "bazel_5 has been removed as it is EOL"; # Added 2025-08-09
0507 BeatSaberModManager = beatsabermodmanager; # Added 2024-06-12
508 beam_nox = throw "beam_nox has been removed in favor of beam_minimal or beamMinimalPackages"; # Added 2025-04-01
509 beatsabermodmanager = throw "'beatsabermodmanager' has been removed due to lack of upstream maintainenance. Consider using 'bs-manager' instead"; # Added 2025-03-18
···724 daytona-bin = throw "'daytona-bin' has been removed, as it was unmaintained in nixpkgs"; # Added 2025-07-21
725 dbeaver = throw "'dbeaver' has been renamed to/replaced by 'dbeaver-bin'"; # Added 2024-05-16
726 dbench = throw "'dbench' has been removed as it is unmaintained for 14 years and broken"; # Added 2025-05-17
00000727 dclib = throw "'dclib' has been removed as it is unmaintained for 16 years and broken"; # Added 2025-05-25
728- dbus-map = throw "'dbus-map' has been dropped as it is unmaintained"; # Added 2024-11-01
729 deadpixi-sam = deadpixi-sam-unstable;
730731 debugedit-unstable = throw "'debugedit-unstable' has been renamed to/replaced by 'debugedit'"; # Converted to throw 2024-10-17
···1605 netbox_3_7 = throw "netbox 3.7 series has been removed as it was EOL"; # Added 2025-04-23
1606 nettools = net-tools; # Added 2025-06-11
1607 newt-go = fosrl-newt; # Added 2025-06-24
01608 nextcloud29 = throw ''
1609 Nextcloud v29 has been removed from `nixpkgs` as the support for is dropped
1610 by upstream in 2025-04. Please upgrade to at least Nextcloud v30 by declaring
···2462 xflux = throw "'xflux' has been removed as it was unmaintained"; # Added 2025-08-22
2463 xineLib = throw "'xineLib' has been renamed to/replaced by 'xine-lib'"; # Converted to throw 2024-10-17
2464 xineUI = throw "'xineUI' has been renamed to/replaced by 'xine-ui'"; # Converted to throw 2024-10-17
02465 xlsxgrep = throw "'xlsxgrep' has been dropped due to lack of maintenance."; # Added 2024-11-01
2466 xmlada = gnatPackages.xmlada; # Added 2024-02-25
2467 xmlroff = throw "'xmlroff' has been removed as it is unmaintained and broken"; # Added 2025-05-18
···504 bash_5 = throw "'bash_5' has been renamed to/replaced by 'bash'"; # Converted to throw 2024-10-17
505 bareboxTools = throw "bareboxTools has been removed due to lack of interest in maintaining it in nixpkgs"; # Added 2025-04-19
506 bazel_5 = throw "bazel_5 has been removed as it is EOL"; # Added 2025-08-09
507+ bazel_6 = throw "bazel_6 has been removed as it will be EOL by the release of Nixpkgs 25.11"; # Added 2025-08-19
508 BeatSaberModManager = beatsabermodmanager; # Added 2024-06-12
509 beam_nox = throw "beam_nox has been removed in favor of beam_minimal or beamMinimalPackages"; # Added 2025-04-01
510 beatsabermodmanager = throw "'beatsabermodmanager' has been removed due to lack of upstream maintainenance. Consider using 'bs-manager' instead"; # Added 2025-03-18
···725 daytona-bin = throw "'daytona-bin' has been removed, as it was unmaintained in nixpkgs"; # Added 2025-07-21
726 dbeaver = throw "'dbeaver' has been renamed to/replaced by 'dbeaver-bin'"; # Added 2024-05-16
727 dbench = throw "'dbench' has been removed as it is unmaintained for 14 years and broken"; # Added 2025-05-17
728+ dbus-map = throw "'dbus-map' has been dropped as it is unmaintained"; # Added 2024-11-01
729+ dbus-sharp-1_0 = throw "'dbus-sharp-1_0' has been removed as it was unmaintained and had no dependents"; # Added 2025-08-25
730+ dbus-sharp-2_0 = throw "'dbus-sharp-2_0' has been removed as it was unmaintained and had no dependents"; # Added 2025-08-25
731+ dbus-sharp-glib-1_0 = throw "'dbus-sharp-glib-1_0' has been removed as it was unmaintained and had no dependents"; # Added 2025-08-25
732+ dbus-sharp-glib-2_0 = throw "'dbus-sharp-glib-2_0' has been removed as it was unmaintained and had no dependents"; # Added 2025-08-25
733 dclib = throw "'dclib' has been removed as it is unmaintained for 16 years and broken"; # Added 2025-05-25
0734 deadpixi-sam = deadpixi-sam-unstable;
735736 debugedit-unstable = throw "'debugedit-unstable' has been renamed to/replaced by 'debugedit'"; # Converted to throw 2024-10-17
···1610 netbox_3_7 = throw "netbox 3.7 series has been removed as it was EOL"; # Added 2025-04-23
1611 nettools = net-tools; # Added 2025-06-11
1612 newt-go = fosrl-newt; # Added 2025-06-24
1613+ notify-sharp = throw "'notify-sharp' has been removed as it was unmaintained and depends on deprecated dbus-sharp versions"; # Added 2025-08-25
1614 nextcloud29 = throw ''
1615 Nextcloud v29 has been removed from `nixpkgs` as the support for is dropped
1616 by upstream in 2025-04. Please upgrade to at least Nextcloud v30 by declaring
···2468 xflux = throw "'xflux' has been removed as it was unmaintained"; # Added 2025-08-22
2469 xineLib = throw "'xineLib' has been renamed to/replaced by 'xine-lib'"; # Converted to throw 2024-10-17
2470 xineUI = throw "'xineUI' has been renamed to/replaced by 'xine-ui'"; # Converted to throw 2024-10-17
2471+ xjump = throw "'xjump' has been removed as it is unmaintained"; # Added 2025-08-22
2472 xlsxgrep = throw "'xlsxgrep' has been dropped due to lack of maintenance."; # Added 2024-11-01
2473 xmlada = gnatPackages.xmlada; # Added 2024-02-25
2474 xmlroff = throw "'xmlroff' has been removed as it is unmaintained and broken"; # Added 2025-05-18