[Nix-dev] SVN commit 15740

2011-10-12 Thread Vladimír Čunát
Hi. +if ! test -e /etc/NIXOS; then +echo This is not a NixOS installation (/etc/NIXOS) is missing! +exit 1 +fi What is /etc/NIXOS (capitalized)? Have I missed something? I can't switch configurations now. Vlada ___ nix-dev mailing list

Re: [Nix-dev] SVN commit 15740

2011-10-12 Thread Vladimír Čunát
2011/10/12 Lluís Batlle i Rossell virik...@gmail.com: A way to distinguish whether you try to run 'nixos-rebuild' in nixos, or in non-nixos. If you are in nixos, run 'touch /etc/NIXOS' simply. If not, what are you trying to do? Thanks, I just wondered if something more important has changed.

[Nix-commits] SVN commit: nix - r29794 - nixpkgs/trunk/pkgs/games/wesnoth

2011-10-12 Thread Vladimír Čunát
Author: vcunat Date: Wed Oct 12 19:16:15 2011 New Revision: 29794 URL: https://nixos.org/websvn/nix/?rev=29794sc=1 Log: Fixing package naming in wesnoth broken by r27666 Modified: nixpkgs/trunk/pkgs/games/wesnoth/default.nix Modified: nixpkgs/trunk/pkgs/games/wesnoth/default.nix

Re: [Nix-dev] Why Nix-0.16 so hungry on ressources (mem + cpu) ?

2011-11-07 Thread Vladimír Čunát
I'm sorry I reply so late. Thanks, Eelco, for fixing the bug, the number seemed suspicious. Nevertheless, evaluating by package name is still quite memory-hungry - you had around 350MB, my htop reports around 12% of 4GB on evaluating nix-env -qas --description \* which I use to cache the names.

[Nix-dev] Kde 4.8 broken in trunk

2012-02-07 Thread Vladimír Čunát
Hi, I tried kde48 in svn trunk and quickly run into runtime problems. I found the trouble was probably caused by inconsistently linked qt - some dependencies were still built against qt although most was built against qt48. Building everything against qt48 fixed that for me but I'm not sure

Re: [Nix-dev] Halting from kde, or exiting session

2012-02-07 Thread Vladimír Čunát
Hi. On 02/07/2012 11:22 PM, Lluís Batlle i Rossell wrote: since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Xfce often does me a similar thing when /var/run/current-system !=

Re: [Nix-dev] broadcom driver

2012-02-07 Thread Vladimír Čunát
Hi. On 01/27/2012 03:00 PM, Sander van der Burg - EWI wrote: I still don't know if it's ok to update the broadcom-sta driver. it may be very well possible that the mutex sema problem is fixed in this newer version, although I'm not completely sure. I need to use a recent kernel on my

[Nix-commits] SVN commit: nix - r32076 - nixpkgs/trunk/pkgs/os-specific/linux/broadcom-sta

2012-02-06 Thread Vladimír Čunát
Author: vcunat Date: Mon Feb 6 19:06:47 2012 New Revision: 32076 URL: https://nixos.org/websvn/nix/?rev=32076sc=1 Log: Patched broadcom_sta with for kernels 2.6.39 and 3.2 Patches taken from Gentoo, builds OK now. Added: nixpkgs/trunk/pkgs/os-specific/linux/broadcom-sta/linux-2.6.39.patch

Re: [Nix-dev] Hardcoding /var/run/current-system in nixpkgs

2012-02-13 Thread Vladimír Čunát
Hi. On 02/13/2012 08:45 PM, Michael Raskin wrote: Currently quite a few packages in nixpkgs have /var/run/current-system/sw and/or /var/setuid-wrappers hardcoded. Why is it better than having /usr? Although suboptimal, it is better than /usr/ because upstream packages themselves don't do this

Re: [Nix-dev] donating through hydra

2012-02-28 Thread Vladimír Čunát
On 02/28/2012 06:12 AM, Marc Weber wrote: And then? Do the same as current buildfarm does? Duplicate work by building subversion revisions? Or be a slave of the official buildfarm (in which case all users have to trust your server as well?) Hi, I have been thinking about a distributed

Re: [Nix-dev] Best practice to keep a nixos system updated

2012-03-08 Thread Vladimír Čunát
On 8 March 2012 12:06, Marco Maggesi magg...@math.unifi.it wrote: 1. go to the hydra queue (http://hydra.nixos.org/queue); 2. if there are jobs running, wait a few hours; 3. otherwise, run immediately nixos-checkout; nixos-rebuild boot; nix-env --always -u \* and hope that the compilation

Re: [Nix-dev] [PATCH] Put old generations in grub submenu (NixOS)

2012-03-12 Thread Vladimír Čunát
I have made a patch which adds an option (config.boot.loader.grub.oldVersionsInSubmenu) for hiding the old versions of the system in a submenu to reduce cluttering. Awesome ! Indeed, I didn't know about the existence of this feature in Grub. I would suggest making it the default

Re: [Nix-dev] Java support in Firefox, or java in general

2012-05-24 Thread Vladimír Čunát
Hi, I just run into the Java problems, too. On 1 April 2012 12:02, Lluís Batlle i Rossell vi...@viric.name wrote: Looking in my /nix/store, those kind of symbols appear only in gcc 3.x libs. Maybe the binary packagers of 1.6.0_32b03 built it for gcc 3.x? Or I picked wrong files from the java

Re: [Nix-dev] Java support in Firefox, or java in general

2012-05-24 Thread Vladimír Čunát
There is 'openjdk'... I think Shlevy worked with it. I don't really know much about what jvm we should use for java. I did some quick probe of the most popular distributions and it seems that openjdk is the default everywhere. Often without any alternative, so I suppose there are some reasons

Re: [Nix-dev] nix-prefetch-git in nixpkgs

2012-06-06 Thread Vladimír Čunát
Hi. On 4 June 2012 21:01, Lluís Batlle i Rossell vi...@viric.name wrote: I can't understand how nix-prefetch-git works. If I call:  ./nix-prefetch-git git://gitorious.org/qt-labs/jom.git v1.0.11 it does not fetch anything and gives always the same hash. If I call:  ./nix-prefetch-git --url

Re: [Nix-dev] Git migration progress

2012-06-06 Thread Vladimír Čunát
On 5 June 2012 19:17, Eelco Dolstra eelco.dols...@logicblox.com wrote: I've now moved the Nixpkgs/NixOS Git repositories to the NixOS organisation on GitHub: - https://github.com/NixOS/nixpkgs - https://github.com/NixOS/nixos (Actually I deleted the ones on my GitHub account and recreated

Re: [Nix-dev] KDE is constantly crashing.

2012-06-06 Thread Vladimír Čunát
On 20 April 2012 20:47, rocon...@theorem.ca wrote: Recently I've been constantly having KDE (kinit) segfault on me after a few minutes of being on.  Is there anything I can do to stop this from happening.  This is possibly due to upgrading KDE a few weeks ago. Well, my kde applications often

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] 9ca3cc: automake-1.11.x: update to version 1.11.6

2012-07-11 Thread Vladimír Čunát
Hi. On 07/10/2012 10:31 PM, Peter Simons wrote: Yeah, maybe we should. It's just that going through that procedure creates a *lot* of overhead. Branches are cheap, alright, but most of us don't have a way to configure Hydra. Couldn't there be a branch directory that would be built by Hydra?

Re: [Nix-dev] Patch for broadcom_sta and linux 3.4

2012-07-19 Thread Vladimír Čunát
On 07/18/2012 06:37 AM, Kevin Quick wrote: The following patch to the broadcom_sta packages is needed for linux 3.4, which dropped the asm/system.h include file: Committed to trunk with modifications to work on *all* kernels, see

Re: [Nix-dev] Nix 1.1 released

2012-07-19 Thread Vladimír Čunát
Hi. On 07/19/2012 04:03 AM, Eelco Dolstra wrote: I'm pleased to announce the availability of a new stable release of the Nix package manager. Release 1.1 can be found at http://hydra.nixos.org/release/nix/nix-1.1 This release has the following improvements: This sounds very good with

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] c6a2a1: ffmpeg: Update to latest version 0.11.1.

2012-07-23 Thread Vladimír Čunát
Hi. On 07/23/2012 08:55 PM, Eelco Dolstra wrote: Log Message: --- ffmpeg: Update to latest version 0.11.1. This breaks gst-ffmpeg: http://hydra.nixos.org/build/2890552/ I tried this several weeks ago and there were more newly broken packages, e.g. kdemultimedia. I also

[Nix-dev] Nix in master

2012-07-24 Thread Vladimír Čunát
Hi, I can't build nix in master as one test fails. Is it possible? This NixOS I build it on hasn't been updated for many months but still, the builds should be pure. I'll also run nix-store --verify --check-contents just to be sure -- that's perhaps why I'm not getting nix via substitutes, but it

[Nix-dev] Nix in master

2012-07-24 Thread Vladimír Čunát
On 24 July 2012 16:56, Eelco Dolstra eelco.dols...@logicblox.com wrote: It would be helpful if you showed *which* test fails (including the output of that test). Here's the build log, if you can find it there http://www.ms.mff.cuni.cz/~cunav5am/nix.log P.S.: I forgot the the attachment was so

Re: [Nix-dev] security - observing changes - example authorizedKeys

2012-07-24 Thread Vladimír Čunát
On 22 July 2012 15:45, Marc Weber marco-owe...@gmx.de wrote: And trusting the nix store hash sums (nix-store --verify --check-contents) is not safe either - because the database could have been compromised (then the attacker would know nixos very well). One can do it like in git: if you have

Re: [Nix-dev] Problems using git on darwin

2012-07-24 Thread Vladimír Čunát
On 22 July 2012 17:55, Marco Maggesi magg...@math.unifi.it wrote: https://github.com/maggesi/nixpkgs.git/info/refs I sometimes have this problem with github, but using http instead of https has always solved it for me. I don't need safe fetching. Vlada

Re: [Nix-dev] creating a channel as an extension of the nixos channel, not a replacement

2012-07-24 Thread Vladimír Čunát
On 20 July 2012 15:06, Mathijs Kwik math...@bluescreen303.nl wrote: Is there a way to do this? Or are channels just designed to be monolithic and self-contained without inter-channel dependencies at the moment? IMHO the channels are designed to be self-contained at the moment, but what you

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] c6a2a1: ffmpeg: Update to latest version 0.11.1.

2012-07-24 Thread Vladimír Čunát
On 24 July 2012 17:55, Eelco Dolstra eelco.dols...@logicblox.com wrote: Reverted to ffmpeg 0.10 for the moment because this blocks NixOS releases. Right, ffmpeg changes should IMHO be in a separate branch anyway (e.g. stdenv), there are loads of transitively affected packages. Moreover, the

Re: [Nix-dev] Nix in master

2012-07-24 Thread Vladimír Čunát
On 24 July 2012 18:52, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hm, I have no idea why misc.sh fails. Could you try the latest stable release (Nix 1.1)? http://www.ms.mff.cuni.cz/~cunav5am/nix-2.log Fortunately the machine is very fast and not in this room :-) Linux haf 2.6.38.4 #1 SMP

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] c6a2a1: ffmpeg: Update to latest version 0.11.1.

2012-07-24 Thread Vladimír Čunát
On 24 July 2012 19:20, Florian Friesdorf f...@chaoflow.net wrote: I understand the wish for having it in one expression and keep duplication low. But I think the expressions should be as simple as possible and, as Eelco says, with the possibility to change them independently. Well, OK, it

Re: [Nix-dev] Generating nix expression vs. ad-hoc generation of derivations (was: Re: [Nix-commits] [NixOS/nixpkgs] c6a2a1: ffmpeg: Update to latest version 0.11.1.)

2012-07-24 Thread Vladimír Čunát
do you not like about this approach and in what way do you think generating derivations on the fly is better? I see storing the generated expressions *only as a caching mechanism*. Nothing less, nothing more. On Tue, 24 Jul 2012 19:40:27 +0200, Vladimír Čunát vcu...@gmail.com wrote: If we

Re: [Nix-dev] How can we test changes before pushing them to master?

2012-07-24 Thread Vladimír Čunát
On 24 July 2012 20:34, Cillian de Róiste cillian.deroi...@gmail.com wrote: Perhaps other people already have similar scripts or workflows or ideas of how we could go about this? My idea: -1. nix-instantiate could generate the derivations of all evaluable expressions -2. the build-dependency

Re: [Nix-dev] How can we test changes before pushing them to master?

2012-07-24 Thread Vladimír Čunát
On 24 July 2012 21:46, Eelco Dolstra eelco.dols...@logicblox.com wrote: Perhaps other people already have similar scripts or workflows or ideas of how we could go about this? Maybe something like: $ nix-env -f . -qaP \* --drv-path | sort l1 (...modify package...) $ nix-env -f . -qaP \*

[Nix-dev] Scribus update and boost dep

2012-08-07 Thread Vladimír Čunát
commit 9b1eb47711e41caaf1b24ccda925bee4df439c86 Author: Vladimír Čunát vcu...@gmail.com Date: Tue Aug 7 11:19:11 2012 +0200 Scribus minor update, modifying dependencies. - using the boost dep to build scribus with 2geom (internal) - adding more xorg deps to build with XCB support

Re: [Nix-dev] Scribus update and boost dep

2012-08-07 Thread Vladimír Čunát
On 08/07/2012 05:01 PM, Lluís Batlle i Rossell wrote: Have you checked if boost headers are enough? No, I don't have any experience with this. I see that the scribus binary *doesn't* link to anything in boost so it only seems as a build dependency anyway. Vlada smime.p7s Description:

Re: [Nix-dev] libreoffice problems

2012-09-03 Thread Vladimír Čunát
On 09/03/2012 11:31 PM, Lluís Batlle i Rossell wrote: Of course I've no idea why it segfaults. Upstream hasn't published 3.6.1 in their webpages for download links of prebuilt binaries, but I think it's because they are late building. Who knows. I don't have time to investigate. But I can see

Re: [Nix-dev] uncaught impurity(?)

2012-09-12 Thread Vladimír Čunát
On 09/11/2012 08:04 PM, Marco Maggesi wrote: I have nix+nixpkgs installed on an ubuntu machine. Today an update of the underling ubuntu os broke something in the nix installation, e.g.: root@bantu:~# nix-channel --update /nix/store/xh2349hvdvkvazh0fn9dz4z7za35iig4-curl-7.22.0/bin/curl:

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] 8ea11e: ffmpeg: update to 1.0

2012-09-30 Thread Vladimír Čunát
Hi. On 09/30/2012 01:00 AM, Eelco Dolstra wrote: ffmpeg: update to 1.0 This breaks a lot of things: http://hydra.nixos.org/eval/742774 It's the same situation all the time. We shouldn't have packages depending on ffmpeg's newest branch directly, because major ffmpeg branch updates will

[Nix-dev] Nix(OS) at LinuxDays in Prague

2012-09-30 Thread Vladimír Čunát
Hi. On 07/09/2012 01:46 PM, Florian Friesdorf wrote: I'm attending HOPE 9 [1] and will promote NIX there. In case somebody is in the vicinity, I'm in NYC July 9th - 16th. On a similar topic: in three weeks I'm going to present a 20-minute talk about Nix(OS) on [LinuxDays] in Prague (CZ).

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-10 Thread Vladimír Čunát
Hello. On 10/09/2012 03:32 PM, Eduard Carreras i Nadal wrote: Hello, I'm trying to add some goodies to xfce4 like panel plugins. I've done the nix expression [1][2], then added to pkgs/desktops/xfce-4.8/default.nix[3]. [...] Then I tried to install this package with nix-env -i

Re: [Nix-dev] how to install load kernel module wl?

2012-10-10 Thread Vladimír Čunát
Hi. On 10/10/2012 04:10 PM, Marc Weber wrote: man configuration.nix There is a system option 'extraKernelPackages' or such (boot section). Why doesn't nix-env -i work? Because modprobe is a wrapper which is passed a module directory which is assembled by nixos. And that module directory is

Re: [Nix-dev] Merging x-updates?

2012-10-10 Thread Vladimír Čunát
Hi. On 10/10/2012 07:42 PM, Peter Simons wrote: I would like to see the 'x-updates' branch re-integrated into 'master', because I need some of those updates to fully support my integrated Intel chipset. Is there anything that's preventing us from merging those updates into 'master'? Only a

Re: [Nix-dev] Merging x-updates?

2012-10-10 Thread Vladimír Čunát
On 10/10/2012 08:08 PM, Eelco Dolstra wrote: Well, some testing would be good. I was about to send a mail about that but you beat me to it. :-) So, everybody: please test the x-updates branch. If you have a recent Nix prerelease, you may want to use --option binary-caches

Re: [Nix-dev] enableParallelbuilding for many packages

2012-10-26 Thread Vladimír Čunát
On 10/26/2012 12:36 AM, Marc Weber wrote: Buildfarm: You're wrong and you know it. Parallelizing nix builds is easy (scaling horizontally) - You can write your own Amazon buildfarm within one day which scales automatically probably. The problem is time to get a new build - and for that (security

Re: [Nix-dev] Distribution compatibility

2012-12-15 Thread Vladimír Čunát
Hi, I quite don't see why such efforts would be worthwhile (just my personal opinions... and maybe I misunderstand you). 1) Why would you want a snapshot of another distribution's installation in nix store (or anything equivalent)? You would better install into VM (the other distributions

Re: [Nix-dev] How do I add Firefox extensions?

2012-12-17 Thread Vladimír Čunát
On 12/16/2012 03:22 AM, Bill Trost wrote: Is this why it's called the unstable channel? :-) It looks like gecko-mediaplayer is failing because gcc is too new for the version in the tree. Well, some packages aren't used and thus they're unmaintained and get stale easily. I believe I just

Re: [Nix-dev] How do I add Firefox extensions?

2012-12-18 Thread Vladimír Čunát
On 12/18/2012 03:50 AM, Bill Trost wrote: I'm a little amazed out how difficult this is turning out to be -- it seems like getting videos playing in Firefox should be basic, out-of-the-box functionality, not an exercise in distro management (I get to do enough of that at work, thank you!). The

Re: [Nix-dev] localizing firefox

2013-01-08 Thread Vladimír Čunát
On 01/08/2013 04:46 PM, Sergey Mironov wrote: Ok, got it. Firefox has a general.useragent.locale option in about:config. Changing it to 'ru' (in my case) makes any additional command-line options unnecessary. Do you have LANG=ru in the environment? I thought after that most programs should

Re: [Nix-dev] [***SPAM***] var directory

2013-01-08 Thread Vladimír Čunát
Hi. On 01/08/2013 07:47 PM, Christopher Howard wrote: I was wondering, in building the software, how does Nix handle the location of /var? I know that software built with autotools usually allows one to change the location of the local state directory. Does Nix change this to some new location?

Re: [Nix-dev] bsd-games-2.17: monop

2013-01-08 Thread Vladimír Čunát
On 01/09/2013 01:04 AM, Christopher Howard wrote: On my system, the bsd-games-2.17 package installed an essential data file for the monop game to ~/.nix-profile/share/games/monop-cards.pck. However, the monop game dies trying to get this file from /usr/share/games/monop-cards.pck. Is this an

Re: [Nix-dev] query package meta information

2013-01-08 Thread Vladimír Čunát
On 01/09/2013 03:14 AM, Christopher Howard wrote: Is there a convenient tool available already for querying the meta data of a package and displaying it in a nice format? I was able to get the info with nix-env -qa --meta --xml, but the xml output is a bit much. It wouldn't be hard to make such

Re: [Nix-dev] reproducable systems at a (much) later point / archive.org

2013-01-10 Thread Vladimír Čunát
On 01/09/2013 10:19 PM, Ludovic Courtès wrote: Florian Friesdorf f...@chaoflow.net skribis: Given that nix would support a last-resort mirror and given we could convince some instution (e.g. archive.org) to provide such a mirror, the world would be always able to exactly reproduce software

Re: [Nix-dev] understanding Nix: dependencies

2013-01-10 Thread Vladimír Čunát
On 01/10/2013 08:07 PM, Shea Levy wrote: The long answer is: Currently, the way we build most of our packages the build time dependencies (e.g. where do I get my library headers) and the run time dependencies (e.g. which library do I link to) are the same, so updating the run time dependencies

[Nix-dev] Nix dependencies

2013-01-10 Thread Vladimír Čunát
Hi. This is a follow-up, but it considers a long-term thoughts of mine about nix package management evolution. I'll be glad to read your opinions. On 01/10/2013 08:26 PM, Vladimír Čunát wrote: there are external-runtime dependencies (let me call them that), like executables from other

Re: [Nix-dev] understanding Nix: dependencies

2013-01-12 Thread Vladimír Čunát
On 01/11/2013 08:46 PM, Shea Levy wrote: OK, I've now implemented one such solution: https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18 . So now in the event a rebuild would be too costly, you can still patch a broken/insecure dependency without breaking nix

Re: [Nix-dev] ffmpeg 1.1

2013-01-14 Thread Vladimír Čunát
On 01/13/2013 11:03 PM, Mathijs Kwik wrote: A quick look at all-packages.nix shows that the following packages currently use ffmpeg 1.0: - vlc - cfdg If these 2 compile fine with 1.1, then 1.1 can replace 1.0, otherwise just have 1.0 and 1.1 I would call it 1.1 for now, as ffmpeg upgrades

Re: [Nix-dev] Providing more explicit nix installation instructions

2013-01-14 Thread Vladimír Čunát
On 01/14/2013 12:54 PM, Florian Friesdorf wrote: Ellis Whitehead ellis.whiteh...@gmail.com writes: (..) Sometimes things have worked out, sometimes they haven't. Usually, the documentation lacks a bit of explicit (sometimes vital) detail. Since I'll probably go through this processes

Re: [Nix-dev] Nix failed to build on FreeBSD 9.1

2013-01-14 Thread Vladimír Čunát
The first error I see is that the type command doesn't recognize its parameter -p. I've never used any BSD, so I'm quite unaware of the differences. BDW, on our build farm we have 32/64-bit binaries for freebsd AFAIK. Vlada smime.p7s Description: S/MIME Cryptographic Signature

Re: [Nix-dev] Nix failed to build on FreeBSD 9.1

2013-01-17 Thread Vladimír Čunát
On 01/17/2013 01:20 AM, Henry Lenzi wrote: On Tue, Jan 15, 2013 at 9:26 PM, James Cook james.c...@utoronto.ca wrote: It looks like you're missing something related to docbook. Did you try installing the textproc/docbook port, or looking for other ports related to docbook? Yes, I did install

Re: [Nix-dev] chromiumDev logs missing from hydra

2013-01-19 Thread Vladimír Čunát
On 01/19/2013 08:07 PM, Florian Friesdorf wrote: I wanted to look at broken chromiumDev build: http://hydra.nixos.org/job/nixpkgs/trunk/chromiumDev but its logs are not available: http://hydra.nixos.org/build/3756070/nixlog/1/raw http://hydra.nixos.org/build/3759653/nixlog/1/raw How can that

Re: [Nix-dev] Let's merge 'stdenv-updates-gcc47' into 'stdenv-updates'

2013-01-21 Thread Vladimír Čunát
Hi. On 01/21/2013 12:42 PM, Eelco Dolstra wrote: Well, GCC updates tend to break many packages, so this will delay a stdenv-updates merge even further. I would prefer merging stdenv-updates into master first (to get the latest Glibc, and some other stuff) and do GCC 4.7 after that. Nice

Re: [Nix-dev] svn-revision empty / nixos channel as branch?

2013-01-21 Thread Vladimír Čunát
On 01/21/2013 05:12 AM, Florian Friesdorf wrote: I'm using the file to maintain branches channel-nixos of nixos and nixpkgs, so I can develop new features based on a supposedly more stable base. Oh, I'm using parts of those scripts as well. I was thinking of parsing

Re: [Nix-dev] svn-revision empty / nixos channel as branch?

2013-01-24 Thread Vladimír Čunát
On 01/22/2013 10:17 PM, Florian Friesdorf wrote: Am I correct, that the channel would be trunk-combined? http://hydra.nixos.org/jobset/nixos/trunk-combined That depends on your use case. I have only services in nixos and so I rebuild it very rarely. However, I quite often build or update

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-24 Thread Vladimír Čunát
On 01/20/2013 11:46 PM, Ludovic Courtès wrote: Technically, I believe an EDSL has more to offer than a DSL with its own implementation: tooling (compiler, debugger, REPL, editor support, etc.), libraries (SRFI-1, etc.), general-purpose features (data structures, i18n, networking, etc.), and

Re: [Nix-dev] Bundling nix-expressions with source code

2013-01-24 Thread Vladimír Čunát
On 01/24/2013 04:13 PM, Rickard Nilsson wrote: OK, I see why that is not feasible. The reason I ask, is that it seems reasonable that a Nix-aware upstream package developer should be able to define how the package should be built (dependencies, build flags etc), in tandem with the package

Re: [Nix-dev] Bundling nix-expressions with source code

2013-01-26 Thread Vladimír Čunát
On 01/25/2013 09:32 AM, Rickard Nilsson wrote: Den 2013-01-24 23:01:03 skrev Vladimír Čunát vcu...@gmail.com: I see nix is getting quite popular :-) The maintainer is of course welcome to maintain also the nix expression *within* nixpkgs, who else is a better candidate... Yes, absolutely

[Nix-dev] Adding runtime library search path

2013-01-26 Thread Vladimír Čunát
Hi. I'm having a problem with a program trying to find libgcc_s.so at runtime. I see that gcc has been stripped from rpath, which is probably the cause of the problem. How to easily add one particular entry without preventing deletion of other unnecessary rpath entries? Thanks, Vlada

Re: [Nix-dev] Adding runtime library search path

2013-01-26 Thread Vladimír Čunát
On 01/26/2013 02:52 PM, Marc Weber wrote: How to easily add one particular entry without preventing deletion of other unnecessary rpath entries? patchelf also has a --print-rpath option. Yes, that's how I checked that gcc is missing. I see now, so in fixupPhase I could --print-rpath and set

Re: [Nix-dev] Adding runtime library search path

2013-01-26 Thread Vladimír Čunát
On 01/26/2013 02:44 PM, Vladimír Čunát wrote: I'm having a problem with a program trying to find libgcc_s.so at runtime. I see that gcc has been stripped from rpath, which is probably the cause of the problem. BTW, I confirm that setting dontPatchELF seems to solve the problem, but there may

Re: [Nix-dev] Adding runtime library search path

2013-01-26 Thread Vladimír Čunát
On 01/26/2013 08:59 PM, Peter Simons wrote: adding NIX_CFLAGS_LINK = -lgcc_s; to the build expression should do the trick. That's what I was searching for, thanks, it works. The result: https://github.com/NixOS/nixpkgs/pull/278 I still don't understand the difference from NIX_LDFLAGS,

Re: [Nix-dev] Create repository

2013-01-28 Thread Vladimír Čunát
Hi. On 01/28/2013 11:39 AM, Вячеслав Хахалкин wrote: Hi, I want to create a repository with their packages, tell me how to do it. I don't know what you mean. You want to download our repository of nix expressions? Or something else? Vlada smime.p7s Description: S/MIME Cryptographic

Re: [Nix-dev] Create repository

2013-01-28 Thread Vladimír Čunát
On 01/28/2013 02:43 PM, Вячеслав Хахалкин wrote: I work for a company, and we have our packages we want to use in a separate repository, I'm not to understand how to implement it. I see. The easiest way is to create a git branch within the same repository (you don't have to publish it). I

Re: [Nix-dev] Create repository

2013-01-28 Thread Vladimír Čunát
On 01/28/2013 09:32 PM, Вячеслав Хахалкин wrote: Excuse me, I want to create a channel with its own set of packages, how to do it, I do nix-push - dest / tmp / my-channel - bzip2 - manifest - url-prefix http://my-server/my-channel and what to do, how to package in this channel I've never

Re: [Nix-dev] Create repository

2013-01-29 Thread Vladimír Čunát
On 01/29/2013 11:16 AM, Вячеслав Хахалкин wrote: Hello again, I'm doing nix-build /root/my_build/nixpkgs-1.0pre23616_615b1d4/pkgs/applications/misc/hello/ex-2/ -A hello where default.nix has this code = https://gist.github.com/4663196 and get this error: error: cannot auto-call a function

[Nix-dev] Strange build errors

2013-01-30 Thread Vladimír Čunát
Hi, does anyone have an idea about this [error]? It seems random and it disappeared in the next build although IMO nothing relevant changed. I found some references to a make bug that does this, but I'm not sure it's the same cause. [error] http://hydra.nixos.org/build/3930526 Vlada

Re: [Nix-dev] Strange build errors

2013-01-30 Thread Vladimír Čunát
On 01/30/2013 02:46 PM, Peter Simons wrote: yes, this is a bug in Make. For some reason, these kind of errors occur every now and then. I don't know what triggers it either. The only way I know to avoid this issue is to disable parallel building. Wouldn't this patch fix it?

Re: [Nix-dev] Reducing the number of Haskell builds in the NixOS/Nixpkgs channel

2013-01-30 Thread Vladimír Čunát
On 01/30/2013 01:45 PM, Eelco Dolstra wrote: I would suggest removing most of the GHC versions from the channels (i.e. remove recurseIntoAttrs), except the default (7.4.2) and the latest (7.6.2). If desired, we could create a separate Hydra jobset to build the other versions. What do you

Re: [Nix-dev] Strange build errors

2013-01-30 Thread Vladimír Čunát
On 01/30/2013 03:26 PM, Eelco Dolstra wrote: If I understand it correctly, this only improves the error message from Make, it doesn't fix the underlying problem. In the build in question, the actual problem occurs a bit earlier: In file included from

[Nix-dev] Hydra evaluation error in x-updates

2013-01-31 Thread Vladimír Čunát
Hi, hydra is showing a strange evaluation error in x-updates http://hydra.nixos.org/jobset/nixpkgs/xorg-test#tabs-errors I've been unable to reproduce it on my machine and the hydra error doesn't seem to say anything specific. What is the closest way to simulate hydra evaluation? Thanks,

Re: [Nix-dev] Who and when, Fosdem 2013

2013-01-31 Thread Vladimír Čunát
On 01/31/2013 10:16 PM, Sander van der Burg - EWI wrote: I've just managed to renew my passport, so it seems that I can also be there. Who else is going? Unfortunately I'm not coming, it's quite far for me from Prague. I'm quite sure that in Schengen arera it's sufficient to have your ID

[Nix-dev] KDE problems

2013-02-02 Thread Vladimír Čunát
Hi, some kde48 packages seem to sometimes non-deterministically fail to build without reporting any error (at least in x-updates). Any ideas? Vlada smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list

Re: [Nix-dev] Systemd branch merged

2013-02-04 Thread Vladimír Čunát
On 02/04/2013 06:30 PM, Rok Garbas wrote: awesome work, tnx. everything works for me except virtualbox is not loading drivers thus not working, anybody having similar problem? Not really similar, I had some minor problems with Wi-Fi due to different driver priority and different interface

Re: [Nix-dev] nix-channel --update does not work

2013-02-05 Thread Vladimír Čunát
On 02/05/2013 03:00 PM, Ambrus Kaposi wrote: root# nix-channel --update fetching list of Nix archives at `http://nixos.org/releases/nixos/nixos-0.2pre4454_979117b-789154b/MANIFEST.bz2'. I just checked and the bz2 files are in the directory, I can fetch them. In case of problems, you should be

Re: [Nix-dev] nix-channel --update does not work

2013-02-05 Thread Vladimír Čunát
On 02/05/2013 03:54 PM, Eelco Dolstra wrote: Because I just implemented that :-) I suspected it :-) BTW, how should one best get manifests for testing branches which don't have channels? Vlada smime.p7s Description: S/MIME Cryptographic Signature

Re: [Nix-dev] quoted vs unquoted urls in Nix expressions

2013-02-17 Thread Vladimír Čunát
On 02/17/2013 03:16 PM, Marc Weber wrote: What is the difference between quoted and unquoted URLs in Nix expressions? In nixpkgs the fetchurl urls are sometimes quoted and sometimes not. nix has urls as native type AFAIK. let str = 'foo' let url= http://bar The latter catches typos such as

Re: [Nix-dev] Enable chroot support on old glibc versions.

2013-02-19 Thread Vladimír Čunát
Why not a pull request, so we can have it with the stdenv-updates (which shouldn't take long now)? Vlada smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] packaging razor-qt, how to deal with /etc/xdg/ and such

2013-02-19 Thread Vladimír Čunát
On 02/18/2013 10:50 PM, Bjørn Forsman wrote: I'm trying to build razor-qt (a small desktop environment written in Qt) for nix. I quickly bumped into issues during the install phase: razor-qt tries to write stuff to /etc/xdg/{menus,autostart,razor} and /usr/share/{xsession,apps/kdm/sessions}. And

Re: [Nix-dev] EeePC wireless interface no longer recognized by iwconfig

2013-02-21 Thread Vladimír Čunát
On 02/21/2013 12:23 PM, Lluís Batlle i Rossell wrote: iwconfig interface is obsolete since long, and unsupported from 3.6 or 3.7 upwards, iirc. 'iw' is what you want. We might want to modify the nixos module so iw is included instead of iwconfig (by default). Vlada smime.p7s

Re: [Nix-dev] nix-env -i sdl-env trouble

2013-02-23 Thread Vladimír Čunát
On 02/23/2013 10:51 AM, Bjørn Forsman wrote: name = sdl; [bfo@nixos:~]$ nix-env -i sdl-env error: selector `sdl-env' matches no derivations IMO you have a different name. Vlada smime.p7s Description: S/MIME Cryptographic Signature ___

Re: [Nix-dev] nix-env -i sdl-env trouble

2013-02-23 Thread Vladimír Čunát
On 02/23/2013 11:15 AM, Bjørn Forsman wrote: 2) I changed the name to sdl-env but it's no good: [bfo@nixos:~]$ nix-env -i sdl-env error: selector `sdl-env' matches no derivations Hm. Doesn't my nix-env read ~/.nixpkgs/config.nix? I added your code int o my ~/.nixpkgs/config.nix $

Re: [Nix-dev] nix-env -i sdl-env trouble

2013-02-23 Thread Vladimír Čunát
On 02/23/2013 12:20 PM, Bjørn Forsman wrote: So by running nix-env -i env-sdl (not sdl-env) it works! Yes, I found that too and thought it's seen from the log I sent... but by attribute name it should also work (and it's usually more practical). Perhaps you've changed the attribute name...

Re: [Nix-dev] nix-env -i sdl-env trouble

2013-02-23 Thread Vladimír Čunát
On 02/23/2013 12:47 PM, Bjørn Forsman wrote: I mean IRC. Too much embedded programming for me lately :-) :-D Yes, it's a kind of interrupt. smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] nixos hackday on 2.3.

2013-02-23 Thread Vladimír Čunát
On 02/23/2013 11:56 PM, Nicolas Pierron wrote: Nice list, at what time timezone would you be hacking, to know if we can provide some help over IRC. Timezone in Ljubljana should be GMT+1. smime.p7s Description: S/MIME Cryptographic Signature ___

Re: [Nix-dev] Broken xserve after update to nix-1.2 persists in nix-1.3

2013-02-25 Thread Vladimír Čunát
On 02/25/2013 09:52 PM, Patrick Wheeler wrote: `nix-stor --verify --check-contents` http://pastebin.com/EezSb9NU /nix/store/ivnjbpksshmh10d6c3gsk2aa32lwxpk8-nixos-0.1pre4014_78bd54c-f0997b9 This might be the system you're running, is it? The others shouldn't affect booting at all. Vlada

Re: [Nix-dev] Broken xserve after update to nix-1.2 persists in nix-1.3

2013-02-26 Thread Vladimír Čunát
On 02/26/2013 12:21 AM, Patrick Wheeler wrote: Sorry for the small repeat here. Are you talking about the github branch? https://github.com/NixOS/nixpkgs/tree/stdenv-updates or use the following channel? The channel should follow the branch. IMO it's easiest to have binary cache enabled,

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] 9642ad: libsoup: Update to 2.40.3

2013-02-26 Thread Vladimír Čunát
On 02/26/2013 08:21 AM, Lluís Batlle i Rossell wrote: These gnome packages require a whole constellation of versions to match; I think that an update to libsoup alone won't work, if not updating it together with glib_networking, glib, gtk, gconf, blablabla. Maybe Vladimir knows more about this.

Re: [Nix-dev] Nix 1.4 released

2013-02-26 Thread Vladimír Čunát
On 02/26/2013 02:46 PM, Eelco Dolstra wrote: * Language change: The expression ${./path} ... now evaluates to a string instead of a path. That means the such a file isn't copied into the store, and is included as a plain ./path string, etc. Right? BTW, I believe the hardlink

Re: [Nix-dev] Nix 1.4 released

2013-02-27 Thread Vladimír Čunát
On 02/27/2013 12:00 PM, Eelco Dolstra wrote: On 26/02/13 21:25, Vladimír Čunát wrote: On 02/26/2013 02:46 PM, Eelco Dolstra wrote: * Language change: The expression ${./path} ... now evaluates to a string instead of a path. That means the such a file isn't copied into the store

Re: [Nix-dev] Nix 1.4 released

2013-02-28 Thread Vladimír Čunát
On 02/28/2013 01:08 PM, Eelco Dolstra wrote: I'm pleased to announce the availability of a new stable release of the Nix package manager. Release 1.5 can be found at http://hydra.nixos.org/release/nix/nix-1.5 This is a brown paper bag release to fix a regression introduced by the hard link

[Nix-dev] Nixpkgs: libchop on stdenv

2013-03-02 Thread Vladimír Čunát
Hi. Just a reminder in case you haven't noticed: libchop doesn't build on stdenv (due to using gets). http://hydra.nixos.org/job/nixpkgs/stdenv/libchop I see that Ludo is probably the upstream :-) and IMHO in the long term this needs to be fixed anyway. Vlada smime.p7s Description:

Re: [Nix-dev] Nixpkgs: libchop on stdenv

2013-03-02 Thread Vladimír Čunát
On 03/02/2013 11:15 AM, Ludovic Courtès wrote: Just a reminder in case you haven't noticed: libchop doesn't build on stdenv (due to using gets). http://hydra.nixos.org/job/nixpkgs/stdenv/libchop Thanks for the reminder. Commit b6452df fixes it. Nice. You're welcome. Vlada smime.p7s

  1   2   3   4   5   6   7   8   9   10   >