diff options
author | William A. Kennington III <william@wkennington.com> | 2015-03-28 17:15:41 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-03-28 18:37:29 -0700 |
commit | 4868649f037c4fe80034f281212b8ccd2d0ac148 (patch) | |
tree | bd56e8aef16495981a03e8c41e300d0ee03bed02 /nixos/modules/virtualisation/qemu-vm.nix | |
parent | b1e854d660b03cc3f7f25dce44e673b9e5bcaf32 (diff) | |
download | nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.tar nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.tar.gz nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.tar.bz2 nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.tar.lz nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.tar.xz nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.tar.zst nixlib-4868649f037c4fe80034f281212b8ccd2d0ac148.zip |
nixos/initrd: Generic library copying
Diffstat (limited to 'nixos/modules/virtualisation/qemu-vm.nix')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index a5a133dfa5dc..8c7e840910de 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -346,7 +346,7 @@ in boot.initrd.extraUtilsCommands = '' # We need mke2fs in the initrd. - cp -vf --remove-destination ${pkgs.e2fsprogs}/sbin/mke2fs $out/bin + copy_bin_and_libs ${pkgs.e2fsprogs}/sbin/mke2fs ''; boot.initrd.postDeviceCommands = |