Re: [Nix-dev] systemd in the long run: Revisiting How We Put Together Linux Systems (it's almost Nix...)

2014-09-02 Thread Luca Bruno
On 02/09/2014 09:06, Nathan Bijnens wrote: > The systemd kabal just wrote a blog post detailing their long term > vision on Linux. They have great issue with traditional package > managers (who can blame them?). > > They sketch a possible solution, based on a whole lof of BTRFS > subvolumes, sort

[Nix-dev] Some staging regressions

2014-09-02 Thread Luca Bruno
>From http://hydra.nixos.org/eval/1150396?compare=trunk it seems that the ghc and swig build failures are the main reason of about 800 failures more compared to trunk. Both swig and ghc test suites fail. ___ nix-dev mailing list nix-dev@lists.science.uu.n

Re: [Nix-dev] systemd in the long run: Revisiting How We Put Together Linux Systems (it's almost Nix...)

2014-09-02 Thread Luca Bruno
On 02/09/2014 12:02, Alexei Robyn wrote: > Unless I'm missing something, Lennart's only response to you was: "we > actually try to do our homework before we propose something. We looked > at a variety of systems, and not just on Linux ones, but also what > MacOS, Android, ChromeOS, and even Windows

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-02 Thread Luca Bruno
On 02/09/2014 12:05, Vladimír Čunát wrote: > On 09/01/2014 10:59 PM, Wout Mertens wrote: >> Furthermore, it's still not available out-of-the-box in Docker, so you >> can't install a NixOS image in Docker. > > IIRC, at the sprint last week, @offlinehacker claimed he made nixos > work inside docker.

Re: [Nix-dev] Will there be a systemd replacement at any time inthefuture?

2014-09-02 Thread Luca Bruno
On 02/09/2014 12:27, Lluís Batlle i Rossell wrote: > I set systemd log files to nocow. Yet the reading of the journal does so many > seeks, that it's slow everywhere unless the journal is cached. I guess that > spinning disks are unsupported. :) journald has some options to split the files per-time

Re: [Nix-dev] Packaging a tool that registers in crontab

2014-09-02 Thread Luca Bruno
On 02/09/2014 12:53, Damien Cassou wrote: > I don't understand how that will help. What about distributions with > no systemd? What about the fact that it's the tool that writes and > updates the cron jobs (with the period and arguments). As the > packager, I have no clue about the profiles the use

Re: [Nix-dev] Packaging a tool that registers in crontab

2014-09-02 Thread Luca Bruno
On 02/09/2014 13:10, Luca Bruno wrote: > On 02/09/2014 12:53, Damien Cassou wrote: >> I don't understand how that will help. What about distributions with >> no systemd? What about the fact that it's the tool that writes and >> updates the cron jobs (with th

[Nix-dev] About merge vs non-merge

2014-09-02 Thread Luca Bruno
Somebody does not like merges because it makes the history "less clean". However, just today, I encountered a case where the merge was needed for a revert. The good thing about the green merge button is that: 1) It retains a message about the PR. So you have information if you need to do a revert.

Re: [Nix-dev] About merge vs non-merge

2014-09-02 Thread Luca Bruno
8:23 PM, Rok Garbas wrote: > Quoting Luca Bruno (2014-09-02 18:51:39) > > Somebody does not like merges because it makes the history "less clean". > > However, just today, I encountered a case where the merge was needed for > > a revert. > > > > The good

Re: [Nix-dev] About merge vs non-merge

2014-09-02 Thread Luca Bruno
> > > I'm not sure what the purpose of this thread is. Is it to incite people > to use the green button? Is it to ask them to manually merge smarter? > > Not lose track of multiple-commit merges, and not lose track of the PR information when manually pushing PRs. ___

Re: [Nix-dev] "Failed to execute login command"

2014-09-02 Thread Luca Bruno
It happened to me a couple of times after big nixos-rebuild. It may happened that some X drivers were updated. On Tue, Sep 2, 2014 at 10:33 PM, Bjørn Forsman wrote: > Hi, > > Since about a month now, whenever I do "nixos-rebuild switch" (after > also updating channel sources) I'm being kicked o

Re: [Nix-dev] "Failed to execute login command"

2014-09-03 Thread Luca Bruno
On 03/09/2014 05:28, Mateusz Kowalczyk wrote: > My personal experience with drivers being updated (say, along with the > kernel) is that X keeps running but if I try to restart it then it > won't work unless I reboot which is understandable considering they > are now linked against new kernel. Perh

Re: [Nix-dev] NixOS per-user system configuration

2014-09-03 Thread Luca Bruno
On 03/09/2014 14:43, Alexey Muranov wrote: > Hello, > > i am a beginning user of NixOS, and i am not sure if this my question is > mostly about NixOS or about Linux in general, but probably it is about NixOS, > because only NixOS has "profiles." Profiles are a convenience implemented with nix. So

Re: [Nix-dev] systemd in initrd

2014-09-03 Thread Luca Bruno
Progress, or better one step forward, and one backward. I've tried to let systemd pass its state to the new root systemd, without passing with a stage 2 init. I failed, somehow systemd could not find some information after switching root (like /run being umounted, or such). Also running stage 2 as

Re: [Nix-dev] GHCJS support in nixpkgs

2014-09-04 Thread Luca Bruno
On 04/09/2014 04:57, Charles Strahan wrote: > Hey Haskellers, > > Ryan Trinkle and John Wiegley have done some awesome work on getting > GHCJS working in nixpkgs. There's still some work to do (like making > the build pure and maybe some cleanup), but I think it's pretty close. > > Ryan and I are g

[Nix-dev] Nixos tests massive regression

2014-09-05 Thread Luca Bruno
See http://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-jobs I tried building openssh test locally and I get: 10.559484] sshd[1593]: /nix/store/i7lip0m84naddaf9dn5kh03h1dzr90wk-openssh-6.6p1/empty must be owned by root and not group or world-writable. I tried bisecting down to the latest succ

Re: [Nix-dev] Nixos tests massive regression

2014-09-05 Thread Luca Bruno
On 05/09/2014 13:41, Eelco Dolstra wrote: > > This looks like a local issue. Is that directory empty and owned by root/root? > Ah my nix store is under my user, what's the issue? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.u

Re: [Nix-dev] Nixos tests massive regression

2014-09-05 Thread Luca Bruno
On 05/09/2014 14:00, Eelco Dolstra wrote: > > Exactly what the error message says: sshd expects the "empty" directory to be > owned by root. > Sorry, wanted to say "that's the issue". Thanks. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://li

Re: [Nix-dev] Setting up crontab as nixos user

2014-09-05 Thread Luca Bruno
I think in this case it's very correct to patch cron and set PATH to $HOME/.nix-profile/bin:/run/current-system/sw/bin On Fri, Sep 5, 2014 at 9:17 PM, Bjørn Forsman wrote: > I tried exporting some environment variables in the cron nixos module. > But cron insists on controlling the environment

Re: [Nix-dev] automatically mount vboxsf

2014-09-08 Thread Luca Bruno
> Additionally, I had to add the vbox guest additions into the scope: > > system.fsPackages = [ > config.boot.kernelPackages.virtualboxGuestAdditions > ]; I suggest you to use services.virtualbox.enable = true. ___ nix-dev mailing list

[Nix-dev] Default to GNOME 3.12

2014-09-08 Thread Luca Bruno
* GNOME 3.10 life * In the staging branch I've changed gnome3 to be 3.12 by default, including the nixos test. I haven't tested the change locally except for a few packages. GNOME 3.10 is still sticking around as gnome3_10. In case any program fails to build or run, we can fallback to gnome3_10 fo

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Luca Bruno
What about just copying the old .nix from old nixpkgs commits? On Mon, Sep 8, 2014 at 8:08 PM, Richard Wallace wrote: > On Mon, Sep 8, 2014 at 9:03 AM, Mateusz Kowalczyk > wrote: > >> On 09/08/2014 04:56 PM, Richard Wallace wrote: >> > Hello, >> > >> > I'm using nix-shell to setup a Haskell env

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Luca Bruno
Haven't found a cool slogan for nixos yet :P On Mon, Sep 8, 2014 at 11:23 PM, Vladimír Čunát wrote: > On 09/08/2014 10:27 PM, Luca Bruno wrote: > >> www.debian.org <http://www.debian.org> - The Universal Operating System >> >

Re: [Nix-dev] systemd in initrd

2014-09-11 Thread Luca Bruno
Some more progress. Mounts are now autogenerated as .mount in the initrd. This allows for fine grained dependencies and thus parallelism. In addition, "auto" file systems are being automatically probed with blkid like the old stage-1.sh did, except also in parallel. Probing involves creating a /ru

Re: [Nix-dev] pyenchant: new package

2014-09-13 Thread Luca Bruno
Out of curiosity, is anybody reviewing your patches in the mailing list? We usually use github. On Sat, Sep 13, 2014 at 10:57 AM, Nick Sauce wrote: > pyenchant: new package > --- > > diff --git \ > a/pkgs/top-level/python-packages.nix \ > b/pkgs/top-level/python-packages.nix > index 34ecbff..aec

Re: [Nix-dev] pyenchant: new package

2014-09-14 Thread Luca Bruno
There's gitlab for that. But in my opinion, anything not being github would reduce by a great amount the number of contributors. On Sat, Sep 13, 2014 at 10:07 PM, Vladimír Čunát wrote: > On 09/13/2014 09:41 PM, Mateusz Kowalczyk wrote: > >> Of course there is still the problem of GitHub not bein

[Nix-dev] About GI_TYPELIB_PATH users in nixpkgs

2014-09-14 Thread Luca Bruno
Since the staging merge (commit 36bef2b267) specifying LD_LIBRARY_PATH should not be needed anymore for gobject introspection users. The .gir files have the library name hardcoded to the nix store, so that the .typelib ends up having the hardcoded path to the library as well. That means only GI_TY

Re: [Nix-dev] Add /var/setuid-wrappers to $PATH for systemd service

2014-09-15 Thread Luca Bruno
Try systemd.services.jenkins.path = [ "/var/setuid-wrappers" ]; On Mon, Sep 15, 2014 at 7:44 PM, Bjørn Forsman wrote: > Hi all, > > How does one put /var/setuid-wrappers first in $PATH for a systemd service? > > The option systemd.services..path adds /bin and /sbin to the > given paths, so it c

Re: [Nix-dev] Unstable channel stuck?

2014-09-16 Thread Luca Bruno
It's due to the GC memory error in the trunk-combined jobset :( I'm thinking of a way to solve this in nix, but the baseline is that the evaluation just needs ram to hold all those derivations and tweaks to boehm heap variables. The current nix evaluator is very human-friendly, but it's probably n

Re: [Nix-dev] Unstable channel stuck?

2014-09-16 Thread Luca Bruno
Also in my opinion this is mostly caused by boehm which is unable to find a spot for new objects. I was trying to implement a very simple GC as a proof to see whether it was boehm's fault or not, but Dolstra said it's hardly a boehm problem. However I think I will retry the attempt for what it mat

[Nix-dev] Security channel proposal

2014-09-25 Thread Luca Bruno
My proposal is to have an hydra security channel independent of nixpkgs. SAMPLE USAGE nix-channel --add http://hydra.nixos.org/jobset/nixos/security/channel/latest The channel will provide a to be imported by the users in their configuration.nix. The nixos-sec/module.nix will add the relevant

Re: [Nix-dev] Bash CVE-2014-6271

2014-09-25 Thread Luca Bruno
On 25/09/2014 15:41, Ricardo M. Correia wrote: > > Namely, when I run "nixos-rebuild dry-run" on my laptop, instead of > taking 3 seconds to finish, now it takes more than 65 minutes (!). It > seems to be CPU-bound during the whole time. Also, take into account > my laptop a relatively fast CPU - a

Re: [Nix-dev] /lib vs /lib64

2014-09-27 Thread Luca Bruno
/lib64 doesn't make much sense in nix. How are you building the package? Have you enabled nix chroot builds? On Sat, Sep 27, 2014 at 1:03 PM, Vincent Laporte wrote: > Hello, > > I am using Nix on Fedora x86_64 and a clone of NixOs/nixpkgs github > repository. When I install a package, sometimes

Re: [Nix-dev] /lib vs /lib64

2014-09-27 Thread Luca Bruno
build-chroot-dirs = /bin/sh=/nix/store/mkgzispcfvqi8z65wjngkw8zdf0v15n4-bash-4.2-p47/bin/bash /nix/store/ghvrcvzzd83j4vvynm7kry4n9s42b986-linux-headers-3.7.1 /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19 /nix/store/mkgzispcfvqi8z65wjngkw8zdf0v15n4-bash-4.2-p47 Drop that /dev, /proc, /bin

Re: [Nix-dev] NixOS "small" channel

2014-10-01 Thread Luca Bruno
On 01/10/2014 03:29, Anderson Torres wrote: > Yes! t is cool! :) > > But, how about the other channels? I use the nixos-unstable here, can > I mix both, small and unstable, in my local machine? I also use unstable for the server because I need some changes that are only in unstable. __

[Nix-dev] Fwd: Non-free files in some versions of WebKitGTK+

2014-10-01 Thread Luca Bruno
Original Message Subject:Non-free files in some versions of WebKitGTK+ Date: Wed, 1 Oct 2014 13:22:49 +0200 From: Alberto Garcia To: webkit-...@lists.webkit.org CC: distributor-l...@gnome.org A few days ago we discovered that some of the files included i

Re: [Nix-dev] Moving some of the NixOS setup to nixpkgs

2014-10-03 Thread Luca Bruno
On 03/10/2014 12:51, Vladimír Čunát wrote: > I do support such efforts, but I was recently surprised by the > nontrivial opposition against them, e.g. [1] and when discussing on > the last sprint. I didn't really understand the reasons against, or > forgot them... > > [1] https://github.com/NixOS/n

Re: [Nix-dev] Anyone care to review my post on the Nix expression language?

2014-10-07 Thread Luca Bruno
Length and nice, thanks. Only had a quick look. Note that haskell has Debug.trace. On Wed, Oct 8, 2014 at 12:21 AM, James Harrison Fisher < jameshfis...@gmail.com> wrote: > Hi all, > > I’ve written up what turned out to be a quite extensive post on the Nix > expression language: > > https://m

[Nix-dev] Reconsidering dash in package names

2014-10-10 Thread Luca Bruno
Dash in package names are cool, because they map to the real package name. However I just found a breaker: bash does not support variables with dash. $foo-bar or ${foo-bar} or whatever does not work. Shall we reconsider the use of dash and prefer the underscore instead for package names? _

Re: [Nix-dev] Reconsidering dash in package names

2014-10-10 Thread Luca Bruno
derivation { inherit foo-bar; buildPhase = '' use $foo-bar... ''; } Apart ${foo-bar}. On Fri, Oct 10, 2014 at 11:18 PM, Bjørn Forsman wrote: > On 10 October 2014 22:56, Luca Bruno wrote: > > Dash in package names are cool, because they map to the real

Re: [Nix-dev] Emacs daemon as a user systemd service in NixOS

2014-10-12 Thread Luca Bruno
See https://github.com/kiberpipa/nix-rehash . Also I'm not sure systemd --user is working in nixos yet. On Sun, Oct 12, 2014 at 3:33 PM, Damien Cassou wrote: > Hi, > > On NixOS, I would like systemd to start emacs (daemon) once and for all so > that I can just use emacs-client all the times. I p

Re: [Nix-dev] Reengineered npm2nix: call for feedback

2014-10-12 Thread Luca Bruno
Thanks a lot for your effort. I've tried your npm2nix with this json: https://github.com/lethalman/reghome/blob/master/pkgs/node-packages.json First of all, it's the first time I've seen a git clone during the npm2nix process, probably because now your branch considers npm branches (Cloning git re

Re: [Nix-dev] Reengineered npm2nix: call for feedback

2014-10-12 Thread Luca Bruno
On Sun, Oct 12, 2014 at 9:42 PM, Sander van der Burg wrote: > Hi, > > About default.nix: The actual file that's generated can be named > differently with the following parameter: -c someotherfile.nix. I'm > thinking about merging all the output files together. However, my personal > preference is

Re: [Nix-dev] systemd in initrd

2014-10-12 Thread Luca Bruno
Haven't done much work in the while, however I've ported the systemd-initrd branch to staging which has systemd 216: https://github.com/lethalman/nixpkgs/tree/systemd-staging Thanks to Mathnerd314 for helping out. Still the main todo: porting of fsck, resume, lvm and crypto. Also, I'm thinking o

Re: [Nix-dev] Reengineered npm2nix: call for feedback

2014-10-13 Thread Luca Bruno
On 13/10/2014 11:43, Sander van der Burg wrote: > Just tried building fsevents on my office mac machine both with the > old and new npm2nix and both seem to result in the same error. I don't > think the problem is caused by the generation, but by something else. > Still have to figure out why the h

[Nix-dev] Upstream incompatibility tracker

2014-10-13 Thread Luca Bruno
Sharing: http://upstream-tracker.org/ Check it out, it's a good resource in my opinion to check whenever we upgrade an important library. Best regards, ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-d

Re: [Nix-dev] Fwd: The results of your email commands

2014-10-14 Thread Luca Bruno
On 14/10/2014 02:57, Anderson Torres wrote: > 2 - There is some way to set options on curl inside nix-env > invocation, as bandwidth limits, max retries, proxy, etc.? NIX_CURL_FLAGS ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science

Re: [Nix-dev] Crontab and mail / ssmtp troubles

2014-10-15 Thread Luca Bruno
There was some discussion about this. The problem is probably a missing /var/spool for each user, or anyway something about permissions. I've tracked down the issue once but never worked on it since I wasn't directly interested on it. On Wed, Oct 15, 2014 at 10:07 PM, M. P. Ashton wrote: > I'm h

Re: [Nix-dev] Emacs daemon as a user systemd service in NixOS

2014-10-16 Thread Luca Bruno
On 16/10/2014 13:23, Damien Cassou wrote: > > thank you very much. Here is my service description now: > > systemd.user.services.emacs = { > description = "Emacs: the extensible, > self-documenting text editor"; > environment.GTK_DATA_PREFIX = config.system.path; > envir

Re: [Nix-dev] Is systemd a benefit or a liability?

2014-10-19 Thread Luca Bruno
My reason for using systemd compared to nosh, uselessd, sysvinit, openrc or whatelse is that it's integrated with the event system (udev). That is the real advantage of systemd and you should think more about this kind of advantage. My reason to hate systemd is that it has other components that ha

Re: [Nix-dev] Is systemd a benefit or a liability?

2014-10-19 Thread Luca Bruno
gt; On 10/19/2014 02:42 PM, Luca Bruno wrote: > >> My reason for using systemd compared to nosh, uselessd, sysvinit, openrc >> or >> whatelse is that it's integrated with the event system (udev). That is the >> real advantage of systemd and you should think more ab

Re: [Nix-dev] Is systemd a benefit or a liability?

2014-10-19 Thread Luca Bruno
On Sun, Oct 19, 2014 at 1:13 PM, Alexander Zubkov wrote: > And what you need from the integration of systemd with udev? What > use-cases do you have for this? > > Making services or mounts or timers depend upon the appearance or disappearance of devices. I use that often to improve boot paralleli

Re: [Nix-dev] Is systemd a benefit or a liability?

2014-10-19 Thread Luca Bruno
ake Nix(OS) as > future proof as possible. > > Nathan > > --- > nat...@nathan.gs | nathan.gs > <http://nathan.gs?utm_source=footer&utm_medium=email&utm_campaign=n> | > @nathan_gs <http://twitter.com/nathan_gs> | linkedin.com/in/nbijnens > > On Sun, Oc

Re: [Nix-dev] systemd in initrd

2014-10-20 Thread Luca Bruno
Update on systemd-initrd: basic luks support. I've been able to create a very basic nixos test for luks with keyfile [1] (ignore the overrides needed for the test, and the vda disk setup). Not yet asking for a password, it's a simple script and it's not using cryptsetup from systemd. The preLVM is

Re: [Nix-dev] Upstream incompatibility tracker

2014-10-21 Thread Luca Bruno
On 21/10/2014 18:24, phree...@yandex.ru wrote: > Looked into it and there are a couple of problems. The tools compile headers > using gcc and the maintainers of the service currently manage configs by > hand. > > Configs consts of the list of libs to check, header files and compile flags. > > Th

Re: [Nix-dev] systemd in initrd

2014-10-21 Thread Luca Bruno
ix-build nixos/tests/luks.nix -A driver --arg interactive true result/bin/nixos-run-vms Branch: https://github.com/lethalman/nixpkgs/tree/systemd Will come back later to luks (missing yubikey support). Next step is lvm. On Tue, Oct 21, 2014 at 12:52 AM, Luca Bruno wrote: > Update on systemd-ini

[Nix-dev] About 14.11 release

2014-10-22 Thread Luca Bruno
I appreciate the work being done by Domen and jumping in as release manager. I'd like to point out a few things however about the milestone issues. The release should be due for October 31th, and in my vision the date is near and the work put in the milestone is huge. Take this as a help for the re

Re: [Nix-dev] About 14.11 release

2014-10-22 Thread Luca Bruno
On 22/10/2014 17:39, Shea Levy wrote: > 14.11 is due 11/31 :) Ah, this needs to be updated then :) https://github.com/NixOS/nixpkgs/milestones However, most of what I wrote still applies. Give priority to most important stuff in my opinion, even if such stuff is much more boring. Once higher priori

[Nix-dev] NixOS artwork repository created

2014-10-24 Thread Luca Bruno
I'm announcing the nixos-artwork repository [1]. The idea is to add some nixos-branded images, wallpapers to our distribution. The first issue is the 14.11 release [2], I've created a simple gnome wallpaper however I'm trying to figure out where the gimp source is on my disk :P When adding artwor

Re: [Nix-dev] nix-exec 2.0.0 released

2014-10-24 Thread Luca Bruno
Wondering about the clash about your nix-exec, and this nix-exec: http://datakurre.pandala.org/2014/09/nix-expressions-as-executable-commands.html On Fri, Oct 24, 2014 at 11:10 PM, Shea Levy wrote: > Hi all, > > I'm proud to announce the release of nix-exec 2.0.0. From the release > notes [1]: >

Re: [Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

2014-10-26 Thread Luca Bruno
This is all becoming too restrictive. I think merge the PR and go on. If it just doesn't work, revert. If it e.g. builds on linux and not on darwin, just remove from platforms. I'd please everybody to not put too bureaucracy in the process. Keeping hydra to zero is frustrating, as well as accumulat

Re: [Nix-dev] systemd in initrd

2014-10-29 Thread Luca Bruno
Ok I'm stuck :) lvm works, that's simple... luks works, but lvm on luks does not. I've forwarded the problem in the systemd mailing list here [1]. I've pushed very hacky commits in the systemd branch [2]. To use it: 1) Enable the vdaDisk service in nixos/tests/luksLvm.nix 2) nix-build nixos/tests/

Re: [Nix-dev] Trouble with pygobject

2014-10-31 Thread Luca Bruno
What pygobject are using? Please write down the .nix expression. On Fri, Oct 31, 2014 at 10:45 PM, Richard Wallace < rwall...@thewallacepack.net> wrote: > On Fri, Oct 31, 2014 at 12:05 PM, Bjørn Forsman > wrote: > >> Hi Richard, >> >> On 31 October 2014 19:28, Richard Wallace >> wrote: >> > Hey

Re: [Nix-dev] Trouble with pygobject

2014-10-31 Thread Luca Bruno
uot;, > line 2171, in load > ['__name__']) > File > "/nix/store/wm1ybs2040xxw8r7d4448qifjb0ckazg-python3.4-pithos-1.0.1/lib/python3.4/site-packages/pithos/pithos.py", > line 26, in > from gi.repository import Gst, GstPbutils, GObject, Gtk, Gdk, Pango, &

Re: [Nix-dev] Travis false-positives

2014-11-02 Thread Luca Bruno
I can try re-enable my hydra trunk-combined for this. Only x86-64, is that fine? On Sun, Nov 2, 2014 at 11:24 AM, Georges Dubus wrote: > Hello > > I'm the one who set up travis. I usually monitor the pull requests for > false positives, but I've missed this one. It is now fixed. > > The travis h

Re: [Nix-dev] NixOS Live CD (Graphic) Boot Failure

2014-11-02 Thread Luca Bruno
There's no web interface for nixos installations, if that's what you asked for. On Sun, Nov 2, 2014 at 5:46 PM, J. Brian Kelley wrote: > To start, my hardware is: > > Mainboard - Asrock 4Core1600Twins-P35 > CPU - Intel Core2 Duo E7200 > No IDE disks ( and IDE controller is disabled in Bios) > 1

Re: [Nix-dev] deploying nix-built software to non-nix linux systems

2014-11-04 Thread Luca Bruno
On 04/11/2014 00:36, Anders Papitto wrote: > Hello, > > I'm interested in using nix/nixos to build an application with its > full set of dependencies, and then deploy it to non-nixos machines as > a self-contained package (up to and including the system libraries), > without root privileges. Ideall

Re: [Nix-dev] Installing in $HOME and datadir

2014-11-06 Thread Luca Bruno
On 06/11/2014 16:05, Pjotr Prins wrote: > On Thu, Nov 06, 2014 at 02:39:47PM +, Wout Mertens wrote: >>So is proot much slower than native? I suppose it also depends on the >>kernel version. > It is slower because it intercepts a number of system calls and > rewrites paths and permission

Re: [Nix-dev] installing NixOS in a VirtualBox

2014-11-07 Thread Luca Bruno
On 07/11/2014 13:07, Dmitry Malikov wrote: > Hello, > > I'm installing nixos-minimal-14.04.559.ffb3ead-x86_64-linux in a > VirtualBox and strange error appeared > > > > Here is my configuration.nix file > > > > And here is fdisk -l output > > > > Any ideas what is wrong with it? > > // sorry for th

[Nix-dev] GNOME 3.10, 3.14 and policy

2014-11-14 Thread Luca Bruno
Now that staging has landed in master, GNOME 3.12 is the default gnome3 attribute in nixpkgs. >From hydra builds it seems that none of the failures are relative to this switch, therefore I've dropped GNOME 3.10. For those still using the GNOME 3.10 desktop I please to upgrade. If you want to stick

Re: [Nix-dev] Using Nix for deterministic and verifiable builds

2014-11-16 Thread Luca Bruno
Thanks for your interest. I don't know much of trust and verification of Nix deployments. I leave this answer to the Nix author. I wanted to point out to this PR which is relevant: https://github.com/NixOS/nixpkgs/pull/2281 Best regards, ___ nix-dev mail

[Nix-dev] My new email signature

2014-11-17 Thread Luca Bruno
Does it look good on your email clients? :) -- `_|_ -/ \/ NixOS /\_ _/- Linux | ` ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] My new email signature

2014-11-18 Thread Luca Bruno
On 18/11/2014 09:56, Andreas Herrmann wrote: > KMail 4.11.5 here: http://i.imgur.com/65WDu9p.png Ouch. Have to test it better with non-fixed fonts :) Thanks. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo

Re: [Nix-dev] Can't upgrade NixOS

2014-11-18 Thread Luca Bruno
On 18/11/2014 15:12, Anderson Torres wrote: > Hello, Nixers! I have a problem here... > > I have updated the NixOS channels, but they are bugged. Do you have anything in particular in systemPackages? I fear something in there in your configuration is broken due to the upgrade. _

Re: [Nix-dev] Nix clobbered my Ubuntu grub.cfg

2014-11-21 Thread Luca Bruno
On 21/11/2014 03:46, Joe Hillenbrand wrote: > I want to dual-boot Ubuntu and NixOS on my laptop. > > Ubuntu, because Unity has good touchscreen support and my laptop has a > touchscreen, and NixOS, because I want to learn it for work and I will > only learn it best if I am forced to use it fullish-

Re: [Nix-dev] Error in travis that I can't reproduce on my system

2014-11-21 Thread Luca Bruno
On 21/11/2014 08:53, Andreas Herrmann wrote: > Hi, > > I'm working on a PR[1] to add the blitz++ library[2] to Nixpkgs. However, I'm > baffled by an error that travis produces [2, line 822]. The package builds > fine on my Nix in openSUSE as well as on NixOs in a virtualbox. It seems to > be som

Re: [Nix-dev] NixOS 14.11 branch-off delayed for a few days

2014-11-21 Thread Luca Bruno
I don't think the networkmanager PR should be blocked by those documentation issues. Also renaming the systemd service from NetworkManager to network-manager is out of question for the release. The documentation issues are not part of that PR and shouldn't be fixed by that PR. So if the installer

Re: [Nix-dev] Hydra to build RPMs

2014-12-04 Thread Luca Bruno
On 04/12/2014 04:58, stewart mackenzie wrote: > What happens: > Hydra's UI displays this error message: > " > in job ‘fedora13_x86_64’: > value is a function while a set was expected, at > [1m/nix/store/hqkfnyz4h7lgsbp5vs7a33za2m27xaif-git-export/release.nix > [0m:56:27 > " > > Release.nix contents

Re: [Nix-dev] Change default shell of `nix-shell`

2014-12-04 Thread Luca Bruno
On 04/12/2014 08:12, YCH wrote: > Hello, > > How could I change default shell(command) of `nix-shell`? > > Thanks. > Try NIX_BUILD_SHELL=... nix-shell However take in mind that most packages in nixpkgs assume bash. ___ nix-dev mailing list nix-dev@lists.

Re: [Nix-dev] Hydra to build RPMs

2014-12-04 Thread Luca Bruno
On 04/12/2014 10:50, stewart mackenzie wrote: > package libcouchbase2-libevent doesn't exist at > /nix/store/y5k3njz42s6688bjz4qam0wg2j9vzy5k-rpm-closure.pl line 129. > builder for > `/nix/store/r2d693k8jmzwa235zzc0fqw4vfhlcvji-fedora-17-x86_64.nix.drv' > failed with exit code 255 > error: build o

Re: [Nix-dev] Making Nix use pivot_root in addition to chroot

2014-12-05 Thread Luca Bruno
Not a nix dev, but I think by adding an option to nix.conf to use pivot_root makes the patch unobtrusive and easy to merge. On Thu, Dec 4, 2014 at 12:24 PM, Harald van Dijk wrote: > Hello, > > I've recently been trying to use Nix in a somewhat different way than > NixOS, and the builders I've go

Re: [Nix-dev] Cannot import scipy

2014-12-06 Thread Luca Bruno
First of all, nix-env -i env-scipy installs an environment, that you must load with load-env-scipy. Second, you better add python to the buildInputs. On Sat, Dec 6, 2014 at 4:18 PM, Tom Dimiduk wrote: > I am running nixos-unstable, and having trouble getting scipy to import. > > I attempted to f

Re: [Nix-dev] when to use $out/nix-support

2014-12-06 Thread Luca Bruno
Depends on the package. On Sat, Dec 6, 2014 at 4:49 PM, wrote: > I have question about Nix proper, independent of Nixpkgs or NixOS. > > What kinds of attributes are appropriate as passthrough attributes on > a derivation set, > and which attributes are appropriate to be written out to the store

Re: [Nix-dev] batti not showing icons in tray

2014-12-06 Thread Luca Bruno
I don't use such trays, but if it's a gtk socket, I fear it's the panel that needs to find the icon because the applet is getting embedded. A wild guess is to try installing batti (try nix-env or systemPackages). On Sun, Dec 7, 2014 at 1:04 AM, Richard Wallace wrote: > Hi all, > > I use a minima

Re: [Nix-dev] batti not showing icons in tray

2014-12-06 Thread Luca Bruno
ed that it is a problem with the system tray itself. > pasystray uses the same gtk systray API to set the status icon and it > works fine (after the PR you merged a bit earlier :)). > > Rich > > On Sat, Dec 6, 2014 at 5:06 PM, Luca Bruno wrote: > >> I don't use such tray

Re: [Nix-dev] Making Nix use pivot_root in addition to chroot

2014-12-09 Thread Luca Bruno
It still needs linux-user-chroot to be suid, doesn't it? On Tue, Dec 9, 2014 at 9:04 PM, Colin Walters wrote: > On Thu, Dec 4, 2014, at 06:24 AM, Harald van Dijk wrote: > > Hello, > > > > I've recently been trying to use Nix in a somewhat different way than > > NixOS, and the builders I've got,

Re: [Nix-dev] Start testing 14.12 (pre-)release

2014-12-10 Thread Luca Bruno
This is a bug, interfaces must still be predictable. May it be a problem introduced by https://github.com/NixOS/nixpkgs/commit/cbd30b2bde17a87075138cf0443f110e5ac0e373 ? On Wed, Dec 10, 2014 at 11:53 PM, Peter Simons wrote: > > $ nix-channel --add http://nixos.org/channels/nixos-14.12 nixos >

Re: [Nix-dev] Start testing 14.12 (pre-)release

2014-12-11 Thread Luca Bruno
On 11/12/2014 10:07, Tino Breddin wrote: > The original PR negated the optionalString condition. Can you test > whether that makes it work as expected? No it's not supposed to work like that. It's correct to have that file. Perhaps that file is out of date. _

Re: [Nix-dev] Ejabberd Options

2014-12-15 Thread Luca Bruno
On 15/12/2014 12:28, stewart mackenzie wrote: > So with the kind help of this list and on IRC, a private instance of > ejabberd can compile over our hydra. Now I need to get these options > into the same build as per > https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/e

Re: [Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix

2014-12-15 Thread Luca Bruno
On 15/12/2014 13:09, Carlo Nucera wrote: > Hi all, > I'm packaging some Haskell stuff, and I begin to use the -m option > in cabal2nix to add myself as a mantainer for the packages I want to > keep in good shape. > > I'm packaging locally, overwriting the attributes in > ~/.nixpkgs/config.nix. Unfo

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Luca Bruno
On 16/12/2014 05:31, stewart mackenzie wrote: > Luca, here is my config, I've stripped everything that isn't pertinent > to the testing setup (which will use NixOS). > > I've pointed my hydra nixpkgs jobset input to my github nixpkgs fork > on the ejabberd branch which contains this commit: > https

Re: [Nix-dev] Adding a name to mantainers list via ~/.nixpkgs/config.nix

2014-12-16 Thread Luca Bruno
On 16/12/2014 04:58, Carlo Nucera wrote: > Hi Bruno, > I don't know how to do that mantaing my ~/.nixpkgs/config.nix, which looks > like: > > { > packageOverrides = pkgs: rec { > haskellPackages = pkgs.recurseIntoAttrs ( > pkgs.haskellPackages.override { > extension = self: sup

Re: [Nix-dev] Ejabberd Options

2014-12-16 Thread Luca Bruno
On 16/12/2014 10:56, stewart mackenzie wrote: > Absolutely Luca, you're absolutely right. > > I suspect a book needs to be written on NixOS + Hydra + Nixops, this > will be a good way to formalize knowledge and share it. > > Do you know of any books in progress? The best you can do is reading the n

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Luca Bruno
No need for --chroot, it already uses /mnt. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How do I chroot into my NixOS partition?

2014-12-16 Thread Luca Bruno
g the symlinks. On Wed, Dec 17, 2014 at 12:01 AM, Jascha Geerds wrote: > > On Tue, Dec 16, 2014, at 23:56, Luca Bruno wrote: > > No need for --chroot, it already uses /mnt. > > I think he would like to chroot into an existing NixOS installation. As > far as I know nixos-in

Re: [Nix-dev] Adoption of C4

2014-12-19 Thread Luca Bruno
On 19/12/2014 17:21, stewart mackenzie wrote: > Checking that the patch is correct then hitting the merge button is > hardly dirty work, but its better than deep code review maintainers > burning out, whom tend to become a tad nasty. Causing a vicious cycle. > > Who does the dirty work? Those peopl

Re: [Nix-dev] Avoiding threads in the daemon

2014-12-19 Thread Luca Bruno
On Fri, Dec 19, 2014 at 10:31 PM, Ludovic Courtès wrote: > > Hmm, I’m not convinced about the whole threads-for-convenience approach > à la Java. (I think the ideal is a single-threaded event loop; of > course we want to avoid IoC, and this is where FRP or monads come in.) > It is instead for t

Re: [Nix-dev] NixOS 14.12 released

2014-12-31 Thread Luca Bruno
Thanks a lot to everybody for the effort. Will be a great release. On Wed, Dec 31, 2014 at 2:13 PM, Rok Garbas wrote: > Awesome news! tnx everybody. > Domen you rock! > > On Wed, Dec 31, 2014 at 1:29 PM, Jascha Geerds wrote: > > Awesome! Thanks to everyone and especially Domen. > > > > -- > >

Re: [Nix-dev] Nix as an Erlang Package Manager

2014-12-31 Thread Luca Bruno
I get an empty response from the server from those urls. Nix is currently re-packaging python, haskell, nodejs packages etc. So I'm sure nix would do the job for erlang too, without the need to roll your own package manager. On Wed, Dec 31, 2014 at 3:29 AM, Eric des Courtis < eric.des.cour...@gma

Re: [Nix-dev] Change in networking with 15.05?

2014-12-31 Thread Luca Bruno
Could you try reverting cbd30b2bde17a87075138cf0443f110e5ac0e373 ? On Tue, Dec 30, 2014 at 5:44 PM, Thomas Bereknyei wrote: > Upgrading from 14.02pre5678.gfedcba to the nixos-unstable ( > http://nixos.org/releases/nixos/unstable/nixos-15.05pre54730.cbe467e/) > seems to removes the non-loopback n

  1   2   3   4   >