i2p: Add i686-linux platform
This commit is contained in:
parent
dda6daa4ff
commit
800139b7fe
@ -16,7 +16,19 @@ stdenv.mkDerivation rec {
|
|||||||
set -B
|
set -B
|
||||||
mkdir -p $out/{bin,share}
|
mkdir -p $out/{bin,share}
|
||||||
cp -r pkg-temp/* $out
|
cp -r pkg-temp/* $out
|
||||||
|
'' +
|
||||||
|
|
||||||
|
# TODO: Compile wrapper ourselves, see https://geti2p.net/en/misc/manual-wrapper
|
||||||
|
(if stdenv.system == "i686-linux"
|
||||||
|
then ''
|
||||||
|
cp installer/lib/wrapper/linux/* $out
|
||||||
|
'' else ''
|
||||||
cp installer/lib/wrapper/linux64/* $out
|
cp installer/lib/wrapper/linux64/* $out
|
||||||
|
'')
|
||||||
|
|
||||||
|
# */ # comment end for vim
|
||||||
|
|
||||||
|
+ ''
|
||||||
sed -i $out/i2prouter -i $out/runplain.sh \
|
sed -i $out/i2prouter -i $out/runplain.sh \
|
||||||
-e "s#uname#${coreutils}/bin/uname#" \
|
-e "s#uname#${coreutils}/bin/uname#" \
|
||||||
-e "s#which#${which}/bin/which#" \
|
-e "s#which#${which}/bin/which#" \
|
||||||
@ -39,6 +51,6 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ maintainers.joelmo ];
|
maintainers = [ maintainers.joelmo ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
# TODO: support other systems, just copy appropriate lib/wrapper.. to $out
|
# TODO: support other systems, just copy appropriate lib/wrapper.. to $out
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user