Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to supply their bootstrapFiles set of tools #272750

Closed
trofi opened this issue Dec 7, 2023 · 2 comments · Fixed by #317119
Closed

Allow user to supply their bootstrapFiles set of tools #272750

trofi opened this issue Dec 7, 2023 · 2 comments · Fixed by #317119
Labels
0.kind: bug Something is broken

Comments

@trofi
Copy link
Contributor

trofi commented Dec 7, 2023

Describe the bug

Today nixpkgs provides an outdated set of bootstrapFiles: #253713

Specifically I keep hitting #253274 on any attempts to rebuild 32-bit packages.

Currently I am patching the pkgs/stdenv/linux/bootstrap-files/i686-unknown-linux-gnu.nix to provide the working tools built locally:

--- a/pkgs/stdenv/linux/bootstrap-files/i686-unknown-linux-gnu.nix
+++ b/pkgs/stdenv/linux/bootstrap-files/i686-unknown-linux-gnu.nix
@@ -1,12 +1,4 @@
 {
-  busybox = import <nix/fetchurl.nix> {
-    url = "http://tarballs.nixos.org/stdenv-linux/i686/4907fc9e8d0d82b28b3c56e3a478a288
2f1d700f/busybox";
-    sha256 = "ef4c1be6c7ae57e4f654efd90ae2d2e204d6769364c46469fa9ff3761195cba1";
-    executable = true;
-  };
-
-  bootstrapTools = import <nix/fetchurl.nix> {
-    url = "http://tarballs.nixos.org/stdenv-linux/i686/c5aabb0d603e2c1ea05f5a93b3be8243
7f5ebf31/bootstrap-tools.tar.xz";
-    sha256 = "b9bf20315f8c5c0411679c5326084420b522046057a0850367c67d9514794f1c";
-  };
+  busybox = ./i686-linux/busybox;
+  bootstrapTools = ./i686-linux/bootstrap-tools.tar.xz;
 }

I think it would be generally useful to be able to pass non-default tools for workaround purposes and testing purposes of new tools.


Add a 👍 reaction to issues you find important.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/overlay-for-bootstrap-files/46417/2

@wh0
Copy link
Contributor

wh0 commented Aug 24, 2024

people who want this, can you review #317119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants