mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
nixos-rebuild: fix --file with --build-host (#351667)
This commit is contained in:
commit
5c65b89442
@ -307,6 +307,10 @@ nixBuild() {
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ -z $buildingAttribute ]]; then
|
||||
instArgs+=("$buildFile")
|
||||
fi
|
||||
|
||||
drv="$(runCmd nix-instantiate "${instArgs[@]}" "${extraBuildFlags[@]}")"
|
||||
if [ -a "$drv" ]; then
|
||||
logVerbose "Running nix-copy-closure with these NIX_SSHOPTS: $SSHOPTS"
|
||||
|
Loading…
Reference in New Issue
Block a user