nix: Pass target-os to Nix script

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Pedro Pombeiro 2019-08-20 08:38:15 +02:00
parent b0db4c6354
commit f0c3958367
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ inputs2nix=$(realpath --relative-to="${current_dir}" "${GIT_ROOT}/nix/tools/mave
echo "Regenerating Nix files, this process should take about 90 minutes" echo "Regenerating Nix files, this process should take about 90 minutes"
nix-shell --run "set -Eeuo pipefail; LC_ALL=C ${current_dir}/fetch-maven-deps.sh | sort -u -o ${inputs_file_path}" \ nix-shell --run "set -Eeuo pipefail; LC_ALL=C ${current_dir}/fetch-maven-deps.sh | sort -u -o ${inputs_file_path}" \
--pure -A targets.mobile.android.generate-maven-and-npm-deps-shell --show-trace "${GIT_ROOT}/default.nix" --pure -A targets.mobile.android.generate-maven-and-npm-deps-shell --argstr target-os android --show-trace "${GIT_ROOT}/default.nix"
pushd ${current_dir} pushd ${current_dir}
${inputs2nix} ${inputs_file_path} > ${output_nix_file_path} ${inputs2nix} ${inputs_file_path} > ${output_nix_file_path}