ookla-speedtest: fix syntax error when evaling on unsupported platforms
This commit is contained in:
parent
e95cf601a3
commit
eef64da3db
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ in
|
|||
stdenv.mkDerivation rec {
|
||||
inherit pname version;
|
||||
|
||||
src = srcs.${stdenv.hostPlatform.system};
|
||||
src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$PWD
|
||||
|
|
Loading…
Reference in a new issue