ombi: remove env-vars from output

This commit is contained in:
Peder Bergebakken Sundt 2025-04-10 19:38:38 +02:00
parent 10a6fe9487
commit 8bf098259e

View File

@ -35,13 +35,20 @@ stdenv.mkDerivation rec {
pname = "ombi";
version = "4.47.1";
sourceRoot = ".";
src = fetchurl {
url = "https://github.com/Ombi-app/Ombi/releases/download/v${version}/${os}-${arch}.tar.gz";
sha256 = hash;
};
sourceRoot = "source";
unpackPhase = ''
runHook preUnpack
mkdir -p "$sourceRoot"
tar xf $src --directory="$sourceRoot"
runHook postUnpack
'';
nativeBuildInputs =
[ makeWrapper ]
++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook