7104e93859
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
16 lines
318 B
Nix
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
|
|
'';
|
|
}
|