fix: use `nix-build` instead of `nix build`

`nix build` is a new "Nix command" that is technically still experimental.
pull/396/head
Xandor Schiefer 2023-10-04 00:32:17 +02:00
parent 6c422ee16f
commit 687ff41fb0
No known key found for this signature in database
GPG Key ID: B4A5F0674557AA6C
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ in {
Build the installer and copy it to a USB drive. Build the installer and copy it to a USB drive.
```console ```console
$ nix build -f yubikey-installer.nix -o installer nixos-yubikey $ nix-build yubikey-installer.nix --out-link installer --attr nixos-yubikey
$ sudo cp -v installer/iso/*.iso /dev/sdb; sync $ sudo cp -v installer/iso/*.iso /dev/sdb; sync
'installer/iso/nixos-yubikey-22.05beta-248980.gfedcba-x86_64-linux.iso' -> '/dev/sdb' 'installer/iso/nixos-yubikey-22.05beta-248980.gfedcba-x86_64-linux.iso' -> '/dev/sdb'