-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
setup-hooks/strip: print strip stderr if command fails #244400
Conversation
This is easiest to do through a file. mktemp needs six X because busybox only accepts exactly six X.
Looks like this broke macos
|
Maybe this will work diff --git a/pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix b/pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix
index 266c2ef4dfef..b490b6f2195b 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix
@@ -63,6 +63,7 @@ appleDerivation' (if headersOnly then stdenvNoCC else stdenv) (
MIG = "mig";
MIGCOM = "migcom";
STRIP = "${stdenv.cc.bintools.targetPrefix or ""}strip";
+ RANLIB = "${stdenv.cc.bintools.targetPrefix or ""}ranlib";
NM = "${stdenv.cc.bintools.targetPrefix or ""}nm";
UNIFDEF = "unifdef";
DSYMUTIL = "dsymutil"; ranlib is copied nixpkgs/pkgs/stdenv/darwin/make-bootstrap-tools.nix Lines 128 to 130 in 4214c79
|
Seems to work! The |
@vcunat noticed seemingly related failures on The failures is:
As if something removed |
The shell-init errors are there on master Maybe this line causes it
Building |
This invocation if I noticed because one package did |
I suppose a worse case is if come package does |
this is easiest to do through a file
mktemp needs six X because busybox only accepts exactly six X #178626
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)