From 687ff41fb0e239c6bccfaf5b1121c64319796424 Mon Sep 17 00:00:00 2001 From: Xandor Schiefer Date: Wed, 4 Oct 2023 00:32:17 +0200 Subject: [PATCH] fix: use `nix-build` instead of `nix build` `nix build` is a new "Nix command" that is technically still experimental. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cf2054..dafad3f 100644 --- a/README.md +++ b/README.md @@ -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'