Commit f2fcde71 authored by Florian Klink's avatar Florian Klink
Browse files

easylpac: lookup lpac in $PATH on darwin, too

parent 38edd9a3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -31,6 +31,12 @@ buildGoModule rec {

  vendorHash = "sha256-52I8hlnoHPhygwr0dxDP50X2A7Gsh0v/0SGQFH3FG/8=";

  # also include $PATH lookup logic for `lpac` in the darwin case.
  postPatch = ''
    substituteInPlace config.go --replace-fail \
      'case "linux":' 'case "linux", "darwin":'
  '';

  nativeBuildInputs = [
    copyDesktopItems
    pkg-config