summary refs log tree commit diff
path: root/pkgs/tools/filesystems/dosfstools
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-05-10 07:34:28 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-05-10 08:00:16 +0300
commit346482c8d586de299ff8f457d69653917a4d62e2 (patch)
treea1a0cc1a2fe577e5b4eb9848ec3d0dca76f08ebb /pkgs/tools/filesystems/dosfstools
parent49de0c32bdeabf46f53e446811966ee9bd09aaf1 (diff)
dosfstools: Enable compat symlinks
Create these symlinks, since NixOS (and other users) can still be using
the old names:
    dosfsck -> fsck.fat
    dosfslabel -> fatlabel
    fsck.msdos -> fsck.fat
    fsck.vfat -> fsck.fat
    mkdosfs -> mkfs.fat
    mkfs.msdos -> mkfs.fat
    mkfs.vfat -> mkfs.fat

While at it, kill the makeFlags which seems unnecessary as it seems
to use a standard Autotools build (maybe this is a new thing).
Diffstat (limited to 'pkgs/tools/filesystems/dosfstools')
-rw-r--r--pkgs/tools/filesystems/dosfstools/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix
index 5544157ecf372..c2691491ba3e4 100644
--- a/pkgs/tools/filesystems/dosfstools/default.nix
+++ b/pkgs/tools/filesystems/dosfstools/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     url = "https://github.com/dosfstools/dosfstools/releases/download/v${version}/${name}.tar.xz";
   };
 
-  makeFlags = "PREFIX=$(out)";
+  configureFlags = [ "--enable-compat-symlinks" ];
 
   meta = with stdenv.lib; {
     description = "Utilities for creating and checking FAT and VFAT file systems";