nixpkgs/pkgs/os-specific/linux/mount-cifs/default.nix
Eelco Dolstra 7104e93859 * mount-cifs.c: make it compile on GCC 4.3. The new source is just
the old one (which has disappeared along with Samba's SVN repo) with
  a #include <limits.h> applied.  The latest source from Samba's Git
  repo doesn't easily compile.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14783
2009-03-30 14:32:53 +00:00

16 lines
318 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "mount.cifs";
src = fetchurl {
url = http://nixos.org/tarballs/mount_cifs-20090330.c;
sha256 = "1d9v3qzic3d12vna8g7d1zsl1piwm20f6xhck319rbfkrdg0smnl";
};
buildCommand = ''
ensureDir $out/sbin
gcc -Wall $src -o $out/sbin/mount.cifs
'';
}