Fix telme10 overlay
This commit is contained in:
parent
5640331aef
commit
5926f0aca6
|
@ -4,18 +4,25 @@
|
|||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "telmet10";
|
||||
pname = "telme10";
|
||||
version = "unstable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c3d2";
|
||||
repo = "telmet10";
|
||||
repo = "telme10";
|
||||
rev = "5962266909bada6993a500ecce8707ec486d4cc0";
|
||||
sha256 = "";
|
||||
sha256 = "sha256-i6jKT2on8s9z5bLhCC4nYoLbngcbfTJykMW9JGc0/dY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace telme10.service \
|
||||
--replace "/usr/local/bin/telme10" "${placeholder "out"}/bin/telme10 [::]:23"
|
||||
'';
|
||||
|
||||
vendorSha256 = "sha256-SzYAXvWE2qt7aPX99AhgTQe7tmGuaBuOUZNNg7+CvCQ=";
|
||||
|
||||
postInstall = ''
|
||||
install -t $out/etc/systemd/system telme10.service
|
||||
install -t $out/etc/systemd/system telme10.socket
|
||||
install -Dt $out/etc/systemd/system telme10.service
|
||||
install -Dt $out/etc/systemd/system telme10.socket
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue