[Nix-dev] Re: [Nix-commits] SVN commit: nix - r28415 - nixpkgs/trunk/pkgs/applications/virtualization/virtualbox/guest-additions

Marco Maggesi maggesi at math.unifi.it
Tue Aug 9 16:49:00 CEST 2011


Hi,

does any body tested virtualbox guest additions recently?
As far as I can tell it compiles but do not work.
(At least on OSX 1.6.8 host, following the wiki instructions).

Thanks,
Marco


On Aug 9, 2011, at 11:07 AM, David Guibert wrote:

> Author: guibert
> Date: Tue Aug  9 09:07:29 2011
> New Revision: 28415
> URL: https://svn.nixos.org/websvn/nix/?rev=28415&sc=1
> 
> Log:
> fix the compilation of virtualboxGuestaddition
> 
> Modified:
>   nixpkgs/trunk/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
> 
> Modified: nixpkgs/trunk/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
> ==============================================================================
> --- nixpkgs/trunk/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix	Tue Aug  9 08:17:39 2011	(r28414)
> +++ nixpkgs/trunk/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix	Tue Aug  9 09:07:29 2011	(r28415)
> @@ -45,8 +45,7 @@
>     for i in *
>     do
> 	cd $i
> -	sed -i -e "s/depmod/echo/g" Makefile
> -	sed -i -e "s/depmod/echo/g" */Makefile
> +	find . -type f | xargs sed 's/depmod -a/true/' -i
> 	make
> 	cd ..
>     done
> @@ -117,8 +116,8 @@
>         cd $i
> 	kernelVersion=$(cd ${kernel}/lib/modules; ls)
> 	export MODULE_DIR=$out/lib/modules/$kernelVersion/misc
> -	sed -i -e "s|-o root||g" \
> -	       -e "s|-g root||g" Makefile
> +	find . -type f | xargs sed -i -e "s|-o root||g" \
> +	                              -e "s|-g root||g"
> 	make install
> 	cd ..
>     done    
> _______________________________________________
> nix-commits mailing list
> nix-commits at cs.uu.nl
> http://mail.cs.uu.nl/mailman/listinfo/nix-commits




More information about the nix-dev mailing list