diff --git a/pkgs/os-specific/linux/mount-cifs/default.nix b/pkgs/os-specific/linux/mount-cifs/default.nix new file mode 100644 index 000000000000..d8c901b77f4b --- /dev/null +++ b/pkgs/os-specific/linux/mount-cifs/default.nix @@ -0,0 +1,16 @@ +{stdenv, fetchurl}: + +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"; + }; + + buildCommand = '' + ensureDir $out/sbin + gcc -Wall $src -o $out/sbin/mount.cifs + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7458b44e4e2b..48a486d01ef5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5304,6 +5304,10 @@ let pkgs = rec { inherit fetchurl stdenv; }; + mount_cifs = import ../os-specific/linux/mount-cifs { + inherit fetchurl stdenv; + }; + aggregateModules = modules: import ../os-specific/linux/module-init-tools/aggregator.nix { inherit stdenv module_init_tools modules;