mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
ookla-speedtest: fix syntax error when evaling on unsupported platforms
This commit is contained in:
parent
e95cf601a3
commit
eef64da3db
@ -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 New Issue
Block a user