appgate-sdp: fix substitution bug

This commit is contained in:
Yurii Matsiuk 2021-02-21 16:19:02 +01:00
parent aed173ff97
commit 8c2ed193e8
No known key found for this signature in database
GPG Key ID: 61302290298601AA

View File

@ -133,7 +133,7 @@ stdenv.mkDerivation rec {
--replace "/bin/sh" "${bash}/bin/sh" \ --replace "/bin/sh" "${bash}/bin/sh" \
--replace "cat" "${coreutils}/bin/cat" \ --replace "cat" "${coreutils}/bin/cat" \
--replace "chattr" "${e2fsprogs}/bin/chattr" \ --replace "chattr" "${e2fsprogs}/bin/chattr" \
--replace "mv" "${coreutils}/bin/mv" \ --replace "mv " "${coreutils}/bin/mv " \
--replace "pkill" "${procps}/bin/pkill" --replace "pkill" "${procps}/bin/pkill"
done done
@ -145,7 +145,7 @@ stdenv.mkDerivation rec {
--replace "/bin/sh" "${bash}/bin/sh" \ --replace "/bin/sh" "${bash}/bin/sh" \
--replace "/opt/" "$out/opt/" \ --replace "/opt/" "$out/opt/" \
--replace "chattr" "${e2fsprogs}/bin/chattr" \ --replace "chattr" "${e2fsprogs}/bin/chattr" \
--replace "mv" "${coreutils}/bin/mv" --replace "mv " "${coreutils}/bin/mv "
done done
substituteInPlace $out/lib/systemd/system/appgatedriver.service \ substituteInPlace $out/lib/systemd/system/appgatedriver.service \
@ -174,7 +174,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
description = "Appgate SDP (Software Defined Perimeter) desktop client"; description = "Appgate SDP (Software Defined Perimeter) desktop client";
homepage = https://www.appgate.com/support/software-defined-perimeter-support; homepage = "https://www.appgate.com/support/software-defined-perimeter-support";
license = licenses.unfree; license = licenses.unfree;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ ymatsiuk ]; maintainers = with maintainers; [ ymatsiuk ];