[Nix-dev] Sound issues with PulseAudio (5.0) and Chromium HTML5 video lately
Hi, I'm having issues with sound in Chromium HTML5 videos lately, since about the time the systemd 212 and PA 5 updates hit nixpkgs. Does anybody else have these problems? Basically instead of the intended sound I get chp chp sounds. I might try later whether reverting to PA 4 helps. Cheers, Aristid ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] User's configuration files
Hi all. Is it a good idea to create some option for a config file for a special user? I mean, for example, `users.extraUsers.userName.vimrc`. Or it's out of nixos idea? I think that will provide a good way of transferring configuration to another machine. This idea originally comes from making vim's state in nixos like emacs's. I mean installing plugins etc. But expanding this idea I thought it would be great to manage users configs by nixos too. -- Sincerely, Arseniy Seroka about.me/senia ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] User's configuration files
Excerpts from Arseniy Seroka's message of Sat Apr 26 18:54:38 + 2014: Is it a good idea to create some option for a config file for a special user? I mean, for example, `users.extraUsers.userName.vimrc`. Or it's out of nixos idea? If it works for you why not. About plugins: vim-pi is the project you might want to get a list of packages definitions from to create nix derivations eventually - however I won't spend much time on it due to neovim becoming more popular soon eventually. There are two ways: 1) install .vimrc to /var/run/current-system/sw/vimrc/user.vim and source it in users .vimrc, then it'll be updated, and you can still have machine specific .vimrc lines (Thus install the .vimrc system wide, and make sure it gets installed to a user specific directory so that it doesn't collide with other user's vimrc (unlikely, cause you're managing your own machine) ) 2) override .vimrc .. which is a less nice eventually. It all depends on what you do Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Libreoffice fails to build
Curl -04 works. My ISP is Dodo, what should I tell them is broken with their ipv6 setup? Aloha, RK. On Sat, Apr 26, 2014 at 9:59 PM, Mathijs Kwik math...@bluescreen303.nlwrote: Raahul Kumar raahul.ku...@gmail.com writes: Thanks Kirill, that solved the temp problem. What would be nicer is if Nixos used a backup downloader, like wget in case curl fails for some reason. I don't know where to start figuring out why curl fails to connect. Also why only libreoffice and it works fine with all the others. can you please try curl -O4 ' http://dev-www.libreoffice.org/src/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz ' If that works, there's something wrong with the ipv6 setup in your home/ISP/work. On Fri, Apr 25, 2014 at 7:58 PM, Kirill Elagin kirela...@gmail.com wrote: I don't know why it fails either, but you can try to download using wget or whatever you like and then nix-prefetch-url it via file: url. On Apr 25, 2014 12:24 PM, Raahul Kumar raahul.ku...@gmail.com wrote: trying http://dev-www.libreoffice.org/src/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- 0:02:06 --:--:-- 0curl: (7) Failed to connect to dev-www.libreoffice.orgport 80: Connection timed out error: cannot download xmlsec1-1.2.14.tar.gz from any mirror builder for `/nix/store/824qydk3gyxrcmimglfq9dslfr9qg8f1-xmlsec1-1.2.14.tar.gz.drv' failed with exit code 1 However, the file is available, I can download it using wget. I don't know why curl fails - err msg claims connection timed out. Aloha, RK. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Libreoffice fails to build
Raahul Kumar raahul.ku...@gmail.com writes: Curl -04 works. My ISP is Dodo, what should I tell them is broken with their ipv6 setup? It's not necessarily your ISP. It can be a misbehaving home-router as well. Your computer obviously thinks it has ipv6 connectivity beyond link-local (your ethernet/wireless subnet), while in reality it doesn't. If you are not aware of ever trying to configure anything related to ipv6 (static address, tunneling account), you probably have a home router that is advertising IPv6 routing capabilities without having a proper uplink itself or everything gets firewalled. It's also possible your ISP is supplying you with a global IPv6 address/subnet without routing traffic for it, but that's not very common yet (at least in EU/US). An easy workaround might be to just disable IPv6 (nixos has an option for it networking.enableIPv6 which is on by default) until it's properly supported by your ISP and home router, but you might want to investigate, because this will get back to you. You might be wondering why wget does work while curl doesn't. Both perform a DNS lookup (for dev-www.libreoffce.org), but in case they get multiple answers (both IPv4 and IPv6 addresses), curl only tries the first one, while wget tries them all until one succeeds. While the wget behaviour seems nice in general, it's actually covering up broken setups while imposing a slowdown for each and every connection to an IPv6 enabled host (because of the retry). I think if things are broken, they should be fixed, instead of worked around :) Aloha, RK. On Sat, Apr 26, 2014 at 9:59 PM, Mathijs Kwik math...@bluescreen303.nlwrote: Raahul Kumar raahul.ku...@gmail.com writes: Thanks Kirill, that solved the temp problem. What would be nicer is if Nixos used a backup downloader, like wget in case curl fails for some reason. I don't know where to start figuring out why curl fails to connect. Also why only libreoffice and it works fine with all the others. can you please try curl -O4 ' http://dev-www.libreoffice.org/src/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz ' If that works, there's something wrong with the ipv6 setup in your home/ISP/work. On Fri, Apr 25, 2014 at 7:58 PM, Kirill Elagin kirela...@gmail.com wrote: I don't know why it fails either, but you can try to download using wget or whatever you like and then nix-prefetch-url it via file: url. On Apr 25, 2014 12:24 PM, Raahul Kumar raahul.ku...@gmail.com wrote: trying http://dev-www.libreoffice.org/src/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- 0:02:06 --:--:-- 0curl: (7) Failed to connect to dev-www.libreoffice.orgport 80: Connection timed out error: cannot download xmlsec1-1.2.14.tar.gz from any mirror builder for `/nix/store/824qydk3gyxrcmimglfq9dslfr9qg8f1-xmlsec1-1.2.14.tar.gz.drv' failed with exit code 1 However, the file is available, I can download it using wget. I don't know why curl fails - err msg claims connection timed out. Aloha, RK. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] NixOS for armv7
On Sat, Apr 26, 2014 at 09:56:32PM +0200, Vincent B. wrote: Hi, I'm very keen on using NixOS as the base distro for a project involving connected objects, but we use boards based on Allwinner A20 CPUs (armv7 architecture). Therefore I'd like to get started on the process of creating a NixOS rootfs for armv7, as well as building packages for the armv7 arch. I have seen that there was an attempt to port NixOS on the raspberry pi roughly last year (that seemed to have succeeded, though I don't know if it is still maintained), and I am going to thoroughly read the info I can find on the subject. So this message is basically to inform you about my intention. I would be happy to hear any comment or advice you could possibly have in order to get started more easily. I've to play on arm too, in the next weeks. If you are around #nixos, feel free to share the experience, and questions if they arise. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] nix-shell cannot create directory followed by closeNest: command not found
Hi, I wanted to write some code for the Yi text editor today. It is a Haskell program and I wanted to use nix to help me develop it. After all, the ability to do this is one of the main reasons why I went for NixOS. I followed instructions at [1] and using the Project Sandboxes section, I have arrived at the default.nix file you can find at [2]. When I run ‘nix-shell’, the dependencies listed get downloaded (and installed?) but the incantation fails with: [shana@lenalee:~/programming/yi/yi]$ nix-shell mkdir: cannot create directory ‘/nix/store/d5d5bmdqn9pp05yixckdbiamnhdp8hfw-haskell-yi-ghc7.6.3-0.8.1-profiling’: Read-only file system closeNest: command not found Is there something I'm missing? I thought that maybe it's a name-clash with existing package (Yi is already packaged) but changing the version string in default.nix revealed that wasn't the case. [1]: http://ocharles.org.uk/blog/posts/2014-02-04-how-i-develop-with-nixos.html [2]: http://lpaste.net/103249 -- Mateusz K. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev