[Nix-dev] called without required argument `cinnamon-settings-daemon'

Roelof Wobben rwobben at hotmail.com
Thu Dec 5 14:13:54 CET 2013


hello, 

I have this derivation :

{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, gettext, gnome_common,
intltool, systemd, libxslt, gtk3, libnotify, cinnamon-desktop, gnome-menus,
libxml2, upower, cinnamon-settings-daemon }:

let
  version = "2.0.9";
in
stdenv.mkDerivation {
  name = "cinnamon-control-center-${version}";

  src = fetchurl {
    url = "http://github.com/linuxmint/cinnamon-control-center/archive/${version}.tar.gz";
    sha256 = "0kivqdgsf8w257j2ja6fap0dpvljcnb9gphr3knp7y6ma2d1gfv3";  };

  configureFlags = "--enable-systemd --disable-update-mimedb " ;

  patches = [ ./region.patch];

  buildInputs = [
    pkgconfig autoreconfHook
    glib gettext gnome_common
    intltool systemd libxslt
    gtk3 libnotify cinnamon-desktop
    gnome-menus libxml2 upower
    cinnamon-settings-daemon
];

  preBuild = "patchShebangs ./scripts";


 meta = {
    homepage = "http://cinnamon.linuxmint.com";
    description = "the cinnamon control center " ;

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.roelof ];
  };
}

And I have this in my all-packages.nix:

 cinnamon = recurseIntoAttrs rec{
    callPackage=pkgs.newScope pkgs.cinnamon;
    inherit (gnome3) gnome_common ;
    cinnamon-control-center = callPackage ../desktops/cinnamon/cinnamon-control-center.nix{ };
    cinnamon-desktop = callPackage ../desktops/cinnamon/cinnamon-desktop.nix { };
    gnome-menus = callPackage ../desktops/cinnamon/gnome-menus.nix { } ;
    cinnamon-setttings-daemon = ../desktops/cinnamon/cinnamon-settings-daemon.nix { } ;
 };


But stIl I see this error : 

error: an anonymous function at `/home/roelof/nixpkgs/pkgs/desktops/cinnamon/cinnamon-control-center.nix:1:1' called without required argument `cinnamon-settings-daemon'
(use `--show-trace' to show detailed location information)


Roelof
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131205/e70eae49/attachment.html 


More information about the nix-dev mailing list