Unverified Commit f530ffbd authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #225302 from jollheef/master

out-of-tree: 2.0.4 > 2.1.1
parents 3825d37f 2a6198fc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchgit, qemu, docker, which, makeWrapper }:
{ lib, buildGoModule, fetchgit, qemu, podman, makeWrapper }:

buildGoModule rec {
  pname = "out-of-tree";
  version = "2.0.4";
  version = "2.1.1";

  nativeBuildInputs = [ makeWrapper ];

  src = fetchgit {
    rev = "refs/tags/v${version}";
    url = "https://code.dumpstack.io/tools/${pname}.git";
    sha256 = "sha256-D2LiSDnF7g1h0XTulctCnZ+I6FZSLA0XRd9LQLOMP9c=";
    sha256 = "sha256-XzO8NU7A5m631PjAm0F/K7qLrD+ZDSdHXaNowGaZAPo=";
  };

  vendorHash = "sha256-p1dqzng3ak9lrnzrEABhE1TP1lM2Ikc8bmvp5L3nUp0=";
@@ -18,7 +18,7 @@ buildGoModule rec {

  postFixup = ''
    wrapProgram $out/bin/out-of-tree \
      --prefix PATH : "${lib.makeBinPath [ qemu ]}"
      --prefix PATH : "${lib.makeBinPath [ qemu podman ]}"
  '';

  meta = with lib; {