* Fixed the mount-cifs source URL (copied from the stdenv-branch).

svn path=/nixpkgs/trunk/; revision=14958
This commit is contained in:
Eelco Dolstra 2009-04-09 08:12:16 +00:00
parent 645279d544
commit 4962864417
2 changed files with 5 additions and 9 deletions

View file

@ -13,14 +13,11 @@ rec {
rootModules = ["cifs" "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "nls_utf8"];
};
# !!! should use the mount_cifs package in all-packages.nix here.
mountCifs = (makeStaticBinaries stdenv).mkDerivation {
name = "mount.cifs";
src = fetchurl {
name = "mount.cifs.c";
url = "http://websvn.samba.org/cgi-bin/viewcvs.cgi/*checkout*/branches/SAMBA_3_0/source/client/mount.cifs.c?rev=6103";
sha256 = "19205gd3pv8g519hlbjaw559wqgf0h2vkln9xgqaqip2h446qarp";
};
src = mount_cifs.src;
buildInputs = [nukeReferences];
buildCommand = ''
ensureDir $out/bin

View file

@ -4,9 +4,8 @@ stdenv.mkDerivation {
name = "mount.cifs";
src = fetchurl {
name = "mount.cifs.c";
url = "http://websvn.samba.org/cgi-bin/viewcvs.cgi/*checkout*/branches/SAMBA_3_0/source/client/mount.cifs.c?rev=6103";
sha256 = "19205gd3pv8g519hlbjaw559wqgf0h2vkln9xgqaqip2h446qarp";
url = http://nixos.org/tarballs/mount_cifs-20090330.c;
sha256 = "1d9v3qzic3d12vna8g7d1zsl1piwm20f6xhck319rbfkrdg0smnl";
};
buildCommand = ''