From 1901f3fe77d24c0eef00f73f73c176fae3bcb44e Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Sat, 28 Mar 2015 23:59:01 +0000 Subject: [PATCH] fix initrd now that cryptsetup switched to libgcrypt 1.6 --- nixos/modules/system/boot/luksroot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index e1e472186e3..da5bb8fe066 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -407,7 +407,7 @@ in boot.initrd.extraUtilsCommands = '' cp -pdv ${pkgs.cryptsetup}/sbin/cryptsetup $out/bin - cp -pdv ${pkgs.libgcrypt}/lib/libgcrypt*.so.* $out/lib + cp -pdv ${pkgs.libgcrypt_1_6}/lib/libgcrypt*.so.* $out/lib cp -pdv ${pkgs.libgpgerror}/lib/libgpg-error*.so.* $out/lib cp -pdv ${pkgs.cryptsetup}/lib/libcryptsetup*.so.* $out/lib cp -pdv ${pkgs.popt}/lib/libpopt*.so.* $out/lib