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 7 months ago
parent 6c422ee16f
commit 687ff41fb0
No known key found for this signature in database
GPG Key ID: B4A5F0674557AA6C

@ -472,7 +472,7 @@ in {
Build the installer and copy it to a USB drive.
```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
'installer/iso/nixos-yubikey-22.05beta-248980.gfedcba-x86_64-linux.iso' -> '/dev/sdb'

Loading…
Cancel
Save