Unverified Commit 3198fcef authored by Artturin's avatar Artturin Committed by GitHub
Browse files

{ovn,evolution}: Fix command not found (#465591)

parents 06f4ba94 d4c5ec6f
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@
  p11-kit,
  openldap,
  spamassassin,
  gnutar,
  gzip,
  xz,
}:

stdenv.mkDerivation rec {
@@ -116,6 +119,18 @@ stdenv.mkDerivation rec {
    "-DWITH_OPENLDAP=${openldap}"
  ];

  preFixup = ''
    gappsWrapperArgs+=(
      --prefix PATH : "${
        lib.makeBinPath [
          gnutar
          gzip
          xz
        ]
      }"
    )
  '';

  requiredSystemFeatures = [
    "big-parallel"
  ];
+13 −1
Original line number Diff line number Diff line
@@ -15,6 +15,10 @@
  unbound,
  xdp-tools,
  openvswitch,
  gawk,
  coreutils,
  gnugrep,
  gnused,
  makeWrapper,
}:
let
@@ -117,7 +121,15 @@ stdenv.mkDerivation (finalAttrs: {
    ln -s ${openvswitch}/share/openvswitch/scripts/ovs-lib $out/share/openvswitch/scripts/ovs-lib

    wrapProgram $out/share/ovn/scripts/ovn-ctl \
      --prefix PATH : ${lib.makeBinPath [ openvswitch ]}
      --prefix PATH : ${
        lib.makeBinPath [
          openvswitch
          gawk
          coreutils # tr
          gnugrep
          gnused
        ]
      }
  '';

  env = {