iosevka: update location of parameters.toml

Since version 3.1.0, it has been moved to `params/parameters.toml`. Note
that an alternative to appending would be to use
`params/private-parameters.toml` but in our case, I don't think it
matters much as we don't keep the build directory.
This commit is contained in:
Vincent Bernat 2020-11-25 10:12:05 +01:00
parent ae61f8ac4d
commit 3725f9ed9b

View File

@ -65,8 +65,8 @@ stdenv.mkDerivation rec {
remarshal -i "$privateBuildPlanJSONPath" -o private-build-plans.toml -if json -of toml
''}
${lib.optionalString (extraParameters != null) ''
echo -e "\n" >> parameters.toml
cat "$extraParametersPath" >> parameters.toml
echo -e "\n" >> params/parameters.toml
cat "$extraParametersPath" >> params/parameters.toml
''}
ln -s ${nodeIosevka}/lib/node_modules/iosevka/node_modules .
runHook postConfigure