nixpkgs/pkgs/tools
Alyssa Ross 6e6c8b7338 s6-rc: fix cross builds that run s6-rc-compile
The reason for this change is explained in the long comment I added.

Here's a simple example of the problem:

	let
	  pkgs = import <nixpkgs> { crossSystem.system = "aarch64-linux"; };
	in

	pkgs.callPackage ({ stdenv, s6-rc }: stdenv.mkDerivation {
	  name = "s6-rc-compiled";

	  nativeBuildInputs = [ s6-rc ];

	  buildCommand = ''
	    mkdir in
	    s6-rc-compile $out in
	  '';
	}) {}

We're cross compiling for aarch64 here, so we'd expect the scripts
generated by this derivation to be things we could run on aarch64.
But when I build this on my x86_64 machine, without this change
applied, $out/servicedirs/s6rc-oneshot-runner/run gets generated full
of references to x86_64 non-cross store paths for execline, s6, and
s6-rc.

With this change applied, the scripts generated by the above
expression now refer to the cross-compiled aarch64 store paths for
execline, s6, and s6-rc.
2021-08-18 20:09:19 +00:00
..
admin Merge pull request #134395 from r-ryantm/auto-update/fioctl 2021-08-17 13:22:34 -07:00
archivers Merge pull request #133651 from Stunkymonkey/tools-pname-version 2021-08-16 22:25:32 +02:00
audio Merge pull request #133651 from Stunkymonkey/tools-pname-version 2021-08-16 22:25:32 +02:00
backup Merge pull request #134550 from r-ryantm/auto-update/s3ql 2021-08-17 17:38:38 -05:00
bluetooth tools: replace name with pname&version 2021-08-12 21:47:47 +02:00
bootloaders/refind
cd-dvd tools: replace name with pname&version 2021-08-12 21:47:47 +02:00
compression tools: replace name with pname&version 2021-08-12 21:47:47 +02:00
filesystems catcli: 0.6.2 -> 0.7.0 2021-08-17 01:58:54 +00:00
games joystickwake: 0.2.4 -> 0.2.5 2021-08-14 10:29:05 +00:00
graphics Merge pull request #134524 from r-ryantm/auto-update/resvg 2021-08-17 17:47:59 -05:00
inputmethods Merge pull request #133973 from Kranzes/auto-update/ibus-table 2021-08-14 19:47:04 +03:00
misc Merge pull request #134580 from r-ryantm/auto-update/smenu 2021-08-18 11:57:50 +02:00
networking Merge pull request #134102 from r-ryantm/auto-update/dnscrypt-proxy2 2021-08-17 18:07:17 -05:00
nix nixos-generators: 1.3.0 -> 1.4.0 2021-08-17 08:51:27 +02:00
package-management nfpm: 2.3.1 -> 2.6.0 2021-08-17 10:54:12 -07:00
security exploitdb: 2021-08-14 -> 2021-08-17 2021-08-17 12:33:17 +02:00
system s6-rc: fix cross builds that run s6-rc-compile 2021-08-18 20:09:19 +00:00
text hottext: 1.3 -> 1.4 2021-08-18 16:03:45 +02:00
toml2nix
typesetting lowdown: fix musl build 2021-08-16 03:36:59 -07:00
video atomicparsley: 20210617.200601.1ac7c08 -> 20210715.151551.e7ad03a 2021-08-10 03:48:29 +03:00
virtualization linode-cli: 5.5.2 -> 5.6.0 2021-08-13 22:25:17 -03:00
wayland wob: 0.11 -> 0.12 2021-08-14 10:02:09 +00:00
X11 Merge pull request #133981 from r-ryantm/auto-update/xosview2 2021-08-17 22:51:35 +03:00