summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorAristid Breitkreuz <aristidb@gmail.com>2015-03-28 23:59:01 +0000
committerAristid Breitkreuz <aristidb@gmail.com>2015-03-28 23:59:19 +0000
commit1901f3fe77d24c0eef00f73f73c176fae3bcb44e (patch)
tree524d5eeaf4923554f622931b4918a62b5b2323d6 /nixos/modules/system
parent273d31fff4135fa232daff0230b786b4548faafb (diff)
downloadnixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.tar
nixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.tar.gz
nixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.tar.bz2
nixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.tar.lz
nixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.tar.xz
nixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.tar.zst
nixlib-1901f3fe77d24c0eef00f73f73c176fae3bcb44e.zip
fix initrd now that cryptsetup switched to libgcrypt 1.6
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/luksroot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index e1e472186e37..da5bb8fe0661 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