* Command for mounting CIFS file systems.
svn path=/nixpkgs/trunk/; revision=12515
This commit is contained in:
parent
0a884b25f9
commit
decf974c94
2 changed files with 20 additions and 0 deletions
16
pkgs/os-specific/linux/mount-cifs/default.nix
Normal file
16
pkgs/os-specific/linux/mount-cifs/default.nix
Normal file
|
@ -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
|
||||
'';
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue