[Nix-dev] synaptics touchpad problem in trunk

Tony White tonywhite100 at googlemail.com
Sun Jun 7 17:27:28 CEST 2009


2009/6/7 Lluís Batlle <viriketo at gmail.com>:
> I use synaptics, and it worked for me.
> Some time ago nixos pointed to the wrong synaptics package... I don't
> remember if I commited my change for that. Are you sure you use trunk
> of nixos?
> It was that nixos still wanted the pkgs.synaptics, while there should
> be pkgs.xorg.synaptics, or something like tihs.
> pkgs.synaptics didn't follow the xorg update, afaik.
>
> Regards,
> Lluís.
>
> 2009/6/7 Tony White <tonywhite100 at googlemail.com>:
>> Hi,
>> I'd really like appreciate some advice on how to solve the synaptics
>> touch pad problem in trunk, if anyone has an idea about what's going
>> wrong?
>>
>>      synaptics = {
>>       enable = true;
>>       };
>>
>> Is in /etc/configuration.nix and the output of nixos-rebuild switch
>> fails like this :
>>
>> synaptics.c:784: warning: implicit declaration of function 'xf86write'
>> synaptics.c: In function 'SelectTapButton':
>> synaptics.c:952: warning: left-hand operand of comma expression has no
>> effect
>> synaptics.c:956: warning: left-hand operand of comma expression has no
>> effect
>> synaptics.c:960: warning: left-hand operand of comma expression has no
>> effect
>> synaptics.c:964: warning: left-hand operand of comma expression has no
>> effect
>> synaptics.c:968: warning: left-hand operand of comma expression has no
>> effect
>> synaptics.c:974: warning: left-hand operand of comma expression has no
>> effect
>> synaptics.c:978: warning: left-hand operand of comma expression has no effect
>> synaptics.c: In function 'SetTapState':
>> synaptics.c:991: warning: left-hand operand of comma expression has no effect
>> synaptics.c: In function 'ComputeDeltas':
>> synaptics.c:1280: warning: implicit declaration of function 'xf86modf'
>> synaptics.c: In function 'HandleScrolling':
>> synaptics.c:1385: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1393: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1398: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1406: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1412: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1422: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1428: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1432: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1438: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1442: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1461: warning: left-hand operand of comma expression has no effect
>> synaptics.c:1472: warning: left-hand operand of comma expression has no effect
>> synaptics.c: In function 'ControlProc':
>> synaptics.c:1779: warning: left-hand operand of comma expression has no effect
>> synaptics.c: In function 'CloseProc':
>> synaptics.c:1787: warning: left-hand operand of comma expression has no effect
>> make: *** [synaptics.o] Error 1
>> builder for `/nix/store/jzp2vvsna5aj21bq7pw2wgkg0nx6lf31-synaptics-0.14.6.drv'
>> failed with exit code 2
>> building path(s) `/nix/store/90073pvrzb78samg6vynd3pv1k31n877-xserver.conf'
>> cannot build derivation
>> `/nix/store/gmnin2xw8hv8njqx4h6n6p4rrkf5dxck-xserver.conf.drv': 1
>> dependencies couldn't be built
>> cannot build derivation
>> `/nix/store/6p4qpvxrn33vsn19sza26fknr08jprmp-kdmrc.drv': 1
>> dependencies couldn't be built
>> cannot build derivation
>> `/nix/store/178kiigvv60wrph431x5ms84ki9sb1lq-upstart-kdm.drv': 1
>> dependencies couldn't be built
>> cannot build derivation
>> `/nix/store/4jv35zz5kdnnxzv624lb2lgn76z2m6c6-upstart-jobs.drv': 1
>> dependencies couldn't be built
>> cannot build derivation
>> `/nix/store/8mfhnsfmjvs54mgyz44n9agcxqd9757g-etc.drv': 1 dependencies
>> couldn't be built
>> cannot build derivation
>> `/nix/store/6m1r2av40yn1x8hqkyac0r0pzf0lxzl0-system.drv': 1
>> dependencies couldn't be built
>> error: build of `/nix/store/6m1r2av40yn1x8hqkyac0r0pzf0lxzl0-system.drv' failed
>>
>> Any advice would be greatly appreciated.
>>
>> Thanks,
>> Tony
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at cs.uu.nl
>> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>>
>

Hi Lluís,
I checked out trunk yesterday, using :
$ svn up /etc/nixos/nixos
$ svn up /etc/nixos/nixpkgs
$ nixos-rebuild switch

I'm at nix-0.13pre15614. That's trunk right?

You are right about the pkgs.synaptics and pkgs.xorg.synaptics
difference, it looks like pkgs.synaptics is being called instead here.

So do I just add pkgs.xorg.synaptics to extraPackages in
configuration.nix or am I not using trunk and need to switch to it?

Thanks,
Tony



More information about the nix-dev mailing list