1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-12-22 08:28:55 +00:00

fix: use nix-build instead of nix build

`nix build` is a new "Nix command" that is technically still experimental.
This commit is contained in:
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

View File

@ -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'