summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-04-20 22:06:17 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-04-21 09:02:40 +0200
commite81e2785c7687aac2415d9bdf2d1216b83401942 (patch)
treeae14acee6825e3eaf1dfd97645d11c52bcf12d84 /nixos/modules/tasks
parent9a0485f0b051988a1937bff5a9eb39a6fe845f55 (diff)
downloadnixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.tar
nixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.tar.gz
nixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.tar.bz2
nixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.tar.lz
nixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.tar.xz
nixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.tar.zst
nixlib-e81e2785c7687aac2415d9bdf2d1216b83401942.zip
xfsprogs: fix outputs and references
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/filesystems/xfs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/tasks/filesystems/xfs.nix b/nixos/modules/tasks/filesystems/xfs.nix
index d7c3930f4a3c..c6a90bcf1a51 100644
--- a/nixos/modules/tasks/filesystems/xfs.nix
+++ b/nixos/modules/tasks/filesystems/xfs.nix
@@ -11,13 +11,13 @@ in
 {
   config = mkIf (any (fs: fs == "xfs") config.boot.supportedFilesystems) {
 
-    system.fsPackages = [ pkgs.xfsprogs ];
+    system.fsPackages = [ pkgs.xfsprogs.bin ];
 
     boot.initrd.availableKernelModules = mkIf inInitrd [ "xfs" "crc32c" ];
 
     boot.initrd.extraUtilsCommands = mkIf inInitrd
       ''
-        copy_bin_and_libs ${pkgs.xfsprogs}/sbin/fsck.xfs
+        copy_bin_and_libs ${pkgs.xfsprogs.bin}/bin/fsck.xfs
       '';
 
     # Trick just to set 'sh' after the extraUtils nuke-refs.