forked from mirrors/nixpkgs
treewide: Mass replace 'xz}/bin' to refer the 'bin' output
This commit is contained in:
parent
5dfcafb205
commit
e97e690244
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
postPatch = ''
|
||||
sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \
|
||||
-e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \
|
||||
-e 's|"xz"|"${xz}/bin/xz"|' \
|
||||
-e 's|"xz"|"${xz.bin}/bin/xz"|' \
|
||||
-i ui-snapshot.c
|
||||
'';
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
install -Dm755 ./bundles/${version}/dynbinary/docker-${version} $out/libexec/docker/docker
|
||||
install -Dm755 ./bundles/${version}/dynbinary/dockerinit-${version} $out/libexec/docker/dockerinit
|
||||
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
||||
--prefix PATH : "${iproute}/sbin:sbin:${iptables}/sbin:${e2fsprogs}/sbin:${xz}/bin:${utillinux}/bin:${optionalString enableLxc "${lxc}/bin"}"
|
||||
--prefix PATH : "${iproute}/sbin:sbin:${iptables}/sbin:${e2fsprogs}/sbin:${xz.bin}/bin:${utillinux}/bin:${optionalString enableLxc "${lxc}/bin"}"
|
||||
|
||||
# systemd
|
||||
install -Dm644 ./contrib/init/systemd/docker.service $out/etc/systemd/system/docker.service
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
--replace @coreutils@ "${coreutils}/bin" \
|
||||
--replace @findutils@ "${findutils}/bin" \
|
||||
--replace @nix@ "${nix}/bin" \
|
||||
--replace @xz@ "${xz}/bin" \
|
||||
--replace @xz@ "${xz.bin}/bin" \
|
||||
--replace @bzip2@ "${bzip2.bin}/bin" \
|
||||
--replace @gnused@ "${gnused}/bin" \
|
||||
--replace @gnugrep@ "${gnugrep}/bin" \
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
--replace @coreutils@ "${coreutils}/bin" \
|
||||
--replace @findutils@ "${findutils}/bin" \
|
||||
--replace @nix@ "${nix}/bin" \
|
||||
--replace @xz@ "${xz}/bin" \
|
||||
--replace @xz@ "${xz.bin}/bin" \
|
||||
--replace @bzip2@ "${bzip2.bin}/bin" \
|
||||
--replace @gnused@ "${gnused}/bin" \
|
||||
--replace @gnugrep@ "${gnugrep}/bin" \
|
||||
|
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
|||
gcc -o pxz pxz.c -llzma \
|
||||
-fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 \
|
||||
-DPXZ_BUILD_DATE=\"nixpkgs\" \
|
||||
-DXZ_BINARY=\"${xz}/bin/xz\" \
|
||||
-DXZ_BINARY=\"${xz.bin}/bin/xz\" \
|
||||
-DPXZ_VERSION=\"${version}\"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue