Re: [Nix-dev] A few questions from a NixOS newbie.

2014-04-21 Thread Bjørn Forsman
On 21 April 2014 15:35, Kirill Elagin wrote: > If there was a way to > > 1. run nix-repl non-interactively, > 2. list variables in scope > > that would be a fine replacement for grepping and opening files… > > Something like `nix-repl ':l ; :scope' | grep foo` and `nix-repl > ':l ; :p foo.meta`.

Re: [Nix-dev] A few questions from a NixOS newbie.

2014-04-21 Thread Bjørn Forsman
nexperts. It runs on UNIX, OS X and Windows.\n"; maintainers = [ "Peter Simons " ]; platforms = [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv7l-linux" "mips64el-linux" ]; position = "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/applications/networking/sniffers/wireshark/default.nix:47"; } Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] meta key

2014-04-16 Thread Bjørn Forsman
Den 16. apr. 2014 14:01 skrev "Roelof Wobben" følgende: > > Hello, > > I try to learn myself a little bit emacs, > Now on the manual there talk about a meta key, > > Whicjh key is that on Nixos kde version ? META == ALT (This has nothing to do with KDE or NixOS.)

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Bjørn Forsman
st regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Bjørn Forsman
Den 7. apr. 2014 15:53 skrev "Roelof Wobben" følgende: > > Bjørn Forsman schreef op 7-4-2014 15:30: >> >> Den 7. apr. 2014 14:21 skrev "Roelof Wobben" følgende: >> > >> > nix-env -qa does not show any packages of cinnamon. >>

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Bjørn Forsman
Den 7. apr. 2014 14:21 skrev "Roelof Wobben" følgende: > > nix-env -qa does not show any packages of cinnamon. > > nix-env -f . -i cinnamon.cinnamon-session shows the no derivations found > erorr. cinnamon.cinnamon-session looks like an attributes path. Try nix-env -f . -iA cinnamon.cinnamon-ses

Re: [Nix-dev] after install problem

2014-04-06 Thread Bjørn Forsman
s to why "X server died during startup"). [1]: https://gist.github.com/anonymous/10003458 Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Repo for incomplete/unmaintained work

2014-04-06 Thread Bjørn Forsman
eparate repo will only fix the first issue, it cannot possibly fix the second. And IMHO the first issue is solved by using git already: PRs, feature branches in official repo that are built in Hydra. I think marking packages as "broken" and having "allowUnfree" configuration

Re: [Nix-dev] after install problem

2014-04-06 Thread Bjørn Forsman
On 6 April 2014 09:26, Roelof Wobben wrote: > Bjørn Forsman schreef op 5-4-2014 23:25: >> On 5 April 2014 22:41, Roelof Wobben wrote: >>> Roelof Wobben schreef op 5-4-2014 18:27: >>>> Hello, >>>> >>>> I booted from the minmal cd a

Re: [Nix-dev] cinnamon desktop problem

2014-04-06 Thread Bjørn Forsman
into the builder to see if the schemas are anywhere to be found. Or add "set -x" in one of the pre- phases to get a full trace of commands. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] after install problem

2014-04-05 Thread Bjørn Forsman
iguration.nix. > nix-env -i kde fails because there is not derivation called kde. Try "nix-env -qaP | grep kde" to get a list of packages. The first column is the attribute name, the second is the package name. You install stuff with "nix-env -i package-name" or "nix-

Re: [Nix-dev] chromium fails to build

2014-04-01 Thread Bjørn Forsman
On 1 April 2014 18:01, aszlig wrote: > On Tue, Apr 01, 2014 at 01:21:04PM +0200, Mathijs Kwik wrote: >> I reverted the upgrade for "file" locally. >> This fixes chromium. > > should be fixed in 1ae4db3a80b7cd35bb9ea17464893b56664b17f9 and > 51e449aabbc922faa00dc7b5cbd0f106eba7f928 and chromium now

[Nix-dev] chromium fails to build

2014-03-31 Thread Bjørn Forsman
that (supposedly) caused it to break look quite irrelevant: https://github.com/NixOS/nixpkgs/compare/c814dab2eeb97c15f4a309e69435988fc3e65c6a...58857096fb679848730892d3f939be471e185cd1 Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev

Re: [Nix-dev] force-push to master

2014-03-09 Thread Bjørn Forsman
On 9 March 2014 13:56, Bjørn Forsman wrote: > On 9 March 2014 13:48, Bjørn Forsman wrote: >> On 9 March 2014 13:37, Domen Kožar wrote: >>> Hi all, >>> >>> I managed to force-push master and delete a couple of commits. I have no >>> idea how that

Re: [Nix-dev] force-push to master

2014-03-09 Thread Bjørn Forsman
On 9 March 2014 13:48, Bjørn Forsman wrote: > On 9 March 2014 13:37, Domen Kožar wrote: >> Hi all, >> >> I managed to force-push master and delete a couple of commits. I have no >> idea how that happened, but let's first fix the mess. Does anyone commit >

Re: [Nix-dev] force-push to master

2014-03-09 Thread Bjørn Forsman
On 9 March 2014 13:37, Domen Kožar wrote: > Hi all, > > I managed to force-push master and delete a couple of commits. I have no > idea how that happened, but let's first fix the mess. Does anyone commit > > nixpkgs/master 6cfbc75 Michael Raskin: Fix CL-Launch source link > > If so, please force-p

Re: [Nix-dev] force-push to master

2014-03-09 Thread Bjørn Forsman
think you've got it right, force push to upstream. Btw, I just pushed two commits: 2014-03-09 13:35 Bjørn Forsman o [master] [origin/HEAD] [origin/master] Revert "Update BadVPN" 2014-03-09 13:23 Bjørn Forsman o can-utils: new package But I can p

Re: [Nix-dev] Nixpkgs monitor progress report

2014-03-01 Thread Bjørn Forsman
On 1 March 2014 02:30, wrote: > Hi > > I'm happy to announce a significant number of improvements: [...] I just want to say thank you for making the Nixpkgs Monitor. It's really awesome! Best regards, Bjørn Forsman ___ nix-dev m

Re: [Nix-dev] Declarative user management merged to master

2014-02-08 Thread Bjørn Forsman
On 8 February 2014 21:21, Shea Levy wrote: > The "unnamed" thing comes from loaOf (i.e. list-or-attribute-set of) > types, when some module uses a list instead of an attribute set. So for > example if some module does users.extraUsers = [ { name = "alice"; } ];, > the module system itself (the thi

Re: [Nix-dev] Declarative user management merged to master

2014-02-08 Thread Bjørn Forsman
On 7 February 2014 23:11, Bjørn Forsman wrote: > Yup. Munin was missing uid/gid. Fixed in git master. But where did the "unnamed" thing come from? user-thrown exception: The option `users.extraGroups.unnamed-9.1.gid' is used but not defined. It was fixed with this:

Re: [Nix-dev] How to install in NixOS in a KVM virtual machine?

2014-02-08 Thread Bjørn Forsman
be taken literally, but requires you to have labelled your disk partition "nixos". You can do that with tune2fs -L nixos /dev/sdaX # replace X with the partition number in the virtual machine. Hope that helps. Best regards, Bjørn Forsman ___

Re: [Nix-dev] Declarative user management merged to master

2014-02-07 Thread Bjørn Forsman
On 7 February 2014 22:37, Bjørn Forsman wrote: [...] > Or maybe > there is a service I'm using that defines a user/group without a > uid/gid. Probably that. Yup. Munin was missing uid/gid. Fixed in git master. ___ nix-dev mailin

Re: [Nix-dev] Declarative user management merged to master

2014-02-07 Thread Bjørn Forsman
Probably that. --show-trace doesn't really give any hints on where it comes from so I guess it's manually binary search for me :-) Thanks for the hint, Aristid! Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science

Re: [Nix-dev] Declarative user management merged to master

2014-02-07 Thread Bjørn Forsman
ixpkgs/lib/trivial.nix:9:8': user-thrown exception: The option `users.extraGroups.unnamed-9.1.gid' is used but not defined. I tried with and without users.mutableUsers = false; Any ideas? Anyone else seeing this? Best regards, Bjørn Forsman _

Re: [Nix-dev] xpra not working

2014-02-07 Thread Bjørn Forsman
On 6 February 2014 19:34, Bjørn Forsman wrote: [...] > There must be some hardcoded assumptions somewhere, but I cannot seem > to find them. I'm not sure the assumptions are in xpra even, they > could be somewhere else (X?). Yes, it's an X thing. xpra forks and execs Xvfb.

Re: [Nix-dev] xpra not working

2014-02-06 Thread Bjørn Forsman
g xkbcomp or xkeyboard-config. There must be some hardcoded assumptions somewhere, but I cannot seem to find them. I'm not sure the assumptions are in xpra even, they could be somewhere else (X?). I'm trying xpra's IRC channel now (#winswitch @ freenode). Best regards, Bjørn Forsman _

[Nix-dev] xpra not working

2014-02-02 Thread Bjørn Forsman
ard-config. (EE) Fatal server error: (EE) Failed to activate core devices.(EE) could not connect to X server on display ':100' after 3 seconds 2014-02-02 21:27:35,803 removing socket /home/bfo/.xpra/nixos-laptop-100 Best regards, Bjørn Forsman __

Re: [Nix-dev] libreoffice build is broken

2014-01-21 Thread Bjørn Forsman
Den 21. jan. 2014 09:11 skrev "Eelco Dolstra" følgende: > > Hi, > > On 19/01/14 00:22, Bjørn Forsman wrote: > > > I wonder if the issue has to do with "multiple outputs", as there was > > recently some changes in openjdk regarding that. From the con

[Nix-dev] libreoffice build is broken

2014-01-18 Thread Bjørn Forsman
; output, but in the plain "openjdk" output. And further: Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/nix/store/fj90f1gagz2iyipbmzc78rz3aas88zaj-openjdk-7u40b43-jre/lib/openjdk/jre" So it seems that maybe libreoffice needs "jdk" and not &quo

Re: [Nix-dev] Cinnamon quitting

2013-12-21 Thread Bjørn Forsman
On 21 December 2013 19:45, Roelof Wobben wrote: > Hello, > > Because I do not get Cinnamon work because of the error I mentioned > I forced to quit this project. Hold on, don't quit! :-) Did you dig through the Gentoo issue[1] already? The "error: po/Makefile.in.in was not created by intltooliz

Re: [Nix-dev] Cinnamon problem

2013-12-20 Thread Bjørn Forsman
in was not created by intltoolize."? It seems to give some useful hits, particularly this one: https://bugs.gentoo.org/show_bug.cgi?id=240958 Btw, I've cloned your tree and started "nix-build -A cinnamon". Best regards, Bjørn Forsman ___

Re: [Nix-dev] Fwd: "nix-env --set-flag priority NUMBER PKGNAME" not working?

2013-12-16 Thread Bjørn Forsman
On 16 December 2013 22:18, Domen Kožar wrote: > Could you open an issue at Nix github? Done. https://github.com/NixOS/nix/issues/184 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] Fwd: "nix-env --set-flag priority NUMBER PKGNAME" not working?

2013-12-16 Thread Bjørn Forsman
(Forgot to CC the list.) On 16 December 2013 21:43, Domen Kožar wrote: > so it should throw an error when package is not installed? Yes, that would be really helpful. (I've had trouble with this command before and given up. But this time I decided to get help.) _

Re: [Nix-dev] "nix-env --set-flag priority NUMBER PKGNAME" not working?

2013-12-16 Thread Bjørn Forsman
On 16 December 2013 21:15, Bjørn Forsman wrote: > Hi all, > > I cannot get "nix-env --set-flag priority NUMBER PKGNAME" to work. > I've already installed "quassel" and when installing "quassel-client" [...] > Now set priority like the above pri

[Nix-dev] "nix-env --set-flag priority NUMBER PKGNAME" not working?

2013-12-16 Thread Bjørn Forsman
It seems nix-env doesn't really care whether the package exist or not: $ nix-env --set-flag priority 1 does-not-exist && echo success success What is wrong here? Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] A generic wrapper method (possibly)

2013-12-08 Thread Bjørn Forsman
Hi Eelco, On 2 December 2013 15:23, Eelco Dolstra wrote: > Hi, > > On 30/11/13 16:12, Bjørn Forsman wrote: > >> I envision the end result to be something like this: >> >> stdenv.mkDerivation { >> name = "foo-0.1"; >> ... >> buildI

Re: [Nix-dev] A generic wrapper method (possibly)

2013-12-08 Thread Bjørn Forsman
be a propagatedRuntimeInputs though. I think the nixpkgs manual describes propagatedBuildInputs best: """ Like buildInputs, but these dependencies are propagated: that is, the dependencies listed here are added to the buildInputs of any pa

Re: [Nix-dev] how to proceed the best

2013-12-07 Thread Bjørn Forsman
you use the procedure I outlined in my previous email, just commit and push to your github clone. Then create a pull request at github.com web UI. If you based your topic branch on x-updates, the pull request will default to be merged to x-updates. Best r

Re: [Nix-dev] how to proceed the best

2013-12-07 Thread Bjørn Forsman
go back further in time, see "git reflog". To keep you topic branches up to date, just use "git pull --rebase". Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] add xslt to a derivation

2013-12-04 Thread Bjørn Forsman
kage name: $ xsltproc The program ‘xsltproc’ is currently not installed. You can install it by typing: nix-env -i libxslt But some packages aren't available in the channel (if their expressions lack meta.platforms). So if the above fails I do what Mathijs says and grep for it in the nixpkgs tree. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] branch cinnamon-translations not working

2013-12-02 Thread Bjørn Forsman
amon-translations (not in /usr/share/). Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] A generic wrapper method (possibly)

2013-11-30 Thread Bjørn Forsman
ust have these wrapped interpreters first in PATH. But this is where it stops for me. I have no idea how to implement "if bash in runtimeInputs then build bash-wrapper" and put that wrapper first in PATH. Any hints appreciated. Also if anyone thinks this runtimeInputs thing is a bad idea,

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Bjørn Forsman
On 30 November 2013 10:41, Roelof Wobben wrote: [...] > So I added glib to the buildsInput but the error is still here. Do can you post the URL to your git repo/branch? That way it will be easy for others to reproduce the build issues. ___ nix-dev maili

Re: [Nix-dev] How to use Generated Rubygems Nix Packages?

2013-11-30 Thread Bjørn Forsman
few other attribute paths, > but nothing works. Here is one way to find the attribute (the only way I know apart from reading and fully understanding all the related expressions): $ nix-env -qaP | grep bundler nixos.pkgs.rubyLibs.bundler ruby-bundler-1.3.5 So "rub

Re: [Nix-dev] cinnamon-desktop build problem

2013-11-27 Thread Bjørn Forsman
On 27 November 2013 15:22, Roelof Wobben wrote: > Hello, > > I have this expression : > > { stdenv, autoreconfHook, fetchurl, pkgconfig, gobjectIntrospection, > gettext, glib, intltool, pkgs}: > > stdenv.mkDerivation rec { > name = "cinnamon-desktop"; > version = "2.0.4" ; > inherit (pkgs.gn

Re: [Nix-dev] mozjs problem

2013-11-27 Thread Bjørn Forsman
On 27 November 2013 09:09, Roelof Wobben wrote: > I did some investigation. > > But first why look in configure. > Im already building the package. > > Second when I do this : > > find / -name "pthread.*" > /nix/store/zfmwbfy3a609d2y5fp3bgnx7q510bv41-glibc-2.17/include/pthread.h > > So it looks to

Re: [Nix-dev] Packaging gnuradio

2013-11-09 Thread Bjørn Forsman
icitly state all > dependencies that your package has. Ok, thanks for the input. I pushed my gnuradio stuff to nixpkgs master now (with "python" instead of "pythonFull"). Finally! I started on it in May...:-) Best regards, Bjørn Forsman __

Re: [Nix-dev] Packaging gnuradio

2013-11-02 Thread Bjørn Forsman
kgs/commit/742d6597cac218d0a5fe6030fdc270f7a83d70a0 (Re-implement python-wrapper with buildEnv). CCing Peter. Here is my branch: https://github.com/bjornfor/nixpkgs/commits/gnuradio2 Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.sci

Re: [Nix-dev] warning: name collision in input Nix expressions

2013-10-16 Thread Bjørn Forsman
On 16 October 2013 23:11, Eelco Dolstra wrote: > Hi, > > On 16/10/13 23:05, Bjørn Forsman wrote: > >> "nix-env -u --always" has stopped working on my laptop. Any ideas? >> >> $ nix-env -u --always >> warning: name collision in input Nix ex

[Nix-dev] warning: name collision in input Nix expressions

2013-10-16 Thread Bjørn Forsman
to my dekstop system where this command is working just fine. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Java plugin for FF

2013-10-12 Thread Bjørn Forsman
ated 862 symlinks in user environment Notice how it picked the package named "firefox-24.0-with-plugins". IMHO, we should probably rename either the attribute or the package name so that they are the same. That way we don't get this confusion. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Volunteers to package qt 5.1

2013-10-12 Thread Bjørn Forsman
On 12 October 2013 00:11, Lluís Batlle i Rossell wrote: > On Sat, Oct 12, 2013 at 12:10:09AM +0200, Bjørn Forsman wrote: [...] >> A few months back I tested it locally. I think I had to do some minor >> edits to make it work on master. Or maybe I just did a version bump on >&g

Re: [Nix-dev] Volunteers to package qt 5.1

2013-10-11 Thread Bjørn Forsman
reason I cannot seem to find my branch where I did it. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nixpkgs-lint doesn't recognize meta.license in screen

2013-09-28 Thread Bjørn Forsman
missing something? It's the attrset vs string datatype issue. See http://comments.gmane.org/gmane.linux.distributions.nixos/11312 I attempted to change the licenses from attrsets to strings (like Eelco suggested in the above thread), but an evaluation error prevented

Re: [Nix-dev] Clear all

2013-09-21 Thread Bjørn Forsman
sually start by installing a package with nix-env, and if I find it useful to keep for later, I move it over to systemPackages. About the "in general", I've heard about issues with some KDE programs when they are installed with nix-env and not in systemPackages. Best regards, Bjørn

Re: [Nix-dev] nix-shell ignores custom configurePhase/buildPhase etc.?

2013-09-16 Thread Bjørn Forsman
On 16 September 2013 13:26, Eelco Dolstra wrote: > Hi, > > On 15/09/13 14:30, Bjørn Forsman wrote: > >> Why doesn't a custom configurePhase (or buildPhase, installPhase etc.) >> work when run from nix-shell? In nix-shell, all phases seem to be the >> default, ev

[Nix-dev] nix-shell ignores custom configurePhase/buildPhase etc.?

2013-09-15 Thread Bjørn Forsman
not specify `--add-root'; the result might be removed by the garbage collector $ unpackPhase unpacking source archive /nix/store/qbw1m3adaz1ayhvgj99iyi3qisp08biz-openscad-2013.01.src.tar.gz source root is openscad-2013.01 $ cd openscad-* $ configurePhase no configure

Re: [Nix-dev] NetBIOS/WINS name lookup in NixOS

2013-09-07 Thread Bjørn Forsman
On 2 September 2013 20:30, Bjørn Forsman wrote: > Hi everyone, > > In Ubuntu I can install libnss-winbind + winbind and append "wins" to > the "hosts:" section in /etc/nsswitch.conf to have NetBIOS/WINS name > lookup (Windows machine names). But when I try to do

Re: [Nix-dev] Hydra will not download unoconv package?

2013-09-07 Thread Bjørn Forsman
On 2 September 2013 19:09, Bjørn Forsman wrote: > Hi, > > Hydra says it cannot download unoconv, a new package I added earlier today: > > (from http://hydra.nixos.org/build/5916660/nixlog/1/tail-reload) > > [ptrying http://dag.wieers.com/home-made/unoconv/unoconv-0.6.tar.gz

[Nix-dev] NetBIOS/WINS name lookup in NixOS

2013-09-02 Thread Bjørn Forsman
mon. +''; + }; + }; }; @@ -196,6 +205,8 @@ in users.extraGroups.smbguest.gid = config.ids.uids.smbguest; +system.nssModules = optional cfg.nsswins samba; + systemd = { targets.samba = { description = "Samba server"; Best regards,

[Nix-dev] Packaging gnuradio

2013-09-02 Thread Bjørn Forsman
Hi, FYI, I have started packaging gnuradio. But after struggling with some runtime issues I haven't touched it in a few months. In case anyone else is interested, here is the branch: https://github.com/bjornfor/nixpkgs/tree/gnuradio Best regards, Bjørn Fo

[Nix-dev] Hydra will not download unoconv package?

2013-09-02 Thread Bjørn Forsman
transient error? If so, can someone with Hydra access please restart the build(s)? http://hydra.nixos.org/job/nixpkgs/trunk/unoconv.x86_64-linux http://hydra.nixos.org/job/nixpkgs/trunk/unoconv.i686-linux Best regards, Bjørn Forsman ___ nix-dev mailing

[Nix-dev] Updating virt-manager to version 0.10.x

2013-08-29 Thread Bjørn Forsman
re/virt-manager/.virt-manager-wrapped", line 33, in from gi.repository import LibvirtGLib ImportError: cannot import name LibvirtGLib If anyone wants to have a look, here is the branch: https://github.com/bjornfor/nixpkgs/tree/virt-manager-version-bump Best re

Re: [Nix-dev] gem nix writes sha256 = "no hash"

2013-08-26 Thread Bjørn Forsman
On 10 August 2013 15:03, Bjørn Forsman wrote: > Hi, > > When I run "gem nix --nix-file > pkgs/development/interpreters/ruby/generated.nix", several packages > get a "no hash" sha256 sum (literally!). Does anyone know why this > happens and what we can

Re: [Nix-dev] pkgs/lib/licenses.nix: strings or attrsets?

2013-08-24 Thread Bjørn Forsman
On 20 August 2013 13:37, Eelco Dolstra wrote: > Hi, > > On 19/08/13 21:48, Bjørn Forsman wrote: > >> pkgs/lib/licenses.nix is currently a mix of strings and attrsets. This >> causes nixpkgs-lint to incorrectly say that some packages lack a >> license, even tho

Re: [Nix-dev] pkgs/lib/licenses.nix: strings or attrsets?

2013-08-19 Thread Bjørn Forsman
On 19 August 2013 22:24, Vladimír Čunát wrote: > On 08/19/2013 09:48 PM, Bjørn Forsman wrote: >> >> pkgs/lib/licenses.nix is currently a mix of strings and attrsets. This >> causes nixpkgs-lint to incorrectly say that some packages lack a >> license, even though they

[Nix-dev] pkgs/lib/licenses.nix: strings or attrsets?

2013-08-19 Thread Bjørn Forsman
OS/nixpkgs/commit/80213cbb051f2e172be20c03e51069f122d8bb6c changed some (but not all) of the licenses from attrsets to strings. What is the plan for the rest of the licenses? Should I make a pull-request to change everything to strings? Best regards, Bjø

Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd

2013-08-17 Thread Bjørn Forsman
On 17 August 2013 15:07, Ludovic Courtès wrote: > Hi! > > Sorry for the late reply. It's ok :-) > Bjørn Forsman skribis: > >> I want to update samba from 3.6.8 to 3.6.18 (latest 3.x version), >> but then the GNU/Hurd patch that you have added failed. Is it OK i

Re: [Nix-dev] how to install nilfs-utils ?

2013-08-17 Thread Bjørn Forsman
ide an attribute name, not package name. The following command shows attribute name followed by package name: $ nix-env -qaP \* | grep nilfs nixos.pkgs.nilfs_utils nilfs-utils-2.0.19 Basically, you want "nilfs_utils" in systemPackages, Best regards, Bjørn Forsman _

Re: [Nix-dev] msmtp and certificates

2013-08-17 Thread Bjørn Forsman
On 22 July 2013 21:43, Bjørn Forsman wrote: > On 22 July 2013 20:37, Eelco Dolstra wrote: >> Hi, >> >> On 20/07/13 20:57, Bjørn Forsman wrote: >> >>> Would it be an idea to rename ca-bundle.crt to ca-certificates.crt? >>> One less (needless

Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd

2013-08-17 Thread Bjørn Forsman
Hi Ludovic, all, I want to update samba from 3.6.8 to 3.6.18 (latest 3.x version), but then the GNU/Hurd patch that you have added failed. Is it OK if I drop the patch? Or do you want to bump samba yourself and re-create the patch? ___ nix-dev mailing li

Re: [Nix-dev] VirtualBox causes (host) kernel error "general protection fault: 0000 [#1] SMP"

2013-08-15 Thread Bjørn Forsman
On 15 August 2013 00:43, Eelco Dolstra wrote: > Hi, > > On 14/08/13 23:22, Bjørn Forsman wrote: > >> All my VirtualBox machines now consistently cause a kernel stack trace >> (in my physical NixOS machine) when trying to start them. Rebooting >> and nix-channel --

Re: [Nix-dev] VirtualBox causes (host) kernel error "general protection fault: 0000 [#1] SMP"

2013-08-14 Thread Bjørn Forsman
On 14 August 2013 23:22, Bjørn Forsman wrote: [...VirtualBox bug causing kernel error...] > Aug 14 23:09:55 mini-nixos kernel[1643]: [ 22.113874] general protection > fault: [#1] SMP This is probably the best matching ticket, although it is for version 4.2.12 and not 4.2.16 (curren

[Nix-dev] VirtualBox causes (host) kernel error "general protection fault: 0000 [#1] SMP"

2013-08-14 Thread Bjørn Forsman
Hi all, All my VirtualBox machines now consistently cause a kernel stack trace (in my physical NixOS machine) when trying to start them. Rebooting and nix-channel --update && nixos-rebuild switch doesn't change it. Does anyone else have that? New machines also cause crash when booting. Aug 14 23:

Re: [Nix-dev] Hydra evaluation error: value is an attribute set while a string was expected

2013-08-11 Thread Bjørn Forsman
On 11 August 2013 20:30, Bjørn Forsman wrote: > So, what to do now? Start by changing the mit license to a string and > then wait for Eelco to decide what to do with the rest? I took the simplest route: don't use the MIT license (for now). https://github.com/NixOS/nix

Re: [Nix-dev] Hydra evaluation error: value is an attribute set while a string was expected

2013-08-11 Thread Bjørn Forsman
On 11 August 2013 20:12, wrote: > В письме от Воскресенье 11 августа 2013 16:55:54 пользователь Bjørn Forsman > написал: >> It seems I've committed something that breaks the channel (sorry!). >> Hydra has these evaluation errors[1]: >> >> [...] >> at

Re: [Nix-dev] gem nix writes sha256 = "no hash"

2013-08-11 Thread Bjørn Forsman
On 11 August 2013 17:21, Marc Weber wrote: > Excerpts from Bjørn Forsman's message of Sun Aug 11 16:42:56 +0200 2013: >> > I like being able to use a package descriptions without waiting. >> > the gem-to-nix requires waiting. > Then it does not care about depnedencies ? .. (not that they are alway

[Nix-dev] Hydra evaluation error: value is an attribute set while a string was expected

2013-08-11 Thread Bjørn Forsman
Hi, It seems I've committed something that breaks the channel (sorry!). Hydra has these evaluation errors[1]: [...] at `nixpkgs.linuxPackages.lttngModules.i686-linux' [nixosSrc = ..., nixpkgs = ..., officialRelease = false]: value is an attribute set while a string was expected [...] Unfortunate

Re: [Nix-dev] gem nix writes sha256 = "no hash"

2013-08-11 Thread Bjørn Forsman
On 11 August 2013 16:13, Marc Weber wrote: >> The number of packages doesn't mean much to me (unless there is one >> package per .nix file?), > If you have to download them (always) when getting nixpkgs they may make > a difference. So having them separate is a better choice IMHO. > > I like being

Re: [Nix-dev] gem nix writes sha256 = "no hash"

2013-08-11 Thread Bjørn Forsman
On 11 August 2013 14:55, Marc Weber wrote: > ruby nix overlay: > 1) ruby script to dump rubyforge to .nix files (50.000 packages) >So no, I'm not going to ask to include them to nixpkgs. The number of packages doesn't mean much to me (unless there is one package per .nix file?), I'm more inte

Re: [Nix-dev] gem nix writes sha256 = "no hash"

2013-08-11 Thread Bjørn Forsman
Hi Marc, Thanks for replying. On 11 August 2013 13:58, Marc Weber wrote: > If you want to give the ruby overlay a try . Yes and no. I just want ruby gems available through nix, I don't really care how the expressions are generated. The wiki[1] says I need extra patches for ruby overlay, so

Re: [Nix-dev] gem nix writes sha256 = "no hash"

2013-08-11 Thread Bjørn Forsman
On 11 August 2013 06:49, wrote: > В письме от Суббота 10 августа 2013 15:03:55 пользователь Bjørn Forsman > написал: >> When I run "gem nix --nix-file >> pkgs/development/interpreters/ruby/generated.nix", several packages >> get a "no hash" sha256

[Nix-dev] gem nix writes sha256 = "no hash"

2013-08-10 Thread Bjørn Forsman
redGems = [ ]; - sha256 = ''1w3fpi52h4a7r0a670xzrwa40l5irh69r45cbvxw24bsp19sfxzr''; + sha256 = ''no hash''; }; Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Making additional kernel modules available for modprobe

2013-08-10 Thread Bjørn Forsman
On 10 July 2013 22:41, Bjørn Forsman wrote: > Hi, > > I'm working on packaging LTTng (Linux Trace Toolkit) for NixOS. I've > built the user space tools and the kernel modules, but I can't seem to > figure out how to make modprobe find the modules. I see that >

Re: [Nix-dev] Hydra out of memory?

2013-08-05 Thread Bjørn Forsman
On 5 August 2013 15:02, Eelco Dolstra wrote: > Hi, > > On 05/08/13 14:55, Malcolm Matalka wrote: > >> Perhaps add some monitoring? > > The build failure *is* the monitoring. Maybe build failures that block channel updates should result in a notification email to nix-dev mailing list? I do get em

[Nix-dev] Hydra out of memory?

2013-08-04 Thread Bjørn Forsman
Hi, The channel doesn't update because virtualbox-image won't build (out-of-memory): zmy56d4hplb5m69xsd99ma81kjvr34cx-systemd-203/example/sysctl.d/50-default.conf zmy56d4hplb5m69xsd99ma81kjvr34cx-systemd-203/example/systemd/ rsync: readdir("/nix/store/zqwhkp0hww2w6pnaaw71qss8a7njn07r-openldap-2.

Re: [Nix-dev] RealVNC package -- hardcoded paths in binaries

2013-07-29 Thread Bjørn Forsman
] https://github.com/mpashton/nixpkgs I'd try the LD_PRELOAD trick before going for a chroot solution. (Disclaimer: I'm not sure how to do the chroot thing, maybe someone else on the list can tell you about it). See /pkgs/applications/audio/spotify/* for an examp

Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd

2013-07-29 Thread Bjørn Forsman
On 29 July 2013 18:36, Lluís Batlle i Rossell wrote: > On Mon, Jul 29, 2013 at 06:03:24PM +0200, Bjørn Forsman wrote: >> Hi Lluís, >> >> I wanted to update samba from 3.6.8 to 3.6.16 (latest 3.x version), >> but then the GNU/Hurd patch that you have added failed. Is i

[Nix-dev] Samba, nixpkgs and GNU/Hurd

2013-07-29 Thread Bjørn Forsman
Hi Lluís, I wanted to update samba from 3.6.8 to 3.6.16 (latest 3.x version), but then the GNU/Hurd patch that you have added failed. Is it OK if I drop the patch? Or do you want to bump samba yourself and re-create the patch? Best regards, Bjørn Forsman

Re: [Nix-dev] gnome3 attribute not searchable

2013-07-28 Thread Bjørn Forsman
On 28 July 2013 21:55, Vladimír Čunát wrote: > On 07/22/2013 05:45 PM, Bjørn Forsman wrote: >> >> On 22 July 2013 17:11, Moritz Ulrich wrote: >>> >>> Likely a `recurseIntoAttrs' missing. >> >> >> Yup, that seems correct. Thanks! >&g

Re: [Nix-dev] Hydra build failure not reproducible

2013-07-23 Thread Bjørn Forsman
On 23 July 2013 11:19, Eelco Dolstra wrote: > Hi, > > On 19/07/13 20:15, Bjørn Forsman wrote: > >> Here is one more of those "mysterious" build errors in hydra that >> cannot be reproduced locally (at least my machine built it just fine): >> >> http

Re: [Nix-dev] msmtp and certificates

2013-07-22 Thread Bjørn Forsman
On 22 July 2013 20:37, Eelco Dolstra wrote: > Hi, > > On 20/07/13 20:57, Bjørn Forsman wrote: > >> Would it be an idea to rename ca-bundle.crt to ca-certificates.crt? >> One less (needless?) distro difference? > > I don't think the certificate loc

Re: [Nix-dev] gnome3 attribute not searchable

2013-07-22 Thread Bjørn Forsman
attributes? Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] gnome3 attribute not searchable

2013-07-22 Thread Bjørn Forsman
Hi all, Why doesn't "nix-env -f. -qaP \* | grep gnome3" inside nixpkgs source tree display anything? I can see the "gnome3" attribute in all-packages.nix and I can nix-build -A gnome3., so I know it's there. Best regards, Bjørn Forsman _

Re: [Nix-dev] msmtp and certificates

2013-07-20 Thread Bjørn Forsman
On 20 July 2013 20:41, Lluís Batlle i Rossell wrote: > On Sat, Jul 20, 2013 at 07:56:45PM +0200, Bjørn Forsman wrote: >> Hi all, >> >> On Ubuntu I've been using msmtp on the command line to send emails >> with my gmail account (handy for cronjobs). But my msmtp

[Nix-dev] msmtp and certificates

2013-07-20 Thread Bjørn Forsman
tls_starttls on # tls_trust_file for Ubuntu (other distros may use different path) tls_trust_file /etc/ssl/certs/ca-certificates.crt auth on user bjorn.forsman password logfile ~/.msmtp.log Best regards, Bjørn Forsman ___ nix-dev maili

[Nix-dev] Hydra build failure not reproducible

2013-07-19 Thread Bjørn Forsman
Hi, Here is one more of those "mysterious" build errors in hydra that cannot be reproduced locally (at least my machine built it just fine): http://hydra.nixos.org/build/5567300/nixlog/1/tail-reload ___ nix-dev mailing list nix-dev@lists.science.uu.nl h

Re: [Nix-dev] Hydra build failure not reproducible

2013-07-19 Thread Bjørn Forsman
On 19 July 2013 21:21, Malcolm Matalka wrote: > It doesn't, you have to turn it in the nix config since it is how the > builder runs. > > In NixOS you have to do: > > nix.useChroot = true; Ok. I did that and ran nixos-rebuild switch. But when I try to build it *without* using the binary cache, th

Re: [Nix-dev] Hydra build failure not reproducible

2013-07-19 Thread Bjørn Forsman
On 19 July 2013 23:51, Domen Kožar wrote: > FYI: I also added netpbm to channel: > http://hydra.nixos.org/build/5567643/log/raw And that build log ends in: [qbuilding standardppmdfont.c ppmdcfont standardppmdfont.c /bin/sh: ppmdcfont: command not found make[1]: *** [standardppmdfont

Re: [Nix-dev] Hydra build failure not reproducible

2013-07-19 Thread Bjørn Forsman
On 19 July 2013 21:01, Malcolm Matalka wrote: > Are you compiling locally with chroot on? I did one build with hydra's "reproduce locally" script. I don't know if that uses chroot or not. Then I built the failing expression (on hydra at least), netpbm, using nix-build -A netpbm. I have not done

<    1   2   3   4   5   6   7   >