mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
fix missing throwSystem on src
This commit is contained in:
parent
d5b4effe82
commit
38aec67f6a
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user