[Nix-dev] coerce a list of strings

2016-07-26 Thread Stefan Huchler
I wanted to shorten my configuration file a bit. I have a long configuration for flexget with entries like that: yt_tech-talk-today: rss: http://feedpress.me/t3mob template: youtube I can replace that with such let statement: ${let makeFeed = { name, url}: { x = "

[Nix-dev] Why having releases if you break things in it often

2017-01-23 Thread Stefan Huchler
So because I dont need always newest versions on all of my boxes, I selected the 16.xx chhannel. There are here and there some minor issues as example kodi here and there crashes maybe 1-3 times a week. Could be extentions or something. For that and other reasons I update here and there all few

Re: [Nix-dev] Why having releases if you break things in it often

2017-01-24 Thread Stefan Huchler
intaining a package set this size that also keeps growing is becoming > increasingly harder. > > Freddy > > On Mon, Jan 23, 2017 at 10:07 AM, Stefan Huchler <stefan.huch...@mail.de> > wrote: > > So because I dont need always newest versions on all of my boxes, I > sel

Re: [Nix-dev] Fwd: Why having releases if you break things in it often

2017-02-12 Thread Stefan Huchler
Vladimír Čunát <vcu...@gmail.com> writes: > On 02/11/2017 03:26 PM, Stefan Huchler wrote: >> Maybe we could talk about the status of the project wiki or other >> documentation, if there would ways to improve that. > > Status of the wiki is being discussed right now:

Re: [Nix-dev] Why having releases if you break things in it often

2017-02-10 Thread Stefan Huchler
Hello, I start to get frustrated again, the documentation of nixos is not very good if you do more than just the most basic stuff. So you kind of are if you are not a full-time nixos developer dependend of help from the developers. So I wrote here about the bug, then I startet a bugreport:

Re: [Nix-dev] Fwd: Why having releases if you break things in it often

2017-02-10 Thread Stefan Huchler
Tomasz Czyż writes: > But you know, experts stuff is pretty expensive resource, and maybe > people decided will be better if they use it differently than you > would expect? So you find the time to create Regressions, but none to fix the Mess you created? Creating

Re: [Nix-dev] Why having releases if you break things in it often

2017-02-10 Thread Stefan Huchler
; On 11/02/2017 10:07 AM, "Stefan Huchler" <stefan.huch...@mail.de> wrote: > > Hello, > > I start to get frustrated again, the documentation of nixos is not very > good if you do more than just the most basic stuff. > > So you kind of are if you are

Re: [Nix-dev] Fwd: Why having releases if you break things in it often

2017-02-11 Thread Stefan Huchler
> > Did you pay someone? If yes, talk to them and be as rude as you want, > because you have a contract. If no, then pick one of the other three > options. Well I wanted to appoledgise for my tone, even I think I made mostly valid points if you put the tone aside for a moment. I of course have

Re: [Nix-dev] qutebrowser undefined symbol 16.09

2016-10-08 Thread Stefan Huchler
userlang > packages. > So try after upgrading your nixos upgrade you user packages with > > nix-env --upgrade > > 2016-10-08 1:23 GMT+01:00 Stefan Huchler <stefan.huch...@mail.de>: > > Hi, > > I just upgraded again my acer chromebook 11 but quteb

[Nix-dev] qutebrowser undefined symbol 16.09

2016-10-07 Thread Stefan Huchler
Hi, I just upgraded again my acer chromebook 11 but qutebrowser since a week or so refuses to start. it throughs a symbol lookup error: http://ix.io/1u6r and exits afterwards. btw not really related to it I guess, maybe opening anothher seperate post about it, but I cant paste a copied string

Re: [Nix-dev] Fwd: Re: qutebrowser very unstable

2016-11-08 Thread Stefan Huchler
Hi, just had another 2 crashes in 15 mins writing I think 1 youtube comment and 1 github comment. Its about this input boxes here. I dont know if thats related to the backend, buti its a pain in the ass. Maybe try now to debug it, maybe its not related to that backend. Linus Arver

[Nix-dev] how to add buildInput with derivation

2016-11-08 Thread Stefan Huchler
Because I have problems with qutebrowser I want to try out the new qtwebengine backend. I am not 100% shure that I edit the right variable but I want to add qtwebengine to the buildInputs variable of that package: { packageOverrides = pkgs: rec { qutebrowser =

Re: [Nix-dev] how to add buildInput with derivation

2016-11-08 Thread Stefan Huchler
Bjørn Forsman writes: > Try > > packageOverrides = pkgs: rec { > qutebrowser = pkgs.qutebrowser.overrideDerivation (oldAttrs: rec { > nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ > pkgs.qt5.qtwebengine > ]; > }); > }; Thanks, yes

Re: [Nix-dev] gstreamer plugins missing

2016-11-06 Thread Stefan Huchler
Bjørn Forsman <bjorn.fors...@gmail.com> writes: > On 6 November 2016 at 11:43, Bjørn Forsman <bjorn.fors...@gmail.com> wrote: >> On 6 November 2016 at 01:50, Stefan Huchler <stefan.huch...@mail.de> wrote: >>> [...] >>> gst-inspect | grep

[Nix-dev] gstreamer plugins missing

2016-11-05 Thread Stefan Huchler
Hi, I try to stream a rtsp or http adress from spydroid to /dev/videoX. So gstreamer seems to be best suited for that. gst-launch rtspsrc location=rtsp://192.168.1.154:8086 ! decodebin ! v4l2sink device=/dev/video0 something like that should do the trick in theory. But there seems to be no

[Nix-dev] how to successfully install owncloud/nextcloud

2016-10-14 Thread Stefan Huchler
I am using 16.09 but have serious problems getting owncloud running, first I find it irritating that only postgresql is supportet but ok I can accept that at least for now. But I cant get it running, sadly there is no wiki entrence for that either and no example code in any nix file. But the

Re: [Nix-dev] how to successfully install owncloud/nextcloud

2016-10-22 Thread Stefan Huchler
schneefux+nixos_l...@schneefux.xyz writes: > The Owncloud NixOS module hasn't been updated in a year, was written for > Owncloud 7 and requires Apache, PostgreSQL and phpfpm. I use neither of > those things. > In my opinion, you don't need a NixOS module for every possible > combination of web

[Nix-dev] add ubuntu support to debootstrap

2016-10-22 Thread Stefan Huchler
Hi, I made a ubuntu version of the debootstrap installer, which adds support to ubuntu releases. I could upload that "debootstrap-ubuntu" version to github and open a PR for it. But I wonder if that makes sense, cause the debootstrap version of ubuntu comes with the scripts for debian and

Re: [Nix-dev] how to successfully install owncloud/nextcloud

2016-10-18 Thread Stefan Huchler
schneefux <schneefux+nixos_l...@schneefux.xyz> writes: > Hello Stefan, > > On 14.10.2016 17:14, Stefan Huchler wrote: >> I am using 16.09 but have serious problems getting owncloud running, >> first I find it irritating that only postgresql is supportet but ok I

Re: [Nix-dev] how to successfully install owncloud/nextcloud

2016-10-21 Thread Stefan Huchler
schneefux writes: >> I am using 16.09 but have serious problems getting owncloud running, >> first I find it irritating that only postgresql is supportet but ok I >> can accept that at least for now. > > here is how I use it with Let's encrypt, nginx and uwsgi: >

[Nix-dev] how to install kodi retroarch advanced starter

2016-10-24 Thread Stefan Huchler
I found the retroarch package and I found the advanced-launcher plugin for kodi and installed them. But I dont understand how to setup/install the content of this nix package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/emulators/retroarch/kodi-advanced-launchers.nix Can someone

Re: [Nix-dev] Proposal: adding fetchapt support to nixpkgs

2016-11-11 Thread Stefan Huchler
Profpatsch writes: > That doesn’t work, and it’s by design. > In order for nix (the package manager) to be able to install something, > it needs to know the input files *beforehand*, by hash. So nix **cannot** > evaluate a derivation where the source hash changes. > > The one

[Nix-dev] qutebrowser very unstable

2016-11-03 Thread Stefan Huchler
I have 2 pcs with nixos, pretty much same setup (exwm), on my main machine I update very often but its the last "stable" channel, and qutebrowser since a few weeks crashes very often several times each day. It often says something about some qtbrowser-library not supported anymore so they want to

Re: [Nix-dev] The Church of Suckless NixOS is looking for followers

2017-03-17 Thread Stefan Huchler
Jan Malakhovski (The ephemeral self-proclaimed Pope of SLNOS) writes: > * Our common goal is to have fun (see below) and to get a NixOS system > that can run using only suckless tools [1]. which is a subject oppinion, which tools does suck and which not. > * Some of us want

Re: [Nix-dev] Would love to get feedback / help to a kodi problem

2017-05-11 Thread Stefan Huchler
Thanks so far. Matthew Bauer writes: > Partly this is understanding the split between Nix, Nixpkgs, and NixOS. > You might not actually be rebuilding your changes to nixpkgs. This part > of the manual explains this somewhat: > >

Re: [Nix-dev] why has each revision / generation not a own configuration.nix

2017-05-12 Thread Stefan Huchler
Tomasz Czyż writes: > https://nixos.org/nixos/options.html#configuration+copy Thanks nice, could not belive that I am the first "genieus" that thought on that. Do you know the reason why it defaults to false, cant think of any disadvantage of that functionality. I mean

[Nix-dev] why has each revision / generation not a own configuration.nix

2017-05-12 Thread Stefan Huchler
Hi, I find it always strange, that when I revert back or boot a older version of nixos, the configuration file has no version that reflected that version. So I have to seperatly have to backup the configuration.nix file. Could there not be at least a backup of the config used in that generation

[Nix-dev] confusing rollback / generation system

2017-05-18 Thread Stefan Huchler
So because I had problems with nixos 17.03 (kodi) for now I wanted to rollback to a older version and get rid of the newer generations on my system, so that I can update my 16.10 profile with other configurations. Doing something like that: nix-env -G 198 -p /nix/var/nix/profiles/system nix-env

Re: [Nix-dev] confusing rollback / generation system

2017-05-18 Thread Stefan Huchler
Vladimír Čunát <vcu...@gmail.com> writes: > On 05/18/2017 08:32 PM, Stefan Huchler wrote: >> The first question is why do I need to specify a path and use a nix tool >> when I want to make nixos system rollback? searching this path always is not >> very funny. >

Re: [Nix-dev] confusing rollback / generation system

2017-05-18 Thread Stefan Huchler
Vladimír Čunát writes: > Oh, you mean the system-wide profile? (i.e. > /nix/var/nix/profiles/system) That's the root's profile. If you use > `nix-env` as root, it will operate on that by default. You typically > need elevated privileges, but it's probably possible to change

Re: [Nix-dev] Would love to get feedback / help to a kodi problem

2017-05-08 Thread Stefan Huchler
Matthew Bauer writes: > Then kodi should be in your environment. Just run it with kodi if you > can. You’ll need to do some modifications to get it building under NixOS > but you’ll hopefully have a better handle on things. Make sure if you > get it working you submit a PR

[Nix-dev] Would love to get feedback / help to a kodi problem

2017-05-06 Thread Stefan Huchler
Hello, I have problems getting my wireless xbox controller working with nixos 17.03 I think I kind of / might understand what the problem is. I think I would be able to solve it in other distros by compiling a package and install it into the system, but thats not so easy in nixos cause of the