[Nix-dev] called without required argument `cinnamon-settings-daemon'
Cillian de Róiste
cillian.deroiste at gmail.com
Thu Dec 5 14:17:04 CET 2013
cinnamon-setttings-daemon =
../desktops/cinnamon/cinnamon-settings-daemon.nix { } ;
setttings should only have two "t"s
On Thu, Dec 5, 2013 at 2:13 PM, Roelof Wobben <rwobben at hotmail.com> wrote:
> 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
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131205/05c3a8f0/attachment.html
More information about the nix-dev
mailing list