nix-binary-cache: take into account Nix split (mulitple-outputs)

This commit is contained in:
Michael Raskin 2016-04-22 00:54:31 +02:00
parent 38ee37f61c
commit e59151f3ef

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
--replace @shell@ "${stdenv.shell}" \ --replace @shell@ "${stdenv.shell}" \
--replace @coreutils@ "${coreutils}/bin" \ --replace @coreutils@ "${coreutils}/bin" \
--replace @findutils@ "${findutils}/bin" \ --replace @findutils@ "${findutils}/bin" \
--replace @nix@ "${nix}/bin" \ --replace @nix@ "${nix.out}/bin" \
--replace @xz@ "${xz.bin}/bin" \ --replace @xz@ "${xz.bin}/bin" \
--replace @bzip2@ "${bzip2.bin}/bin" \ --replace @bzip2@ "${bzip2.bin}/bin" \
--replace @gnused@ "${gnused}/bin" \ --replace @gnused@ "${gnused}/bin" \
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
--replace @shell@ "${stdenv.shell}" \ --replace @shell@ "${stdenv.shell}" \
--replace @coreutils@ "${coreutils}/bin" \ --replace @coreutils@ "${coreutils}/bin" \
--replace @findutils@ "${findutils}/bin" \ --replace @findutils@ "${findutils}/bin" \
--replace @nix@ "${nix}/bin" \ --replace @nix@ "${nix.out}/bin" \
--replace @xz@ "${xz.bin}/bin" \ --replace @xz@ "${xz.bin}/bin" \
--replace @bzip2@ "${bzip2.bin}/bin" \ --replace @bzip2@ "${bzip2.bin}/bin" \
--replace @gnused@ "${gnused}/bin" \ --replace @gnused@ "${gnused}/bin" \