[Nix-dev] NixOS install from Linux using lilo

2011-12-25 Thread Sergey Mironov
Hello list. I am trying to install Nixos on my Lenovo S10-3t netbook. I followed wiki article [1] but the problem is that I have lilo instead of grub as the boot manager. I have tried to translate grub config lines into lilo.conf but faced failed booting saying: -- mounting /dev/root on /...

[Nix-dev] Install specific kernel version

2011-12-31 Thread Sergey Mironov
Hello, list! I am still a novice in Nixos. I have found a variety of kernels available in /etc/nixos/nixpkgs/pkgs/os-specific/linux/kernel/ but don't understand how to ask nixos to install the one I prefer, namely v3.0. Could you provide me with some hints? Happy New Year !!! -- Thanks, Sergey

[Nix-dev] gitorious mirror

2012-01-02 Thread Sergey Mironov
I found a note in the wiki about nixos/nixpkgs mirror on the gitorios, but it looks abandoned - last commit is of May 2011. What is the prefereble way of maintaining up-to-date repo with local modifications? Is it possible to use git-svn'ed clone of svn trunk? Sergey

Re: [Nix-dev] PLease help to grok the code

2012-01-04 Thread Sergey Mironov
Brilliant, many thanks! 2012/1/5 Yury G. Kudryashov urkud.ur...@gmail.com Sergey Mironov wrote: top-level/all-packages.nix:32 (https://nixos.org/websvn/nix/nixpkgs/trunk/pkgs/top-level/all- packages.nix) defines 'config' parameter. Where does it come from when I type 'nixos-rebuild

[Nix-dev] /proc/config.gz does not exist

2012-01-06 Thread Sergey Mironov
Hi. /proc/config.gz does not exist on my filesystem. I am using now-default 2.6.35.14 kernel, and I've checked the pkgs/os-specific/linux/kernel/linux-2.6.35.nix - IKCONFIG_PROC is enabled. What is wrong then? ___ nix-dev mailing list

Re: [Nix-dev] /proc/config.gz does not exist

2012-01-06 Thread Sergey Mironov
2012/1/6 Lluís Batlle i Rossell vi...@viric.name On Fri, Jan 06, 2012 at 10:09:32PM +0300, Sergey Mironov wrote: Hi. /proc/config.gz does not exist on my filesystem. I am using now-default 2.6.35.14 kernel, and I've checked the pkgs/os-specific/linux/kernel/linux-2.6.35.nix

[Nix-dev] [PATCH] unclutter-8

2012-01-07 Thread Sergey Mironov
Hi, Here is the patch which adds a small tool called unclutter to the collection. Could you please commit? From Arch wiki: Unclutter hides your X mouse cursor when you do not need it, to prevent it from getting in the way. You have only to move the mouse to restore the mouse cursor. Unclutter is

Re: [Nix-dev] [PATCH] unclutter-8

2012-01-07 Thread Sergey Mironov
2012/1/7 Yury G. Kudryashov urkud.ur...@gmail.com Sergey Mironov wrote: Hi, Here is the patch which adds a small tool called unclutter to the collection. Could you please commit? From Arch wiki: Unclutter hides your X mouse cursor when you do not need it, to prevent it from getting

[Nix-dev] [nix-dev] synaptics touchpad settings

2012-01-09 Thread Sergey Mironov
Hi! I've discovered that synaptics touchpad's nix expression allows to setup some very specific options but can't help me to set some others, more common as I think. Here is the patch which adds 'additionalOptions' option. It allows user to modify touchpad's section in xorg.conf. I think such

[Nix-dev] [nix-dev] svn sasl support

2012-01-11 Thread Sergey Mironov
Hi. Here is another patch witch adds sasl auth method to the svn. That was easy. I set it enabled by default, hope it is ok. Sergey. 0001-subversion-add-sasl-support.patch Description: Binary data ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] [nix-dev] chrome java plugin

2012-01-11 Thread Sergey Mironov
Hello! Has anyone tried the subj? I don't see any java-related option in chrome's nix file. Does it means that this is not implemented? What about firefox? Sergey ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] [nix-dev] chrome java plugin

2012-01-11 Thread Sergey Mironov
2012/1/12 Marc Weber marco-owe...@gmx.de Excerpts from Lluís Batlle i Rossell's message of Wed Jan 11 22:28:45 +0100 2012: For chrome, I imagine it works similar. http://support.google.com/chrome/bin/answer.py?hl=enanswer=142064 Does not list linux when you follow the Java link. But that

[Nix-dev] [nix-dev] oxygen gtk theming

2012-01-14 Thread Sergey Mironov
Hi. I've installed oxygen-gtk theme and tried to switch it on by linking [ierton@pokemon:~]$ ls -l .gtkrc-2.0.mine lrwxrwxrwx 1 ierton users 64 Янв 13 13:55 .gtkrc-2.0.mine - /var/run/current-system/sw/share/themes/oxygen-gtk/gtk-2.0/gtkrc (.gtkrc-2.0.mine is included from .gtkrc-2.0) It works,

Re: [Nix-dev] [nix-dev] svn sasl support

2012-01-15 Thread Sergey Mironov
2012/1/14 Peter Simons sim...@cryp.to Hi Sergey, Here is another patch witch adds sasl auth method to the svn. That was easy. I set it enabled by default, hope it is ok. I committed your patch. Thank you very much! I had no idea what SASL support is actually required for, though. I

Re: [Nix-dev] [nix-dev] oxygen gtk theming

2012-01-17 Thread Sergey Mironov
2012/1/16 Yury G. Kudryashov urkud.ur...@gmail.com Cillian de Róiste wrote: 2012/1/14 Александр Цамутали asts...@yandex.ru: I tried the same with murrine a long time ago with the same result. It seems we need to patch GTK+ to help it find paths to theme engines for ex. from environment

Re: [Nix-dev] [nix-dev] svn sasl support

2012-01-17 Thread Sergey Mironov
2012/1/16 Lluís Batlle i Rossell vi...@viric.name On Mon, Jan 16, 2012 at 01:06:33AM +0400, Sergey Mironov wrote: What should I write to override this setting? Could you please give me an example (sorry, my nix-skill is still weak)? Or maybe should we write something like

Re: [Nix-dev] fonts: subpixel rendering

2012-01-17 Thread Sergey Mironov
2012/1/17 Lluís Batlle i Rossell vi...@viric.name: On Tue, Jan 17, 2012 at 10:12:09PM +0400, Sergey Mironov wrote: Hello. Has anybody tried to enable subpixel hinting in fontconfig? Looks like placing       match target=font               edit name=rgba mode=assign

[Nix-dev] cairoclock patch

2012-01-19 Thread Sergey Mironov
Hi. Here is a patch adding nice cairo-clock application. Please review/add. Sergey http://www.haskell.org/haskellwiki/Image:Xmonad-clock.png (right-bottom corner) 0001-cairoclock-An-analog-clock-displaying-the-system-tim.patch Description: Binary data

[Nix-dev] myEnvFun rebuilds gcc

2012-01-24 Thread Sergey Mironov
Hello. I am trying to setup an dev environment with the following expression in ~/.nixpkgs/config.nix gogrEnv = pkgs.myEnvFun rec { name = gogr; buildInputs = [ pkgconfig cmake qt4 gcc ]; }; When I type nix-env -i env-gogr, it starts

Re: [Nix-dev] myEnvFun rebuilds gcc

2012-01-24 Thread Sergey Mironov
2012/1/25 Lluís Batlle i Rossell vi...@viric.name: On Wed, Jan 25, 2012 at 02:17:58AM +0400, Sergey Mironov wrote: Hello. I am trying to setup an dev environment with the following expression in ~/.nixpkgs/config.nix     gogrEnv = pkgs.myEnvFun rec {       name = gogr;       buildInputs

Re: [Nix-dev] myEnvFun rebuilds gcc

2012-01-24 Thread Sergey Mironov
2012/1/25 Lluís Batlle i Rossell vi...@viric.name: On Wed, Jan 25, 2012 at 02:39:35AM +0400, Sergey Mironov wrote: Hm. Yes, overrides looks like a magic. Which list do you mean? I've tried     gogrEnv = pkgs.myEnvFun rec {       name = gogr;       buildInputs = [         ...         gcc

[Nix-dev] nix unpack

2012-01-28 Thread Sergey Mironov
Hi! Have we got a tool/script which can download derivation's tarball into current directory (and unpack it)? Basically, I wish I have a tool wich does what 'cabal unpack' does for haskell world.. Sergey ___ nix-dev mailing list

[Nix-dev] webkit-1.14.0 local build

2012-01-29 Thread Sergey Mironov
Hi! When I try to do nixos-rebuild, it wants to build webkit locally. How can I figure out the reason? I've checked hydra job but it seems to be ok: http://hydra.nixos.org/job/nixpkgs/trunk/webkit is it possible to revert to last-stable prebuilt version? Thanks

[Nix-dev] xfce and gvfs-fuse-daemon

2012-02-12 Thread Sergey Mironov
. From f6cc3f9a311adc7292d713518d2e77b710ce1cdf Mon Sep 17 00:00:00 2001 From: Sergey Mironov ier...@gmail.com Date: Sun, 12 Feb 2012 15:06:32 +0400 Subject: [PATCH] xfce-gvfs: add fuse to buildInputs Passing fuse to gvfs results in building gvfs-fuse-daemon, which makes it possible to access gvfs

Re: [Nix-dev] nix unpack

2012-02-12 Thread Sergey Mironov
On Sun, Jan 29, 2012 at 11:56:20AM +0100, Marc Weber wrote: I use the followiing two functions, the first is a copy paste from unpack phase alias nb=nix-build $(NIXPKGS_ALL) -A cdunpack () { local curSrc=$1 local b=$(basename $1) local dir=/tmp/${b}-unpacked [

[Nix-dev] openoffice

2012-02-14 Thread Sergey Mironov
Hi! Looks like openoffice is broken http://hydra.nixos.org/job/nixpkgs/trunk/openoffice Could anyone please fix it? The error is on install phase, hydra says it was: mkdir

Re: [Nix-dev] Hydra out of disk space

2012-02-21 Thread Sergey Mironov
2012/2/20 Peter Simons sim...@cryp.to: Hi, the build http://hydra.nixos.org/build/2099429 of haskell-gtk+ failed because the build machine ran out of disk space. This failure caused a whole lot of other builds to fail, so I wonder whether someone could re-start that build, please? Take

[Nix-dev] include ncursesw properly

2012-02-22 Thread Sergey Mironov
Hi. I want to build a program which uses ncurses headers like that: #include ncursesw/curses.h Basically, it couldn't find this header. I've added ${ncurses}/include to the C_INCLUDE_PATH in my dev environment, but it didn't help. Actually, ${ncurses}/include hasn't got ncursesw folder inside,

[Nix-dev] nix-build $CONFIG -A package

2012-04-13 Thread Sergey Mironov
Hi! I used to call function fetch () { nix-build $NIXPKGS_ALL -A $1.src --show-trace } to download a source tarball for a package. But it doesn't work anymore! That is because of absence of $NIXPKGS_ALL in my environment. How to fix it? I've tried the following, also unsuccessfully: $

[Nix-dev] Abiword broken because of libpng

2012-04-16 Thread Sergey Mironov
Hi! I am trying to fix an error causing build failure in abiword: ie_impGraphic_GdkPixbuf.cpp: In member function 'UT_Error IE_ImpGraphic_GdkPixbuf::_png_write(GdkPixbuf*)': ie_impGraphic_GdkPixbuf.cpp:188:6: error: invalid use of incomplete type 'png_struct {aka struct png_struct_def}'

[Nix-dev] handling /usr/lib/foo-plugins

2012-05-10 Thread Sergey Mironov
Hello list. I've tried to update zathura viewer (http://pwmt.org/projects/zathura/) from 0.01 to 0.1.2 but discovered that it is not that easy. Upstream developers decided to split the project into a GUI and a set of .so libraries (plugins for pdf- djvu- ps- etc). Those libraries are to be located

Re: [Nix-dev] handling /usr/lib/foo-plugins

2012-05-15 Thread Sergey Mironov
Thanks, I've looked under the zathura's hood - it uses following scheme: 1) gui part - zathura - is a core component, it should be compiled first 2) each plugin needs zathura to be built, but user may set target directory to put .so into (/usr/lib/zathura obtained from pkgconfig by default). 3)

[Nix-dev] nixos-rebuild: Please specify target to sync with

2012-06-01 Thread Sergey Mironov
Hi! While updating my system with $ sudo nixos-rebuild switch -I ~/proj/nix it does something (it looks correct) but then exits saying strange thing: Please specify target to sync with What does it mean? -- Sergey ___ nix-dev mailing list

Re: [Nix-dev] nixos-rebuild: Please specify target to sync with

2012-06-01 Thread Sergey Mironov
Arr, I've looked into nixos-rebuild (shell script). It calls sync, which was resolved via PATH into my own old script with same name. I've renamed it, rebuild works fine now. My fault, sorry for bothering :) 2012/6/1 Eelco Dolstra eelco.dols...@logicblox.com: Hi, On 01/06/12 10:38, Sergey

[Nix-dev] nix-env ignores NIX_PATH ?

2012-06-02 Thread Sergey Mironov
Hi. I am trying to do $ export NIX_PATH=$HOME/proj/nix/nixpkgs $ nix-env -v -i smth where smth is a package available in my personal dev tree located in $HOME/proj/nix/nixpkgs. According to logs, nix-env starts to search in channel's source, than in depricated /etc/nixos/ tree, but doesn't

[Nix-dev] substitute hell ?

2012-06-02 Thread Sergey Mironov
Hi again. I'm in trouble. Could anyone explain the situation: We know that vlc package depends on a52dec. We have a substitution for vlc: $ sudo nix-env -qas 'vlc' --system --out-path --S vlc-2.0.1 x86_64-linux /nix/store/x332qx57qbak8rbmg4hhbjr5m7afn2df-vlc-2.0.1 --S vlc-2.0.1 i686-linux

Re: [Nix-dev] substitute hell ?

2012-06-02 Thread Sergey Mironov
Thanks for quick answer 2012/6/3 Eelco Dolstra eelco.dols...@logicblox.com: Hi, On 02/06/12 16:25, Sergey Mironov wrote: We know that vlc package depends on a52dec. We have a substitution for vlc: $ sudo nix-env -qas  'vlc' --system --out-path --S  vlc-2.0.1  x86_64-linux /nix/store

Re: [Nix-dev] substitute hell ?

2012-06-03 Thread Sergey Mironov
.. 2012/6/3 Sergey Mironov ier...@gmail.com: Thanks for quick answer 2012/6/3 Eelco Dolstra eelco.dols...@logicblox.com: Hi, On 02/06/12 16:25, Sergey Mironov wrote: We know that vlc package depends on a52dec. We have a substitution for vlc: $ sudo nix-env -qas  'vlc' --system --out-path

Re: [Nix-dev] substitute hell ?

2012-06-03 Thread Sergey Mironov
a substitution! 2012/6/3 Sergey Mironov ier...@gmail.com: Crap, looks like I've found it. Nixos/nixpkgs trees I used recently were obtained from git mirror. I tried to update using a tree directly from svn (of corresponding revision) - and it worked! nix successfully installed vlc using

[Nix-dev] libreoffice icons

2012-06-05 Thread Sergey Mironov
Hi, Looks like libreoffice doesn't show itself in xfce's main menu. And I cant find any icons in it's /nix/store/.../ dir. Does anybody know anything about what can be done to fix it? What's situation with KDE? ___ nix-dev mailing list

Re: [Nix-dev] nix-env ignores NIX_PATH ?

2012-06-17 Thread Sergey Mironov
be extended using the -I option, which takes precedence over NIX_PATH. 2012/6/8 Kirill Elagin kirela...@gmail.com: That's not what NIX_PATH is supposed to do. You are looking for `-f` option (or create a link to your tree in ~/.nix-defexpr). -- Кирилл Елагин 2012/6/2 Sergey Mironov ier

[Nix-dev] chromium problem

2012-07-03 Thread Sergey Mironov
Hi, I have experienced a problem running latest chromium - it simply doesn't want to open pages, Aw snap error page is displayed instead. Does anybody know how to fix it? Thanks in advance, Sergey [ierton@pokemon:~]$ chromium --version Chromium 21.0.1179.1 [ierton@pokemon:~]$ chromium

Re: [Nix-dev] chromium problem

2012-07-04 Thread Sergey Mironov
Did you try with a fully clean user environment? (~/.config/chromium) I've experienced similar errors when certain extensions stopped getting maintained. Yes, I've tried to run from another (just created) user. Same permanent Aw, snap for all pages. Not just for sites but really for all -

Re: [Nix-dev] upgrades and channels

2012-07-08 Thread Sergey Mironov
But did you try Kirill Elagin's advice? NIX_PATH=foo=$HOME/code/nixos/nixpkgs nix-env -f 'foo' -qa '*' It works for me (without touching ~/.nix-defexp) 2012/7/7 Mathijs Kwik math...@bluescreen303.nl: Sergey Mironov ier...@gmail.com writes: Hi. Please, also take a look also on the topic nix

Re: [Nix-dev] Haskell packages installation

2012-07-17 Thread Sergey Mironov
Great wiki, many thanks! 2012/7/17 Andres Loeh ks...@andres-loeh.de: Sorry, wrong link: http://nixos.org/wiki/Haskell Cheers, Andres ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] pxe, network driver at stage 1

2012-08-03 Thread Sergey Mironov
Hi. I'm trying to boot Nixos using pxe (network booting). pxelinux.0 (probably part of syslinux - I can't remember it's origin on my server) helped me to boot stage 1. Unfortunately, it turned out that /dev/root is not set and thus nixos can't mount /mnt/root and nix-store.squashfs image. And

Re: [Nix-dev] pxe, network driver at stage 1

2012-08-03 Thread Sergey Mironov
with NixOS! or maybe you could even create a virtual machine image? i would like to have such a setup as well but currently lack the time looking into it. On Fri, 3 Aug 2012 12:50:15 +0400, Sergey Mironov ier...@gmail.com wrote: Hi. I'm trying to boot Nixos using pxe (network booting). pxelinux

Re: [Nix-dev] pxe, network driver at stage 1

2012-08-06 Thread Sergey Mironov
Ah, seems too complex for me - have no time to deal with it.. my server is not under nixos. But thanks for materials. Sergey 2012/8/4 Marc Weber marco-owe...@gmx.de: You may want to revive my old test case: http://83.246.111.127/marc/0001-pxe-test-case.patch At least it gives you some ideas

[Nix-dev] override xlibs.libXft

2012-08-07 Thread Sergey Mironov
Hi. I'd like to test LCD patch on top of libXft, see if it renders fonts better or not. To do it, I wrote the following in my config: nixpkgs.config = { packageOverrides = pkgs: { ... libXft_lcd = pkgs.xlibs.libXft.override {

Re: [Nix-dev] libreoffice icons

2012-08-20 Thread Sergey Mironov
... -- Кирилл Елагин 2012/6/5 Sergey Mironov ier...@gmail.com Hi, Looks like libreoffice doesn't show itself in xfce's main menu. And I cant find any icons in it's /nix/store/.../ dir. Does anybody know anything about what can be done to fix it? What's situation with KDE

[Nix-dev] libreoffice problems

2012-08-28 Thread Sergey Mironov
Hi. Something weird has happened with libreoffice package. Were I include it in the environment.systemPackages, nixos is going to rebuild just about all it's dependencies. Here is the incomplete list of what are about to be built:

Re: [Nix-dev] libreoffice problems

2012-09-03 Thread Sergey Mironov
2012/9/4 Vladimír Čunát vcu...@gmail.com: 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.

[Nix-dev] freezing current version of a package

2012-09-15 Thread Sergey Mironov
Hi. Common usecase: nix-channel --update nixos breaks some package which was installed via configuration.nix. If I remove the package from configuration, system will update successfully, but I really need this package right now. Is it possible to somehow 'move' the package and it's deps to the

[Nix-dev] localizing firefox

2013-01-08 Thread Sergey Mironov
Hello! I'm working on a mom-friendly NixOS :) Does anybody have an experience of localizing Firefox's (Nightly's) UI? Maybe local *nix patches or howto links? Thanks in advance Sergey. ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] localizing firefox

2013-01-08 Thread Sergey Mironov
Yes, that works for me, thanks! The only note: I have to run the firefox with the command line $ firefox -UILocale ru in order to enable localization after installing the proper *xpi Sergey 2013/1/8 Lluís Batlle i Rossell vi...@viric.name: On Tue, Jan 08, 2013 at 06:08:27PM +0400, Sergey

Re: [Nix-dev] localizing firefox

2013-01-08 Thread Sergey Mironov
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. 2013/1/8 Sergey Mironov ier...@gmail.com: Yes, that works for me, thanks! The only note: I have to run the firefox with the command

Re: [Nix-dev] localizing firefox

2013-01-08 Thread Sergey Mironov
I have $ echo $LANG ru_RU.UTF-8 Looks like firefox ignores it. 2013/1/8 Vladimír Čunát vcu...@gmail.com: 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

Re: [Nix-dev] [PATCH] qiv: add version 2.2.4

2013-01-16 Thread Sergey Mironov
Just a side-note: Qiv works in general, but segfaults in 'Browse' mode.. 2013/1/11 Petar Bogdanovic pe...@smokva.net: --- pkgs/applications/graphics/qiv/default.nix | 19 +++ pkgs/top-level/all-packages.nix| 2 ++ 2 files changed, 21 insertions(+) create mode

[Nix-dev] hack the source, then install

2013-03-01 Thread Sergey Mironov
Hi. Is it possible to continue installation after hacking the sources via nix-build $MY_NIX_ROOT/nixpkgs --run-env -A $attr ? The idea is to be able to quickly hack the source and see if it works or not. If it is, one probably may generate diff against the original. What if this 'inplace

[Nix-dev] cross toolchain howto request

2013-03-03 Thread Sergey Mironov
Hello! I'd like to build cross toolchains for several archs (arm-none-elf, x86-none-elf plus some others). I need only compilers since my goal is to try to build some embedded kernels, so as far as I know I don't need to cross-build coreutils or other user-space stuff. Also, I don't need any linux

Re: [Nix-dev] localizing firefox

2013-03-04 Thread Sergey Mironov
2013/1/8 Lluís Batlle i Rossell vi...@viric.name: On Tue, Jan 08, 2013 at 06:08:27PM +0400, Sergey Mironov wrote: Hello! I'm working on a mom-friendly NixOS :) Does anybody have an experience of localizing Firefox's (Nightly's) UI? Maybe local *nix patches or howto links? I always go

Re: [Nix-dev] cross toolchain howto request

2013-03-05 Thread Sergey Mironov
Hello. I continue my work on having several cross-toolchains and here is what I have for now [1]. I've managed to write nix-expression which can install a cross-toolchain for one arch, but this expression can't be used to install several toolchains simultaneously. That is the problem. For

[Nix-dev] troubles fetching a nar

2013-03-06 Thread Sergey Mironov
Hi. I have strange situation while updating nixos: nixos-rebuild can't fetch nar for soprano package, stalling at 99%. This could be a network problem, but anyway, is there a workaround? I've downloaded that nar using wget successfully. What can I do to unpack/register it under /nix/store to allow

Re: [Nix-dev] Cross Compiling for Raspberry PI

2013-03-18 Thread Sergey Mironov
Hi! I'm going to try compiling NixOS for Raspberry PI soon. What is the status of this target? Alexander, were you able to solve your problem? Thanks in advance, Sergey 2012/7/23 Alexander Foremny alexanderfore...@gmail.com: Hello, I am currently trying to cross compile some packages for the

Re: [Nix-dev] Cross Compiling for Raspberry PI

2013-03-19 Thread Sergey Mironov
2013/3/18 Lluís Batlle i Rossell vi...@viric.name Sorry, I missed the last points of the discussion about cross-compiling for the pi. What's the issue? Right, I am talking about cross-compiling, not native building. Looks like it is not a simple task, but luckily my idea is not to build whole

Re: [Nix-dev] Cross Compiling for Raspberry PI

2013-03-19 Thread Sergey Mironov
2013/3/19 Lluís Batlle i Rossell vi...@viric.name: On Tue, Mar 19, 2013 at 11:08:43AM +0400, Sergey Mironov wrote: 2013/3/18 Lluís Batlle i Rossell vi...@viric.name Sorry, I missed the last points of the discussion about cross-compiling for the pi. What's the issue? Right, I am talking

Re: [Nix-dev] Haskell Parser for (subset of) Nix

2013-03-23 Thread Sergey Mironov
Cool, thanks! It opens the way for many good thinks, like ctags generator, safe automatic package updaters, and so on! Sergey 2013/3/23 Vladimír Čunát vcu...@gmail.com: On 03/23/2013 12:05 PM, Marc Weber wrote: I thought about writing a Haskell interpreter for nix, too. Haskell is very close

[Nix-dev] 'unit' derivations

2013-03-29 Thread Sergey Mironov
Hi, I've noticed lots of derivations called 'unit' during last update. Please explain what do they mean? Thanks in advance, Sergey building the system configuration... these derivations will be built: /nix/store/0i90vkh6jzi63mj46ygmbphinj31pnrs-stage-1-init.sh.drv

[Nix-dev] glibc-2.13 hell

2013-03-30 Thread Sergey Mironov
Hi. I've updated my system first time after stdenv-update merge. Now I have [ierton@greyblade:~]$ nix-dev-revision nixos 9c3a31f [ierton@greyblade:~]$ nix-dev-revision nixpkgs 0caed13 base revisions for nixos and nixpkgs, plus some custom packages in nixpkgs. Unfortunately, I've ran into

Re: [Nix-dev] glibc-2.13 hell

2013-03-30 Thread Sergey Mironov
New detail: I have firefox installed via environment.systemPackages, and opera via nix-env -i. But I've run nix-env -u \* after system update. Sergey 2013/3/30 Sergey Mironov ier...@gmail.com Hi. I've updated my system first time after stdenv-update merge. Now I have [ierton@greyblade

Re: [Nix-dev] glibc-2.13 hell

2013-03-30 Thread Sergey Mironov
Hey, I was able to fix it typing nix-env -e opera nix-env -i opera Does that mean that nix-env -u opera has different task? Sergey 2013/3/30 Sergey Mironov ier...@gmail.com New detail: I have firefox installed via environment.systemPackages, and opera via nix-env -i. But I've run nix-env

Re: [Nix-dev] glibc-2.13 hell

2013-04-02 Thread Sergey Mironov
Hi, On 30/03/13 13:27, Sergey Mironov wrote: PS I had custom libfreetype in the LD_LIBRARY_PATH (set by the ~/.bash_profile) at the moment of nixos-rebuild, like this: [ierton@greyblade:~]$ echo $LD_LIBRARY_PATH /nix/store/zwilpkw86liih06x1zg6avlkd17awyfn-freetype-2.4.10/lib:/run

Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread Sergey Mironov
Awesome, Thanks! Regards, Sergey 2013/4/3 Lluís Batlle i Rossell vi...@viric.name Hello, I recently published two system-tarballs and one sd image for the stdenv at master, for some non-PC that can run nixos too. I also updated the wiki pages that refer to those platforms. I don't have

[Nix-dev] opera icons

2013-04-03 Thread Sergey Mironov
Hi. This is not a problem of the year, but still: Does anybody know why opera .desktop is not linked under /run/current-system/sw/share/applications? Same for icons. They exist in /nix/store but not in /run/current-software. /nix/store/flc2rnn2sysj0izdrp4blwszgpxj6gc4-opera-12.12-1707 ├── bin │  

Re: [Nix-dev] opera icons

2013-04-03 Thread Sergey Mironov
2013/4/3 Lluís Batlle i Rossell vi...@viric.name: On Wed, Apr 03, 2013 at 01:19:49PM +0400, Sergey Mironov wrote: Hi. This is not a problem of the year, but still: Does anybody know why opera .desktop is not linked under /run/current-system/sw/share/applications? Same for icons. They exist

[Nix-dev] Wiki install NixOS from Linux

2013-04-07 Thread Sergey Mironov
Hi! Looks like Install from Linux HowTo [1] is out of date since there is no /nix/store/hash-system/init longer available in modern livecd images. Replacing it with /nix/store/hash-systemd-200/sbin/init does not work for me: The system panics saying couldn't find an alternative telinit

Re: [Nix-dev] Wiki install NixOS from Linux

2013-04-14 Thread Sergey Mironov
2013/4/8 Sergey Mironov ier...@gmail.com: Could anyone fix the wiki or help me to debug/understand what can go wrong here? [1] - http://nixos.org/wiki/How_to_install_NixOS_from_linux Note: I've successfully booted Nixos using relatively modern livecd ISO. Wiki is updated

Re: [Nix-dev] installing virtualbox client prevents PPTP from working

2013-06-06 Thread Sergey Mironov
Ok, looks like the problem has gone magically. I've noticed that last nixos-rebuild downloaded new kernel-modules package, maybe that helped. Anyway, now I have both virtualbox and PPTP, sorry for the noise. Sergey 2013/6/6 Sergey Mironov ier...@gmail.com: Hi, folks. Strange, but fact. If I

[Nix-dev] ANNOUNCE nix-dev script

2013-06-23 Thread Sergey Mironov
Hi. I've just released 0.1 version of (yet another?) shell script, which makes Nixos development easier. https://github.com/grwlf/nixdev Nixdev is a plain bash script carefully written to assist in NixOS development. The script contains useful finctions allowing user to manage his/her local

Re: [Nix-dev] wicd woes

2013-07-09 Thread Sergey Mironov
Probably that is because wicd missing it's config file dhclient.conf.template under /var/lib/wicd Pull request https://github.com/NixOS/nixpkgs/pull/683 should fix this bug. As a workaround, you may copy the config by yourself (you need to do it only once) with cp

Re: [Nix-dev] wicd woes

2013-07-10 Thread Sergey Mironov
OK! Also, there is a problem with missing DNS resolv.conf entries when using dhcpcd. Dhclient works better under wicd currently. Sergey. 2013/7/10 Rommel Martinez r...@meta.ph: Thanks, copying dhclient.conf.template made it work! :-D ___ nix-dev

Re: [Nix-dev] libreoffice java impurity

2013-09-09 Thread Sergey Mironov
Hi. Just a side note. OpenOffice package has another minor issue: it doesn't provide .desktop files or places them in unusual place. So no icons, no menu entries. Could someone familiar with OO please fix it? Sergey 2013/9/3 Lluís Batlle i Rossell vi...@viric.name: On Tue, Sep 03, 2013 at

[Nix-dev] Dealing with dbus

2013-09-09 Thread Sergey Mironov
Hi. Let me suggest discussing the DBus and the guidelines for packaging software which uses this technology. I suppose that plain including dbus into the dependencies list of a package like that: { stdenv, fetchurl, pkgconfig, ... dbus ... }: stdenv.mkDerivation rec { name = udisks-1.0.4;

[Nix-dev] Fwd: Dealing with dbus

2013-09-13 Thread Sergey Mironov
not replyed to all by mistake -- Forwarded message -- From: Sergey Mironov grr...@gmail.com Date: 2013/9/13 Subject: Re: [Nix-dev] Dealing with dbus To: Mathijs Kwik math...@bluescreen303.nl Thanks for the clarifications. Yes, it is nixos who currently handles systemd units

[Nix-dev] Support for Nix language in Haskell

2013-10-30 Thread Sergey Mironov
Hi. If I remember correctly, there was a message on the Nix-Dev list announcing a Haskell package for working with Abstract syntax tree of Nix language. I can't find neither message, nor the package now. Could anybody point me to this thing? Regards, Sergey

[Nix-dev] icon-cache problem

2013-11-05 Thread Sergey Mironov
Hi. I've discovered that some GUI applications regenerate icon-cache during install. It works for other distros but leads to a confusion in Nix. For example, after installing gparted, all other user-installed applications lost their icons in Xfce main menu. That is because nixos places icon-cache

[Nix-dev] ghc-7.6.3 vs haskellPlatform collision

2013-11-06 Thread Sergey Mironov
Hi. I install ghc on a system-wide basis using the following template (I have only 2 packages in the list: haskellPlatform and cabalInstall) { config, pkgs, ... } : let haskpkgs = self : [ self.haskellPlatform self.cabalInstall ]; in { nixpkgs.config = { packageOverrides

Re: [Nix-dev] ghc-7.6.3 vs haskellPlatform collision

2013-11-06 Thread Sergey Mironov
2013/11/6 Peter Simons sim...@cryp.to: Hi Sergey, there is a long and detailed discussion of this issue at: https://github.com/NixOS/nixpkgs/commit/d64917ad17277b8e16893ee31533ec2e33446fa7 The short answer is: replace ghcWithPackages with ghcWithPackagesOld for the time being. Thanks!

[Nix-dev] Localizing firefox

2013-11-11 Thread Sergey Mironov
Hi. I've commited a new wrapper for firefox browser to my local branch. It is probably not ready for master because of too straightforward way of doing things which may break in some cases. Still I think it may be handy for administrators.

Re: [Nix-dev] Localizing firefox

2013-11-12 Thread Sergey Mironov
Well, for me just installing language pack is not enough. Firefox doesn't auto-detects my 'ru_RU.UTF-8' locale so I have to add '-UILocale ru' on each run . Sergey 2013/11/12 Lluís Batlle i Rossell vi...@viric.name: On Tue, Nov 12, 2013 at 11:58:01AM +0400, Sergey Mironov wrote: Hi. I've

Re: [Nix-dev] Localizing firefox

2013-11-12 Thread Sergey Mironov
And you are right, the wrapper can't detect already existing localization. Probably I should try exploring ~/.mozilla/firefox/ internals. Or just wait until upstream team fixes locale detection. 2013/11/12 Lluís Batlle i Rossell vi...@viric.name: On Tue, Nov 12, 2013 at 11:58:01AM +0400, Sergey

Re: [Nix-dev] Nixpkgs-monitor. New milestone: patches

2013-11-27 Thread Sergey Mironov
Hi! Could you please repost the link to the nixpkgs-monitor? Thanks! Sergey 2013/11/27 phree...@yandex.ru: Sorry. I turned it off and fell asleep :( The service is up again. On Wednesday, November 27, 2013 12:50:09 AM phree...@yandex.ru wrote: I'm happy to announce that Nixpkgs-monitor has

Re: [Nix-dev] Nixpkgs-monitor. New milestone: patches

2013-11-28 Thread Sergey Mironov
2013/11/28 Vladimír Čunát vcu...@gmail.com: On 11/28/2013 08:57 AM, Sergey Mironov wrote: Hi! Could you please repost the link to the nixpkgs-monitor? https://vdmvtkitqc3grub6.onion.to/ How can you not remember it :-D Awesome! But. Tor2web Error: Generic Socks Error A typo, maybe

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

2013-12-02 Thread Sergey Mironov
Hi! Plus one from here. I also notice '.myapp-wrappers' while alt-tab-switching tasks and it is not good for the endusers. A note about binary programs. May we say that applying a wrapper breaks only applications with interpreters (like python, shell, perl) and does not affects binary

[Nix-dev] curl SSL question

2013-12-11 Thread Sergey Mironov
Hi. A questions to curl experts. I'm working with application which uses libcurl to send https:// requests. For the security reasons application enables both SSL_VERIFY* options curl_easy_setopt(c, CURLOPT_SSL_VERIFYPEER, 1); curl_easy_setopt(c, CURLOPT_SSL_VERIFYHOST, 2); Unfortunately,

Re: [Nix-dev] curl SSL question

2013-12-11 Thread Sergey Mironov
How does it supposed to contact with ca-bundle.crt? env var CURL_CA_BUNDLE - Is this an openssl-specific problem? Does anybody try it with gnutls? It's a CURL thing. :) Wait, but I have this variable set (and probably I had it set at the time of test failures). OK, I probably should

[Nix-dev] (Cross-)Building a custom installation CD

2014-01-20 Thread Sergey Mironov
Hi. I need to create a custom installation CD to be able to install a very minimalistic Linux system to a target device (an x86 server with known set of hardware). Target OS should contain no multy-user support, no plug-and-play and even no package manager. It's task is to run one and only

[Nix-dev] Please explain grub installer

2014-02-04 Thread Sergey Mironov
Hi! I've got a troubles while trying to understand how does install-grub.pl works (maybe that is because I'm not skilled in perl). Here is what I am trying to figure out: grub.nix calls ./install-grub.pl with XML parameter list as an argument.

Re: [Nix-dev] Please explain grub installer

2014-02-04 Thread Sergey Mironov
Thanks, I understand now. 2014-02-04 Eelco Dolstra eelco.dols...@logicblox.com: Hi, On 04/02/14 12:04, Sergey Mironov wrote: Hi! I've got a troubles while trying to understand how does install-grub.pl works (maybe that is because I'm not skilled in perl). Here is what I am trying

[Nix-dev] boot problem: stage1 repair console doesn't work under VirtualBox

2014-02-04 Thread Sergey Mironov
Hi! Looks like stage1 repair console can't read user input, at least under VirtualBox. Here is how to reproduce the problem: 1. Boot VirtualBox with NixOS minimal installation CD attached 2. Press 'e' in the grub to edit kernel command line 3. Add bood.debug1 kernel argument 4. Boot Repair

  1   2   >