Re: [Nix-dev] gnome does not build and kde4 blank screen
Hi Jerzy, Did you get any further with your issues? On Mon, Sep 5, 2011 at 9:24 PM, wrote: > > Hello, > > after installing nixos-graphical-0.1pre28113-x86_64-linux.iso on fujitui > lifebook > i was not able to use kde4 desktopManager and could not build gnome > environment. > xterm (default), and xfce desktopManager did worked OK. As far as I know, Gnome isn't in a useable state at all and I don't think anybody is doing a lot of work on it at the moment. I would expect XFCE and KDE to work quite well though. I have no idea what could cause the problem you describe with KDE starting. I believe many of the lightweight window managers in nixpkgs will also work fine. > for kde4 i got the screen with the harddisk and then the scren went blank and > stayed that way. Did you see anything interesting in the Xorg log? Have you been on the irc channel? It might be easier to try to help debug this issue there. Good luck! Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] CFQ I/O scheduler can't boot my system
On Mon, Sep 5, 2011 at 6:25 PM, Shea Levy wrote: > On 09/05/2011 10:59 AM, Eelco Dolstra wrote: > >> Hi, >> >> On 09/03/2011 02:41 PM, Peter Simons wrote: >> >> this commit >>> >>> * Use the CFQ I/O scheduler, rather than the ‘none’ scheduler. This >>> was already the case on Linux 2.6.32, but in newer kernels the CFQ >>> scheduler is built as a module, so all block devices got the ‘none’ >>> scheduler instead. >>> >>> breaks my boot process. The linuxPackages_2_6_38_ati kernel hangs after >>> probing the ata devices. I've reverted to an older version for now, but >>> maybe I'm not the only one who's going to have that problem? >>> >> >> This should be fixed now (r29027, tested with Linux 2.6.35). >> >> I still get this hang unless I set elevator=noop at boot. Using > linuxPackages_2_6_39. > I also ran into this issue today with both linuxPackages_2_6_39 and linuxPackages_2_6_38_ati ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Re: Re: [Nix-commits] SVN commit: nix - r28597 - in nixpkgs/trunk/pkgs/desktops/kde-4.7: . accessibility artwork bindings edu files graphics kde-package kdeaccessibility kdeadmin kdeartw
Hi, On Thu, Aug 18, 2011 at 11:00 PM, Yury G. Kudryashov wrote: > > Eelco Dolstra wrote: > > > Hi, > > > > On 08/15/2011 09:35 PM, Yury G. Kudryashov wrote: > > > > I see that none of the KDE 4.7 packages are visible in "nix-env -qa" > > except for one: > > > > $ nix-env -f . -qaP \* 2>&1 | grep kde47 > > kde47 kdebase-4.7.0 > This is intentional. Moreover, after my next commit this package will > disappear too. After rebooting into kde-4.7.0, I found a few problems (e.g., > kded4 consuming 100% of CPU), so I don't want to make it 'default'. I noticed this too: http://yellowgrass.org/issue/NixOS/139 the linked bug reports suggested using an older version of ntrack should solve it although perhaps it is even a packaging issue since it cannot find some libraries? I tried with 013 (it is currently 014) but then kded4 just crashed on me. I hope that helps a bit, thanks! Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Re: [Nix-commits] SVN commit: nix - r28016 - nixpkgs/trunk/pkgs/applications/graphics/darktable
Oops, I forgot to include nix-dev when replying ... On Sun, Jul 31, 2011 at 1:21 PM, Eelco Dolstra wrote: > Hi, > > On 07/31/2011 12:49 PM, Cillian de Roiste wrote: > >> + GConf, atk, cairo, cmake, curl, dbus_glib, exiv2, glib, > > This causes an evaluation error: > > function at > `/nix/store/l6whabz0b2kakqz4jc0qsvm3v2f6cw10-nixpkgs-r28017/pkgs/applications/graphics/darktable/default.nix:1:1' > called without required argument `atk' > > Probably you want gtkLibs.atk. Sorry about that, indeed I had forgotten to include the update to all-packages.nix. As you suggest, I could also remove the inherit sections from the expression in all-packages.nix and use e.g. xlibs.pixman within darktable/default.nix. That sounds much neater! Thanks for the feedback! Cillian > > -- > Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ > ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Suggestion to enable graphics tablet support for gtk+ (gimp, inkscape)?
On Sat, Feb 12, 2011 at 2:39 PM, Eelco Dolstra wrote: > Hi, > > On 02/12/2011 11:49 AM, Cillian de Róiste wrote: > >> To enable graphics tablet support in Gimp and Inkscape, gtk+ needs to >> be compiled with xinput. I've attached a patch which enables xinput >> for gtk+ if the configuration has wacom enabled. Does this look like a >> reasonable way to do it? > > I've just enabled xinput support in GTK+ unconditionally in the x-updates > branch. Brilliant, thanks! -- Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Suggestion to enable graphics tablet support for gtk+ (gimp, inkscape)?
Hi, To enable graphics tablet support in Gimp and Inkscape, gtk+ needs to be compiled with xinput. I've attached a patch which enables xinput for gtk+ if the configuration has wacom enabled. Does this look like a reasonable way to do it? Thanks, Cillian gtk+_tablet.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] grub install problem
Hi, I tried to install NixOS on VirtualBox and have run into similar problems as Roelof reported on irc and here. First I tried with 0.5GB RAM and with 2GB swap. When running nixos-install VirtualBox soon complained that the disk was full and stopped the machine. I then tried with 1.5GB RAM. VirtualBox wasn't happy with the old virtual disk, and after reloading the vboxdrv module it wouldn't use it at all. I tried again with a fresh disk and 1.5GB RAM assigned to it but without swap, this also failed similarly but it took much longer to fail. I'll try some other variations, (but possibly not until the weekend). Cheers, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] "NixOS is an *experimental* Linux distribution"?
On Fri, Feb 4, 2011 at 3:25 PM, Marc Weber wrote: > Excerpts from Cillian de R\xc3\xb3iste's message of Fri Feb 04 09:18:47 + > 2011: -- snip -- > I'd say its still kind of experimental. Although some security updates > happen I'm not sure that users of nixos watch all security issues the > way its done for other distros - because they have a lot more users. > > Also a lot of things are experimental - eg the proprietary ati driver > support for xorg. That makes sense. However, I fear that people are turned off by the word "experimental" since, in my opinion, it suggests there isn't a real future in the distro and that it is pre-alpha quality. I've never used a distro that was without stability issues and random bugs e.g. my Mandriva box completely froze this morning when printing! > On my laptop I got freezes after several days of work - and > occasionally resuming from pm-suspend doesn't work. > > I don't know how to debug it - because it only happens after 5 days of > uptime or such. I have exactly the same issue so I added a ticket (just now): http://yellowgrass.org/issue/NixOS/122 I will collect some more information about it and add it to the ticket but my gut feeling is that an xorg update may help resolve it, although it's surely a bug with the proprietary ati module. Incidentally, co-workers who run Ubuntu on their laptops, which are identical to mine, also have the same issue (I think) so they just don't use suspend at all. The ati_unfree driver works better for me (thanks to your help Marc!) under NixOS than it did under Debian Lenny, where it flickered after resume, so perhaps this isn't the best yardstick to measure NixOS by. I'm OK with rebooting every 5 days. > If new users join a lot of "new packages" and proposals will come up > which is good. But current commit policies without staging area are not. -- snip -- I guess this is a separate issue, and I can't comment on the topic of VCS, but perhaps I can infer that you agree the word "experimental" serves as a deterrent. I wouldn't suggest that NixOS is ready for casual desktop Linux users, but I fear that exactly the people who would be most interested in a dependable system will be scared aware immediately. My impression is that the experiment to create a distro which has reliable upgrades, rollbacks and reproducible system configuration can be considered a success and can be built upon with confidence. I assumed the text was written a long time ago and that it was an oversight to not update it. Cheers, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] "NixOS is an *experimental* Linux distribution"?
Hi, NixOS is described as an "experimental" linux distribution: http://nixos.org/nixos . I have seen people dismiss NixOS and Nix because of this word and I wonder if it could be removed or replaced with unique/innovative/new. For me "experimental" suggests that it may only work in an ideal environment, or that the experiment will run its course and some conclusions will be drawn and the project will then be abandoned. While NixOS has some rough edges, and lacks packages and configuration options compared to established distros, perhaps it has passed the experimental stage? - Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Request for SVN access
Hi, I've been using Nix for over a year, have submitted a few patches, and try to help out on #nixos where I can. I'd love to be able to add some more packages, perhaps fix minor things as I notice them (license/description etc.). Could I get SVN access? Thanks, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Add Oxygen-GTK theme (themes GTK apps to match the default KDE theme)
Here's a patch for the new Oxygen GTK theme: https://projects.kde.org/projects/playground/artwork/oxygen-gtk Since it's a GTK theme (with gtk dependencies) which is intended for use by KDE users I wasn't sure where to put it in the tree, so I added some new directories: misc/themes/gtk2 Please feel free to move it elsewhere as you see fit. Personally, I think it would be quite nice to have this installed along with KDE, but KDE purists will surely disagree. Locally, I've configured my KDE session to set some environment variables so that GTK apps use this theme as described on http://wiki.nixos.org/wiki/Enable_GTK_themes_in_KDE Thanks, Cillian Index: /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix === --- /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix (revision 25667) +++ /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix (working copy) @@ -7144,6 +7144,10 @@ pkgs_for_46.newScope pkgs_for_46.kde46; }; + oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk { +inherit (gtkLibs) glib gtk; + }; + xfce = xfce4; xfce4 = recurseIntoAttrs Index: /etc/nixos/nixpkgs/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix === --- /etc/nixos/nixpkgs/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix (revision 0) +++ /etc/nixos/nixpkgs/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix (revision 0) @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, + cmake, glib, gtk, pkgconfig }: + +stdenv.mkDerivation rec { + name = "oxygen-gtk"; + version = "1.0.1"; + + src = fetchurl { +url = "mirror://kde/stable/${name}/${version}/src/${name}-${version}.tar.bz2"; +sha256 = "0ki8qllr5ai48bl2pz8rxzf5cax08ckhgrn0nlf815ba83jfar32"; + }; + + buildInputs = [ cmake glib gtk pkgconfig ]; + + meta = { +description = "Port of the default KDE widget theme (Oxygen), to gtk"; +homepage = https://projects.kde.org/projects/playground/artwork/oxygen-gtk; +licence = "LGPLv2"; + }; +} ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] PATCH: add ESS
Hi Ambrus, Thanks for the patch, it sounds interesting! On Tue, Jan 18, 2011 at 12:12 PM, Ambrus Kaposi wrote: > (setq load-path (cons > "/var/run/current-system/sw/share/emacs/site-lisp" load-path)) > (load > "/var/run/current-system/sw/share/emacs/site-lisp/ess-5.12/lisp/ess-site") > ; (requie 'ess-site) ;doesn't work > > Any comment on the expression, integration into emacs etc. would be > appreciated. I use something like: (defconst nixos-packages '("/nix/var/nix/profiles/default/share/emacs/site-lisp")) (mapcar '(lambda(p) (add-to-list 'load-path p) (cd p) (normal-top-level-add-subdirs-to-load-path) ) nixos-packages) To add subdirectories from that folder to the load-path and then to load the library itself: (load-library "magit") This allows me to install additional emacs-modes via `nix-env -i` and load them by name. I hope that's of some interest to you, I copied it some time ago from a public dot-emacs, but my emacs-fu is weak so there is probably a more elegant way. Cheers, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Re: [PATCH] Update chromium version to 70357
Oops! I forgot the attachment the first time. 2011/1/2 Cillian de Róiste : > Hi, > > Here's a patch to update chromium to 70357. I've changed the path to > the snapshot, it looks like this one is more persistent (the old one > was deleted from the server after a few revisions requiring the > expression to be updated frequently). I've added libXtst to the > arguments too, as chrome would not start without it. Tested on NixOS > x86_64 only. > > Thanks, > Cillian > chromium-70357.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Update chromium version to 70357
Hi, Here's a patch to update chromium to 70357. I've changed the path to the snapshot, it looks like this one is more persistent (the old one was deleted from the server after a few revisions requiring the expression to be updated frequently). I've added libXtst to the arguments too, as chrome would not start without it. Tested on NixOS x86_64 only. Thanks, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] update patchelf to 0.6pre23458
Hi, This patch just updates the path and sha256 for patchelf 0.6 The older version http://hydra.nixos.org/build/504657/download/2/patchelf-0.6pre22813.tar.bz2 is no longer available. Thanks, Cillian patchelf-0.6pre23458.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] add puredata (pd) Real-time graphical programming environment for audio, video, and graphical processing
Hi, I've attached patches to add puredata, this is the vanilla version from http://www.crca.ucsd.edu/~msp/software.html although I've left the homepage as http://puredata.info since that's the community site for the project. The license is actually SIBSD which is a BSD variant so I've used "BSD". I've tested it locally on linux (NixOS) x86_64 by: * $ pulseaudio -k # kill pulseaudio * $ pd * checking the "compute audio" box * selecting Media-> ALSA, clicking OK on the pop up, (ignoring a sync warning) * Media->"Test audio and midi" and checking the 80 box on the top left so that a tone is produced. I have been trying to get the full pd-extended working (pd + a collection of extensions), but so far I think it fails to pidip correctly. If anyone's interested I can share what I have so far. Thanks, Cillian puredata.patch Description: Binary data all-packages-puredata.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Add darktable
Hi, Here are patches to add darktable: http://darktable.sourceforge.net "darktable is a virtual lighttable and darkroom for photographers: it manages your digital negatives in a database and lets you view them through a zoomable lighttable. it also enables you to develop raw images and enhance them." This was recently featured on a round up of the important multimedia tools: http://libregraphicsworld.org/articles.php?article_id=26 Any tips on the expression, style etc. would be appreciated. Darktable seems to work fine here on linux x86_64 (I opened a few photos). Enjoy! Cillian all-packages-darktable.patch Description: Binary data darktable.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Add python-virtualenv
Hi, Here's a patch to add python-virtualenv, a ubiquitous tool to create isolated Python environments: http://virtualenv.openplans.org. Thanks, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Re: [PATCH] IPython shell
Hi Peter, On Mon, Nov 29, 2010 at 8:57 PM, Peter Simons wrote: > I have committed the patch, thanks a lot for your efforts. Brilliant, thank you! > Just out of curiosity I wonder, why you put ipython into all-packages.nix > instead of python-packages.nix? It seems to me like some of the problems your > expression has to solve wouldn't exist in that context, i.e. the values of > "python" and "buildPythonPackage" would simply be parameters of your > pythonPackages environment. Isn't that easier? No good reason really. I initially tried to add it to python-packages.nix but I had the same problem (no readline support). I thought it wouldn't be out of place under pkgs/shells/ipython either and had suspected that I could make use of wrapProgram instead of the proposed solution. I don't really understand the alternative you are suggesting. In my system configuration.nix can I do something like: pkgs.buildPythonPackage.override { python = pkgs.python26Full; }; or perhaps within the package expression itself (in python-packages.nix), can I simply specify: python = pkgs.python26Full; I've been reading through the thread Marc pointed to (via the wiki: http://wiki.nixos.org/wiki/Escape_from_dependency_hell pkgsFunDeepOverride) but I need to spend some time to figure out how that would work, perhaps you are suggesting something similar to that? It sounds like Eelco has a fix up his sleeve for this particular issue anyway, but if there is a simple alternative solution you know of I would be interested to hear. Thanks for your help and feedback! Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] IPython shell
Hi, I've attached a patch to add the IPython shell with pythonFull support as discussed in another thread. Thanks, Cillian ipython.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Question about writing expressions for Python packages
I have copied the trick from offlineimap and it works fine. I will attach a patch to a separate email for IPython and investigate further for other packages. Many thanks, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Question about writing expressions for Python packages
Hi, I'm having some trouble creating expressions for Python packages, I think I'm not setting the correct buildInputs or perhaps I need to use wrapProgram so set the PYTHONPATH correctly, although I may have simply misunderstood. For example I've tried to add an expression for IPython to top-level/python-packages.nix which was something like: ipython = buildPythonPackage { name = "ipython-0.10.1"; src = fetchurl { url = "http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz";; sha256 = "18zwrg25zn72w4rmcwxzcw11ibgp001fawm2sz189zv86z70fxi2"; }; buildInputs = [ readline ]; doCheck = false; } This installs the package correcly with `nix-env -i python-ipython` although when I run `ipython` it complains that it cannot find readline. I have configured my system python to have readline support: nixpkgs.config.python = { readlineSupport = true; } and confirmed it is correct: >>> readline Looking at sys.path for ipython I see that the path to lib-dynload is different: /nix/store/nk3cihf5x24x3mxmwmg8dkv9g86klgkj-python-2.6.5/lib/python2.6/lib-dynload and this directory does not contain readline.so I've tried many variations of buildInputs and attempted to use wrapProgram to add the path, but I can't figure it out. I have been trying to create a package for MyPaint which I've also tripped up on configuring it so that it finds numpy correctly. Perhaps I have skipped over existing documentation on this. Any help would be greatly appreciated. Thanks, Cillian ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] ati catalyst driver 10.11
Hi, This updates the ati_unfree driver to the latest version. I'm using this on x86_64 2.6.35.7. Thanks, Cillian ati-drivers-10-11.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Re: [PATCH] Chromium version upgrade to revision 65039
Sorry, I must not have tested it correctly. It seems that this version requires libXdamage too. I've attached a patch to add libXdamage, I've also tidied up the expression a little. Thanks, Cillian 2010/11/4 Cillian de Róiste : > Hi, > > Here's a patch for r65039 of chromium. Tested on x86_64 NixOS. > > Thanks, > Cillian > chromium-r65039-libXdamage.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Chromium version upgrade to revision 65039
Hi, Here's a patch for r65039 of chromium. Tested on x86_64 NixOS. Thanks, Cillian chromium-r65039.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] ati catalyst driver 10.10
Hi, Here's a patch for the latest ati driver (fglrx). I've tested the beta on linux 2.6.35.7 and this version on 2.6.32-zen4 x86_64. Thanks, Cillian ati-10.10.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] [PATCH] Hibernate script -> 2.0 and enable linux_2_6_32_zen4 in all-packages.nix
Hi Marc, On Fri, Oct 22, 2010 at 1:48 PM, Marc Weber wrote: > Excerpts from Cillian de Róiste's message of Fri Oct 22 09:34:25 +0200 2010: >> Hi, >> >> I'm having some trouble with the standard suspend-to-disk and people > > What is the standard? > > Did you try the command pm-hibernate (pm-utils) > It can apply some hardware specific tricks ? Ah, this is indeed what I meant by "standard". I believe that the Sleep/Hibernate buttons in KDE, Gnome etc. use pm-hibernate et. al. and that most desktop distros use pm-utils on a kernel without the TuxOnIce patch. I actually thought TuxOnIce was obsolete until someone mentioned it on the nixos irc channel. ---snip--- > Verify that tuxonice can be found without touching the unclean disk. > (Eg use copykernels). I don't know whether this will help. Verified > Also the tuxonice distrbituion ships with a script which applies some > hardware specific stuff before hibernating. Whether this is necessary > for your setup - I don't know I tried `hibernate --force` via the version 2.0 Hibernate script: http://tuxonice.net/files/hibernate-script-2.0.tar.gz I found the documentation on their site pretty sparse so I assumed I should use that script as opposed to the pm-hibernate command (I will try pm-hibernate on the TuxOnIce kernel later though, just in case) > I added tuxonice a long time ago becuse hibernating didn't work at all. > It still didn't on that machine I cared about. I don't know about the > current status. > > I can't spend much time on it. pm-hibernate causes some trouble to me: > Not all cores wake up again always. After a few hibernation cycles, pm-hibernate fails to hibernate for me so I thought I'd try out TuxOnIce. Previously, with Debian Lenny on the same laptop, I had various issues related to pm-suspend. On resume my external screen would blink, and after about a week Xorg memory usage would increase to over 1GB and it would take over 30mins to resume. Unfortunately, I can no longer use pm-suspend on NixOS as I have a BIOS problem (it auto-reboots when I shut down/hibernate/suspend ... also via Debian). It would be interesting to hear if anyone is successfully using TuxOnIce on nixos, the reason I call it's hibernation script with "--force" is because it fails to find a list of blacklisted kernel modules, which is something I may need to fix. I will inquire further with the TuxOnIce folks and report back if I get anywhere. Thanks a lot for all your help! Cillian > > Its not a top prio for me > > Good luck. > Marc Weber > ___ > nix-dev mailing list > nix-dev@cs.uu.nl > https://mail.cs.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Hibernate script -> 2.0 and enable linux_2_6_32_zen4 in all-packages.nix
Hi, I'm having some trouble with the standard suspend-to-disk and people recommended to try the zen kernel which includes the TuxOnIce patch. I'm not sure if I have something wrong but I couldn't see how to install the zen kernels without patching all-packages.nix: Index: /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix === --- /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix (revision 24413) +++ /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix (working copy) @@ -4798,6 +4798,8 @@ recurseIntoAttrs (linuxPackagesFor linux_2_6_32_systemtap pkgs.linuxPackages_2_6_32_systemtap); linuxPackages_2_6_32_xen = recurseIntoAttrs (linuxPackagesFor linux_2_6_32_xen pkgs.linuxPackages_2_6_32_xen); + linuxPackages_2_6_32_zen4 = +recurseIntoAttrs (linuxPackagesFor linux_2_6_32_zen4 pkgs.linuxPackages_2_6_32_zen4); linuxPackages_2_6_33 = recurseIntoAttrs (linuxPackagesFor linux_2_6_33 pkgs.linuxPackages_2_6_33); linuxPackages_2_6_34 = recurseIntoAttrs (linuxPackagesFor linux_2_6_34 pkgs.linuxPackages_2_6_34); linuxPackages_2_6_35 = recurseIntoAttrs (linuxPackagesFor linux_2_6_35 pkgs.linuxPackages_2_6_35); The hibernate script complained that the has was wrong so I have also attached a patch to update it to the latest version. After adding the resume2 option as a kernel parameter the `hibernate --force` goes through the motions of hibernation but on resume I get the following message: "TuxOnIce core not loaded yet" Is anyone successfully using TuxOnIce? Any advice? Thanks, Cillian (goibhniu) all-packages-enable-linux2.6.32-zen4.patch Description: Binary data hibernate-2.0.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] [PATCH] Chromium version updated to 61624, Flash 64bit and 32bit debug versions updated to prerelease 2
Hi, I noticed that the download urls for chromium and flashplayer are no longer available. Patches are attached. I've only tested these on x86_64. Thanks, goibhniu flashplayer-prerelease2.patch Description: Binary data chromium-61624.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Patch to add uni2ascii (Converts between UTF-8 and many 7-bit ASCII equivalents and back)
Hi, Here's a patch for a command line tool called uni2ascii. Thanks, goibhniu Index: tools/text/uni2ascii/default.nix === --- tools/text/uni2ascii/default.nix(revision 0) +++ tools/text/uni2ascii/default.nix(revision 0) @@ -0,0 +1,38 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "uni2ascii-4.15"; + src = fetchurl { +url = "http://billposer.org/Software/Downloads/${name}.tar.gz";; +sha256 = "0vlwsqrzmdsb2mx0hbhmw1dvzy56jk8779hphnj6yxijryva6g2v"; + }; + + meta = { +license = "GPLv3"; +homepage = http://billposer.org/Software/uni2ascii.html; +description = "Converts between UTF-8 and many 7-bit ASCII equivalents and back"; + +longDescription = '' +This package provides conversion in both directions between UTF-8 +Unicode and more than thirty 7-bit ASCII equivalents, including +RFC 2396 URI format and RFC 2045 Quoted Printable format, the +representations used in HTML, SGML, XML, OOXML, the Unicode +standard, Rich Text Format, POSIX portable charmaps, POSIX locale +specifications, and Apache log files, and the escapes used for +including Unicode in Ada, C, Common Lisp, Java, Pascal, Perl, +Postscript, Python, Scheme, and Tcl. + +Such ASCII equivalents are useful when including Unicode text in +program source, when debugging, and when entering text into web +programs that can handle the Unicode character set but are not +8-bit safe. For example, MovableType, the blog software, truncates +posts as soon as it encounters a byte with the high bit +set. However, if Unicode is entered in the form of HTML numeric +character entities, Movable Type will not garble the post. + +It also provides ways of converting non-ASCII characters to +similar ASCII characters, e.g. by stripping diacritics. +''; +maintainers = [ "cillian.deroi...@gmail.com" ]; + }; +} Index: os-specific/linux/ati-drivers/default.nix === --- os-specific/linux/ati-drivers/default.nix (revision 23906) +++ os-specific/linux/ati-drivers/default.nix (working copy) @@ -29,9 +29,9 @@ src = assert stdenv.system == "x86_64-linux"; fetchurl { -url = https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-10-4-x86.x86_64.run; -sha256 = "1rlqbfv729lray1c72ga4528kj7v4a5nmdznbgx7izwaxip2a45z"; - }; +url = https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-10-8-x86.x86_64.run; +sha256 = "0y7bw85ib57976jb6l2r3ma8rfww2yscx3m9l3wc4c2p3rgcpxrd"; +}; buildInputs = [xlibs.libXext xlibs.libX11 xlibs.libXrandr which imake makeWrapper Index: top-level/all-packages.nix === --- top-level/all-packages.nix (revision 23906) +++ top-level/all-packages.nix (working copy) @@ -617,6 +617,8 @@ unix2dos = callPackage ../tools/text/unix2dos { }; + uni2ascii = callPackage ../tools/text/uni2ascii { }; + gawk = callPackage ../tools/text/gawk { }; gdmap = callPackage ../tools/system/gdmap { uni2ascii.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Patch to update CouchDB to 1.0.1
Hi, Here's a patch to update CouchDB to the current version. Thanks Index: pkgs/servers/http/couchdb/src-for-default.nix === --- pkgs/servers/http/couchdb/src-for-default.nix (revision 23861) +++ pkgs/servers/http/couchdb/src-for-default.nix (working copy) @@ -1,9 +1,9 @@ rec { - version="0.11.0"; - name="couchdb-0.11.0"; - hash="0jdh9h6kzay02fpcjvhpwgvpwy9s8yl0hjc5j67lyw504wn2d441"; - url="mirror://apache/couchdb/0.11.0/apache-couchdb-${version}.tar.gz"; - advertisedUrl="http://www.apache.org/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz";; + version="1.0.1"; + name="couchdb-1.0.1"; + hash="07wb21qi471qbb6nqlmdmmvg4z8f7m9wn2bm22c7fig32gz5njmp"; + url="mirror://apache/couchdb/1.0.1/apache-couchdb-${version}.tar.gz"; + advertisedUrl="http://www.apache.org/dist/couchdb/1.0.1/apache-couchdb-1.0.1.tar.gz";; } couchdb-1.0.1.patch Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] PATCH: To bump chromium to the latest snapshot
Hi, The current snapshot of chromium in nixpkgs is no longer available, here's a patch for the latest. (Tested on x86_64 only) Cheers, goibhniu Index: pkgs/applications/networking/browsers/chromium/default.nix === --- pkgs/applications/networking/browsers/chromium/default.nix (revision 23032) +++ pkgs/applications/networking/browsers/chromium/default.nix (working copy) @@ -35,17 +35,17 @@ stdenv.mkDerivation rec { name = "chrome-${version}"; - version = "51653"; + version = "55366"; src = if stdenv.system == "x86_64-linux" then fetchurl { url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${version}/chrome-linux.zip";; -sha256 = "1d8q4ac8s3b1bncli537phzxshfr50j69y49409g5p64v7iya9kw"; +sha256 = "1dazdfpnl278wwh03hs0x184ql5zh0yhpfiaw75j437dp3668hnj"; } else if stdenv.system == "i686-linux" then fetchurl { url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${version}/chrome-linux.zip";; -sha256 = "1kdhwkl7xxssmkrkkgrdwrwvbah97va7rxbwrfhlcnjgw60ppf9v"; +sha256 = "1x5ykvp2hxc56p4bb1lykahkk1nzkqi2kkm474spplqcfnmd6j2b"; } else null; ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Patch to update CouchDB to 1.0.0 and howto upgrade on wiki
Hi, 2010/7/22 David Guibert : > Hi, > On 22/07/2010 20:20, Cillian de Róiste wrote: > update=./pkgs/build-support/upstream-updater/update-upstream-data.sh > $update pkgs/servers/http/couchdb/default.nix > > By the way, it does the same job as you did ;-) Oh, that would be sweet! I did try this first, but it didn't seem to work. It produces the following: $cat pkgs/servers/http/couchdb/src-for-default.nix rec { version="./"; name="unnamed-package-./"; hash=""; url=""; advertisedUrl="./"; } I wonder if it is because I'm not running NixOS, I just use Nix on top of a Debian system, or perhaps there is a problem with the package itself? After a few failed attempts (running the script from the svn checkout instead of the actual pkgs dir etc.) it leads to the following error "curl: (3) malformed" (full output attached). All failures seemed to produce the same src-for-default.nix. NIXPKGS_ALL wasn't set on my system so I set it manually: export NIXPKGS_ALL=/nix/var/nix/gcroots/per-user/root/channels/nixpkgs_unstable/pkgs before running ./pkgs/build-support/upstream-updater/update-upstream-data.sh pkgs/servers/http/couchdb/default.nix Any tips? Thanks, goibhniu update-upstream-data.log Description: Binary data ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Patch to update CouchDB to 1.0.0 and howto upgrade on wiki
Hi, This is a patch to update CouchDB from version 0.11.0 to 1.0.0. I've tested it myself locally and it seems fine. For reference I've described the steps to do this upgrade in the wiki: http://wiki.nixos.org/wiki/Contributing#Upgrade_the_version_of_a_package_already_in_nixpkgs_unstable Thanks, goibhniu Index: pkgs/servers/http/couchdb/src-for-default.nix === --- pkgs/servers/http/couchdb/src-for-default.nix (revision 22713) +++ pkgs/servers/http/couchdb/src-for-default.nix (working copy) @@ -1,9 +1,8 @@ rec { - version="0.11.0"; - name="couchdb-0.11.0"; - hash="0jdh9h6kzay02fpcjvhpwgvpwy9s8yl0hjc5j67lyw504wn2d441"; - url="mirror://apache/couchdb/0.11.0/apache-couchdb-${version}.tar.gz"; - advertisedUrl="http://www.apache.org/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz";; - - + version="1.0.0"; + name="couchdb-1.0.0"; + hash="0mrg7jw29bg1y6m0gj3qbr0amwsz7dl8jl7n46jvy7d54dldwf6a"; + url="mirror://apache/couchdb/1.0.0/apache-couchdb-${version}.tar.gz"; + advertisedUrl="http://www.apache.org/dist/couchdb/1.0.0/apache-couchdb-1.0.0.tar.gz";; + } Index: pkgs/servers/http/couchdb/src-for-default.nix === --- pkgs/servers/http/couchdb/src-for-default.nix (revision 22713) +++ pkgs/servers/http/couchdb/src-for-default.nix (working copy) @@ -1,9 +1,8 @@ rec { - version="0.11.0"; - name="couchdb-0.11.0"; - hash="0jdh9h6kzay02fpcjvhpwgvpwy9s8yl0hjc5j67lyw504wn2d441"; - url="mirror://apache/couchdb/0.11.0/apache-couchdb-${version}.tar.gz"; - advertisedUrl="http://www.apache.org/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz";; - - + version="1.0.0"; + name="couchdb-1.0.0"; + hash="0mrg7jw29bg1y6m0gj3qbr0amwsz7dl8jl7n46jvy7d54dldwf6a"; + url="mirror://apache/couchdb/1.0.0/apache-couchdb-${version}.tar.gz"; + advertisedUrl="http://www.apache.org/dist/couchdb/1.0.0/apache-couchdb-1.0.0.tar.gz";; + } ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Patch to update couchdb to 0.11.0
Hi, Here's a patch to update couchdb from 0.10.1 to 0.11.0: Index: pkgs/servers/http/couchdb/src-for-default.nix === --- pkgs/servers/http/couchdb/src-for-default.nix (revision 22207) +++ pkgs/servers/http/couchdb/src-for-default.nix (working copy) @@ -1,9 +1,9 @@ rec { - version="0.10.1"; - name="couchdb-0.10.1"; - hash="0sy644slqmklj3v6dndxw6mh4jn0bm8f90sacycy7l1pclhzfsic"; - url="mirror://apache/couchdb/0.10.1/apache-couchdb-${version}.tar.gz"; - advertisedUrl="http://www.apache.org/dist/couchdb/0.10.1/apache-couchdb-0.10.1.tar.gz";; - - + version="0.11.0"; + name="couchdb-0.11.0"; + hash="0jdh9h6kzay02fpcjvhpwgvpwy9s8yl0hjc5j67lyw504wn2d441"; + url="mirror://apache/couchdb/0.11.0/apache-couchdb-${version}.tar.gz"; + advertisedUrl="http://www.apache.org/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz";; + + } I've tested it locally and it seems ok, but this is my first attempt at submitting a patch, so I hope I haven't forgotten something. Cheers, goibhniu Index: pkgs/servers/http/couchdb/src-for-default.nix === --- pkgs/servers/http/couchdb/src-for-default.nix (revision 22207) +++ pkgs/servers/http/couchdb/src-for-default.nix (working copy) @@ -1,9 +1,9 @@ rec { - version="0.10.1"; - name="couchdb-0.10.1"; - hash="0sy644slqmklj3v6dndxw6mh4jn0bm8f90sacycy7l1pclhzfsic"; - url="mirror://apache/couchdb/0.10.1/apache-couchdb-${version}.tar.gz"; - advertisedUrl="http://www.apache.org/dist/couchdb/0.10.1/apache-couchdb-0.10.1.tar.gz";; - - + version="0.11.0"; + name="couchdb-0.11.0"; + hash="0jdh9h6kzay02fpcjvhpwgvpwy9s8yl0hjc5j67lyw504wn2d441"; + url="mirror://apache/couchdb/0.11.0/apache-couchdb-${version}.tar.gz"; + advertisedUrl="http://www.apache.org/dist/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz";; + + } ___ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev