Re: [Nix-dev] Getting Jekyll to work with a plugin

2016-01-25 Thread Gabriel Ebner
Luis Pedro Coelho writes: > I want to get jekyll to work with a plugin (specifically > https://github.com/xdissent/jekyll-rst.git) which itself requires > another package be present (the RbST gem). I cannot even figure out how > this is supposed to be done in nix. For a slightly different setup

[Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

2016-01-25 Thread Roger Qiu
Hi, How does one redirect the logs (X.0.log) and (~/.xsession-errors) to journalctl? Apparently GDM (http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/) now does this, but SDDM doesn't. I would prefer to be able to centalise all logs into journalctl. Thanks, Roger --

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-25 Thread phreedom
On Thursday, January 21, 2016 20:39:28 Aaron Levin wrote: > One option would be to speak to a local LGBTQ group to find out what > resources, if any, there exist to help ensure a safe experience for > conference speakers and attendees. I'm pretty sure the local LGBTQ groups would love to know

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-25 Thread Sergey Mironov
Hi! I am very glad to read news like this. It is a good place for meeting from my point of view, since it is close to Moscow where I am from. I'll probably visit the conference and tell friends about it. Regards, Sergey 2016-01-22 0:19 GMT+03:00 stewart mackenzie : >

Re: [Nix-dev] Notes and ideas about the Nix-UI proposal

2016-01-25 Thread Oliver Charles
On Mon, Jan 25, 2016 at 3:46 PM Thomas Hunger wrote: > The most common mistake I make is: > > nix-env -iA pythonPackages.ipython > error: attribute ‘pythonPackages’ in selection path > ‘pythonPackages.ipython’ not found > (should be nix-env -iA nixpkgs.pythonPackages.ipython)

Re: [Nix-dev] Basic string functions in nixops

2016-01-25 Thread Eelco Dolstra
Hi, On 25/01/16 17:16, 4levels wrote: > I'm currently looking (again) for the basic string functions. > Use case: I need to limit a parametric string's length to maximum 16 > characters > (indeed, MySql usernames cannot be longer than 16 characters). > > Any hints in the right direction to

[Nix-dev] Basic string functions in nixops

2016-01-25 Thread 4levels
Dear Nix Devs, I'm currently looking (again) for the basic string functions. Use case: I need to limit a parametric string's length to maximum 16 characters (indeed, MySql usernames cannot be longer than 16 characters). Any hints in the right direction to substring a string in case it is longer

Re: [Nix-dev] Basic string functions in nixops

2016-01-25 Thread Utku Demir
I usually check .nix files in " https://github.com/NixOS/nixpkgs/tree/master/lib; folder when searching for basic functions. String manipulation functions are in "strings.nix". On your case, this should work: nix-repl> with (import ); concatStrings (take 16 (stringToCharacters

Re: [Nix-dev] Notes and ideas about the Nix-UI proposal

2016-01-25 Thread Thomas Hunger
Would anyone be interested in collecting some data on how people are using nix? I had a look though my bash history and I can see myself doing the following a lot (using ipython as an example). man nix-store nix-shell -p pythonPackages.ipython ... nix-env -qaP | grep -i ipython | grep noteb

Re: [Nix-dev] Basic string functions in nixops

2016-01-25 Thread 4levels
Hi guys, Thank you for the great responses (as usual)! To be helped by the master himself feels like a privilege ;-) I'm about to try this (or tomorrow morning first thing). I'm curious what happens if the string is shorter than 16 chars.. Thanks again, imo this is the biggest asset for Nixos,

Re: [Nix-dev] Notes and ideas about the Nix-UI proposal

2016-01-25 Thread Vladimír Čunát
On 01/25/2016 06:26 PM, Oliver Charles wrote: > If you change that to `/channels/nixpkgs`, then I believe nix-env -iA > pythonPackages.ipython will just work. IMO the real question/point is what behavior should be the default. Putting nixpkgs (or nixos) or similar prefixes in front of every

Re: [Nix-dev] Basic string functions in nixops

2016-01-25 Thread Vladimír Čunát
On 01/25/2016 06:49 PM, 4levels wrote: > I'm curious what happens if the string is shorter than 16 chars. It's returned shortened. Almost all builtin functions are documented http://nixos.org/nix/manual/#ssec-builtins - that's the other great source to search for general-purpose functions

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-25 Thread Domen Kožar
*grabs popcorn* On Mon, Jan 25, 2016 at 11:22 PM, Kosyrev Serge <_deepf...@feelingofgreen.ru > wrote: > phree...@yandex.ru writes: > > On Thursday, January 21, 2016 01:50:46 Jonn Mostovoy wrote: > >> I hate modern regime of Russia as much as the other guy. > > > > Unfortunately, it's not just

[Nix-dev] nix-shell with system pkgs

2016-01-25 Thread Yacine Hmito
Hi, Bear with me a minute, because I need to introduce a setup in order to make sense to my following questions. Say I packaged a piece of software and the derivation is written in a mypkg.nix file. I want to use the provided by the unstable channel and don't want to fork the repo and link to

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-25 Thread phreedom
On Thursday, January 21, 2016 01:50:46 Jonn Mostovoy wrote: > I hate modern regime of Russia as much as the other guy. Unfortunately, it's not just the regime. > I just want to point out that anti-LGBT laws, censorship, oppression of own > citizens, geopolitical expansion has nothing to do with

Re: [Nix-dev] NixCon St. Petersburg 2016

2016-01-25 Thread Jonn Mostovoy
I hoped that Peti's response was the bottom line in this discussion. I'm pretty sure that we will come up with a way for everyone to enjoy their time. On Jan 25, 2016 11:23 PM, "Domen Kožar" wrote: > *grabs popcorn* > > On Mon, Jan 25, 2016 at 11:22 PM, Kosyrev Serge < >