-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
shadow: add runtime-shell.patch for cross-compilation #87437
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except perhaps using runtimeShell
. I haven't done runtime testing yet but hopefully will soon.
I marked this as stale due to inactivity. → More info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is definitely still important. I used an older version of this patch on a cross-compiled Raspberry Pi image and everything seemed to work, although I didn't test shadow specifically.
@@ -1,6 +1,7 @@ | |||
{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook, libxslt, libxml2 | |||
, docbook_xml_dtd_45, docbook_xsl, itstool, flex, bison | |||
, pam ? null, glibcCross ? null | |||
, bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be changed to runtimeShell
to make this evaluate.
0a6391f
to
7381670
Compare
49d6de9
to
e4f3e31
Compare
This gets the right shell in the closure. By default, shadow wants to pull in the bash we are building it with, while we would prefer it used the runtime bash.
e4f3e31
to
c30317f
Compare
This gets the right shell in the closure.
By default, shadow wants to pull in the bash we are building it with,
while we would prefer it used the runtime bash.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)