fix missing throwSystem on src

This commit is contained in:
Matt Whiteley 2022-04-26 08:38:13 -07:00
parent d5b4effe82
commit 38aec67f6a

View File

@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
pname = "zoom";
inherit version;
src = srcs.${stdenv.hostPlatform.system};
src = srcs.${system} or throwSystem;
dontUnpack = stdenv.isLinux;
unpackPhase = lib.optionalString stdenv.isDarwin ''
@ -120,7 +120,7 @@ stdenv.mkDerivation rec {
tar -C $out -xf $src
mv $out/usr/* $out/
'';
}.${stdenv.system} or throwSystem}
}.${system} or throwSystem}
runHook postInstall
'';