ombi: remove env-vars from output
This commit is contained in:
parent
10a6fe9487
commit
8bf098259e
@ -35,13 +35,20 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "ombi";
|
pname = "ombi";
|
||||||
version = "4.47.1";
|
version = "4.47.1";
|
||||||
|
|
||||||
sourceRoot = ".";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Ombi-app/Ombi/releases/download/v${version}/${os}-${arch}.tar.gz";
|
url = "https://github.com/Ombi-app/Ombi/releases/download/v${version}/${os}-${arch}.tar.gz";
|
||||||
sha256 = hash;
|
sha256 = hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sourceRoot = "source";
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
runHook preUnpack
|
||||||
|
mkdir -p "$sourceRoot"
|
||||||
|
tar xf $src --directory="$sourceRoot"
|
||||||
|
runHook postUnpack
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ makeWrapper ]
|
[ makeWrapper ]
|
||||||
++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook
|
++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user