1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/os-specific/linux/mount-cifs/default.nix
Eelco Dolstra 4962864417 * Fixed the mount-cifs source URL (copied from the stdenv-branch).
svn path=/nixpkgs/trunk/; revision=14958
2009-04-09 08:12:16 +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
'';
}