From c7bb47aac18f30a4f1780089f189f47a65e283c4 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Tue, 10 Sep 2024 15:31:48 -0400 Subject: [PATCH] makeInitrdNG: fixup `contents` documentation --- pkgs/build-support/kernel/make-initrd-ng.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/kernel/make-initrd-ng.nix b/pkgs/build-support/kernel/make-initrd-ng.nix index c70e9cc6dc2e..b0b0143c5ca9 100644 --- a/pkgs/build-support/kernel/make-initrd-ng.nix +++ b/pkgs/build-support/kernel/make-initrd-ng.nix @@ -37,9 +37,9 @@ in , extension ? _compressorMeta.extension or (throw "Unrecognised compressor ${_compressorName}, please specify filename extension") -# List of { object = path_or_derivation; symlink = "/path"; } +# List of { source = path_or_derivation; target = "/path"; } # The paths are copied into the initramfs in their nix store path -# form, then linked at the root according to `symlink`. +# form, then linked at the root according to `target`. , contents # List of uncompressed cpio files to prepend to the initramfs. This