git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #25740 from georgewhewell/dosfstools/fix-darwin

dosfstools: fix build on darwin

commitd8fd62d3dd659928d979dec2d4ce17601cc51b4b authorDaiderd Jordan <daiderd@gmail.com> dateSat 13 May 2017, 13:07 (10 years ago) parent9237fdd867e7f4
1 file changed+4−3
pkgs/tools/filesystems/dosfstools/default.nix+4−3
pkgs/tools/filesystems/dosfstools/default.nix+4−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
22
33stdenv.mkDerivation rec {
44 name = "dosfstools-${version}";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
1111 sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1";
1212 };
1313
14− nativeBuildInputs = [ autoreconfHook pkgconfig ];
14+ nativeBuildInputs = [ autoreconfHook pkgconfig ]
15+ ++ stdenv.lib.optional stdenv.isDarwin libiconv;
1516
1617 configureFlags = [ "--enable-compat-symlinks" ];
1718
@@ -19,6 +20,6 @@ stdenv.mkDerivation rec {
1920 description = "Utilities for creating and checking FAT and VFAT file systems";
2021 repositories.git = git://daniel-baumann.ch/git/software/dosfstools.git;
2122 homepage = http://www.daniel-baumann.ch/software/dosfstools/;
22− platforms = stdenv.lib.platforms.linux;
23+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
2324 };
2425}