[Nix-commits] [NixOS/nixpkgs] 756e69: syncthing: don't import from pkgs (#27029)

2017-07-01 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 756e69bf97c5170408b9511d57c04f4c772c458d https://github.com/NixOS/nixpkgs/commit/756e69bf97c5170408b9511d57c04f4c772c458d Author: volth <vo...@webmaster.ms> Date: 2017-07-02 (Sun, 02 Jul 2017) C

[Nix-commits] [NixOS/nixpkgs] 4fb8f6: lxc: 2.0.7 -> 2.0.8

2017-06-26 Thread Volth
gs/commit/b2bf4d8327b71f67bb7766fc2cb2988152067b02 Author: Volth <vo...@webmaster.ms> Date: 2017-06-26 (Mon, 26 Jun 2017) Changed paths: M pkgs/tools/networking/mtr/default.nix Log Message: --- mtr: do not do 'setcap' on installPhase, it would fail anyway (cherry pic

[Nix-commits] [NixOS/nixpkgs] 85b9ff: rrdtool: apply upstream patch to fix file permissi...

2017-06-24 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 85b9ff29e998f3462dd053c27f147de35779e1f1 https://github.com/NixOS/nixpkgs/commit/85b9ff29e998f3462dd053c27f147de35779e1f1 Author: Volth <vo...@webmaster.ms> Date: 2017-06-24 (Sat, 24 Jun 2017) C

Re: [Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-06-23 Thread Volth
type-2.7.1 compiled without subpixel rendering (#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 0): http://i.imgur.com/Qj4W0Lx.png On 4/20/17, Volth <vo...@volth.com> wrote: > On 4/20/17, Thomas Tuegel <ttue...@mailbox.org> wrote: >> Volth <vo...@volth.com> writes: >&g

[Nix-commits] [NixOS/nixpkgs] 633d04: clion1: remove package

2017-06-22 Thread Volth
b4fa842dd12d) Commit: 011192b5f4bf3aa967720262c28c18601b7dd8e2 https://github.com/NixOS/nixpkgs/commit/011192b5f4bf3aa967720262c28c18601b7dd8e2 Author: Volth <vo...@webmaster.ms> Date: 2017-06-22 (Thu, 22 Jun 2017) Changed paths: M pkgs/applications/editors/jetbrains/default.nix Log Mess

[Nix-commits] [NixOS/nixpkgs] 8fe525: mtr: do not do 'setcap' on installPhase, it would ...

2017-06-20 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8fe525b6c77ca5fdd2d1922d2e863fbb9198781c https://github.com/NixOS/nixpkgs/commit/8fe525b6c77ca5fdd2d1922d2e863fbb9198781c Author: Volth <vo...@webmaster.ms> Date: 2017-06-20 (Tue, 20 Jun 2017) C

[Nix-commits] [NixOS/nixpkgs] 13a8fa: nixos-artwork: do not leak nix hashes to filenames...

2017-06-14 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 13a8fa88011a45447ec26f81c473fe7f39172d02 https://github.com/NixOS/nixpkgs/commit/13a8fa88011a45447ec26f81c473fe7f39172d02 Author: volth <vo...@webmaster.ms> Date: 2017-06-14 (Wed, 14 Jun 2017) C

[Nix-commits] [NixOS/nixpkgs] 26abdb: xfce4-dockbarx-plugin: fix unwrapped python script...

2017-06-10 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 26abdb81c8331797ca4655b73c7a1d4ebfe2d020 https://github.com/NixOS/nixpkgs/commit/26abdb81c8331797ca4655b73c7a1d4ebfe2d020 Author: volth <vo...@webmaster.ms> Date: 2017-06-10 (Sat, 10 Jun 2017) C

Re: [Nix-dev] concatAttrs :: [attrSet] -> attrSet ?

2017-05-29 Thread Volth
there is also lib.mkMerge to handle nested attrs On 5/29/17, Domen Kožar wrote: > Note that this will fail if you'll nest the attributes, one will override > the other. > > nix-repl> :p concatAttrs [ {x={a =3;};} {x={ b= 4;};} ] > { x = { b = 4; }; } > > > On Sun, May 28, 2017 at

Re: [Nix-dev] Declarative VMs in libvirt/Qemu

2017-05-16 Thread Volth
https://github.com/Nekroze/kvms.nix On 5/16/17, Justin Humm wrote: > Thanks for the hint. I've already seen this, and it is quite exactly > what I want, but I considered it too far away from completion for my use > case. > > Does anyone use declarative VMs right now? > >

Re: [Nix-dev] How to traverse "/nix-support/propagated-native-build-inputs" in nix ?

2017-05-14 Thread Volth
t; On 05/14/2017 05:16 PM, Volth wrote: >> I would like to get list of all propagated build inputs in nix > > In general you can't even get that file. As it is designed, that list > is defined by contents of files in build output, so you can't be certain > until you produce the

[Nix-dev] How to traverse "/nix-support/propagated-native-build-inputs" in nix ?

2017-05-14 Thread Volth
Hi I would like to get list of all propagated build inputs in nix But the code like ``` get-propagated-derivations = s: if (lib.isStorePath s) then if (builtins.pathExists "${s}/nix-support/propagated-native-build-inputs") then lib.concatMap

[Nix-dev] How to implement fetchMaven as pure function ?

2017-05-09 Thread Volth
There are already two versions in nixpkgs ("fetchMaven" and "fetchMavenArtifact") which are just wrappers for "fetchurl". Basicaly "fetchMaven" is merely a function giving argument "org.scala-lang:scala-compiler:2.11.11" produces a derivation by downloading two files

[Nix-commits] [NixOS/nixpkgs] a51663: pngquant: restored 'patchShebangs' because build f...

2017-05-08 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a51663f9daba1abcfeeeb4458dc5b4282a831d9f https://github.com/NixOS/nixpkgs/commit/a51663f9daba1abcfeeeb4458dc5b4282a831d9f Author: Volth <vo...@webmaster.ms> Date: 2017-05-08 (Mon, 08 May 2017) C

[Nix-dev] Build a derivation using sbt

2017-05-05 Thread Volth
Hello Anyone tried to build a derivation using sbt ? I found no one such project in nixpkgs. sbt feels very bad running under "nixbld1", it needs to create ~/.sbt ~/.ivy and to download tons of jars there... ___ nix-dev mailing list

Re: [Nix-dev] Need any mirror in Asia?

2017-05-04 Thread Volth
Actually, there are regions with bad connectity to Amazon's Cloudfront. For example Russia, and, yes, Vietnam. There are few obstacles: 1. the distribution model is not rsync-friendly and not well suited for 3rd-party mirrors. 2. there is a team promising to solve the geo-distribution issue

Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-23 Thread Volth
nes, of networks, a sofisticated tool to work with VM-images (independent on runInLinuxVM), ... On 4/23/17, Leo Gaspard <l...@gaspard.io> wrote: > On 04/22/2017 11:07 PM, Volth wrote: >> Hello. >> >> There are few objections against qemu with shared /nix/store: >> >> 1.

[Nix-commits] [NixOS/nixpkgs] bfff24: qemu: 2.8.1 -> 2.8.1.1

2017-04-23 Thread Volth
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: bfff24189cae0bf6eceacd5c3e4d8464ba72b895 https://github.com/NixOS/nixpkgs/commit/bfff24189cae0bf6eceacd5c3e4d8464ba72b895 Author: Volth <vo...@webmaster.ms> Date: 2017-04-23 (Sun, 23 Ap

[Nix-commits] [NixOS/nixpkgs] 1931ad: qemu: 2.8.1 -> 2.9.0

2017-04-23 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1931ad0e2cbb636d9fa09e3aa5afff24cc9b7deb https://github.com/NixOS/nixpkgs/commit/1931ad0e2cbb636d9fa09e3aa5afff24cc9b7deb Author: Volth <vo...@webmaster.ms> Date: 2017-04-23 (Sun, 23 Apr 2017) C

[Nix-commits] [NixOS/nixpkgs] 7b8043: qemu: 2.8.0 -> 2.8.1

2017-04-23 Thread Volth
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 7b80438e55a5b35615e4e5cce5fe04cbcb2c8bb0 https://github.com/NixOS/nixpkgs/commit/7b80438e55a5b35615e4e5cce5fe04cbcb2c8bb0 Author: Volth <vo...@webmaster.ms> Date: 2017-04-23 (Sun, 23 Ap

Re: [Nix-dev] tigervnc service?

2017-04-22 Thread Volth
I used it to have a graphical console to libvirt-lxc containers in virt-manager (which has vnc client): --- vnc-backdoor = { config, pkgs, lib, ... }: { config = { systemd.services."vncserver" = { description = "VNC Server"; after = [ "network.target" ];

Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-22 Thread Volth
Hello. There are few objections against qemu with shared /nix/store: 1. It is fast to create but slow to run. Boot time with shared /nix/store is about twice slow than with everything on qcow2. 2. 9P is unstable, every couple of months there is a new bug (real bugs, not CVEs: wrong data read,

Re: [Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-04-20 Thread Volth
On 4/20/17, Thomas Tuegel <ttue...@mailbox.org> wrote: > Volth <vo...@volth.com> writes: > >> The second (http://imgur.com/MDiydzS) is what we get with these >> fontconfig rules on NixOS-17.09 (freetype-2.7.1) with default v40. >> Antialias is off, but h

Re: [Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-04-19 Thread Volth
Unfortunately, $FREETYPE_PROPERTIES is censored by sudo and chrome sandbox (and the bug is WONTFIX in both freetype and chrome) On 4/19/17, Vladimír Čunát <vcu...@gmail.com> wrote: > Just my two cents. > > On 04/19/2017 01:25 PM, Volth wrote: >> There is upstream-recommended

Re: [Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-04-19 Thread Volth
freetype to LD_LIBRARY_PATH in makeWrapper torbrowser = super.torbrowser.override { freetype = my-freetype; }; google-chrome = super.google-chrome.override { freetype = my-freetype; }; liberation_ttf = self.liberation_ttf_v1_binary; })

Re: [Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-04-19 Thread Volth
fonts with manual hinting, also with all old windows fonts. Those fonts are from pre-anti-aliasing ages. Full hinting enabled + anti-aliasing disabled is the only suitable mode for them. On 4/19/17, Thomas Tuegel <ttue...@mailbox.org> wrote: > Volth <vo...@volth.com> writes: > &

[Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-04-19 Thread Volth
Hi Freetype changed defaults in 2.7, the truetype interpreter became v40 instead of v35. The new defaults are incomatible in a weird way with some old fonts (notably PragmataPro). There is upstream-recommended way to "globally" set old interpreted version via environment variable

[Nix-dev] NixOS and nix 1.12

2017-04-13 Thread Volth
Hi Is nix-1.12 going to replace traditional nix command line utilities on NixOS ? If yes, when it is going to happen, approximately? With NixOS-17.09, 18.03 or later? ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] Is CI of pull requests broken?

2017-04-08 Thread Volth
I noticed that many pull requests [1] have failed Travis CI tests. The reasons of failures are often very strange, especially if the change introduced by PR looks innocent: some "file not found" or "build times out". Moreover, many of the merged pull requests [2] also have failed CI. It looks

[Nix-commits] [NixOS/nixpkgs] 6c5128: kernel: fix 9p issues

2017-04-04 Thread Volth
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 6c5128c9c801645faa95db2dd3b36df24da39d33 https://github.com/NixOS/nixpkgs/commit/6c5128c9c801645faa95db2dd3b36df24da39d33 Author: Volth <vo...@webmaster.ms> Date: 2017-04-04 (Tue, 04 Ap

[Nix-commits] [NixOS/nixpkgs] b78f16: kernel: do not remove .o files on installPhase

2017-04-01 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b78f16b33772722d19c9cbe4145953f9c4b76fc8 https://github.com/NixOS/nixpkgs/commit/b78f16b33772722d19c9cbe4145953f9c4b76fc8 Author: Volth <vo...@webmaster.ms> Date: 2017-04-01 (Sat, 01 Apr 2017) C

[Nix-commits] [NixOS/nixpkgs] ed41d5: kernel: fix 9p issues

2017-04-01 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ed41d50e9fe3d942cfde37e84de781c096309e5b https://github.com/NixOS/nixpkgs/commit/ed41d50e9fe3d942cfde37e84de781c096309e5b Author: Volth <vo...@webmaster.ms> Date: 2017-04-01 (Sat, 01 Apr 2017) C

Re: [Nix-dev] Should we drop 9P?

2017-03-21 Thread Volth
/23957 's comments. On 3/21/17, Jookia <166...@gmail.com> wrote: > On Tue, Mar 21, 2017 at 11:29:09PM +0100, Profpatsch wrote: >> On 17-03-20 10:27pm, Volth wrote: >> > Recently few bugs in 9P were found (#23957 #23020 #22695) which >> > reveals that 9P code is

[Nix-commits] [NixOS/nixpkgs] a7732d: babelstone-han: init at 9.0.2

2017-03-21 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a7732d6f541d82cbfc8777dfe007efb62bf69656 https://github.com/NixOS/nixpkgs/commit/a7732d6f541d82cbfc8777dfe007efb62bf69656 Author: Volth <vo...@webmaster.ms> Date: 2017-03-21 (Tue, 21 Mar 2017) C

[Nix-commits] [NixOS/nixpkgs] 4e7496: virt-manager: 1.4.0 -> 1.4.1 (#24149)

2017-03-21 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4e749683e65588028d134628ed70eb129c3df87c https://github.com/NixOS/nixpkgs/commit/4e749683e65588028d134628ed70eb129c3df87c Author: volth <vo...@webmaster.ms> Date: 2017-03-21 (Tue, 21 Mar 2017) C

[Nix-dev] Should we drop 9P?

2017-03-20 Thread Volth
9P is used by NixOS to share host's nix store with Qemu virtual machines. Such technique is used in the build process, in the test-driver, so to say in the critical places. Recently few bugs in 9P were found (#23957 #23020 #22695) which reveals that 9P code is not very mature and perhaps NixOS is

Re: [Nix-dev] How do you work on big packages?

2017-03-17 Thread Volth
beautiful. For example, kernel derivation sets environment variables in preUnpack then uses in buildPhase so it would be a trouble to simply skip all the phases before buildPhase. On 3/17/17, Profpatsch <m...@profpatsch.de> wrote: > On 17-03-17 06:04pm, Volth wrote: >> "nix-she

Re: [Nix-dev] How do you work on big packages?

2017-03-17 Thread Volth
What I meant in the original question is more about troubleshooting than development. That development is incorporated in the deployment chain all other steps are already powered by nix: build a (patched) kernel, then build system closures with it, then test-driver scripts, then deploy/run them...

[Nix-dev] How do you work on big packages?

2017-03-17 Thread Volth
For example, you are working on patch for kernel or chromium or something huge like this. src= in your x.nix points to a local working directory, so every change would result in rebuilding of the deviation and its dependants. Nice so far. The problem is any change implies full rebuild,

[Nix-commits] [NixOS/nixpkgs] d58891: lxc: ensure directory /var/lib/lxc/rootfs

2017-03-15 Thread Volth
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: d588913bae9611d6af20695b34f3beb352dcccd7 https://github.com/NixOS/nixpkgs/commit/d588913bae9611d6af20695b34f3beb352dcccd7 Author: Volth <vo...@webmaster.ms> Date: 2017-03-15 (Wed, 15 Ma

[Nix-commits] [NixOS/nixpkgs] bcc4c2: lxc: ensure directory /var/lib/lxc/rootfs

2017-03-15 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bcc4c261bea58cbababec413c1faa074d1a90efd https://github.com/NixOS/nixpkgs/commit/bcc4c261bea58cbababec413c1faa074d1a90efd Author: Volth <vo...@webmaster.ms> Date: 2017-03-15 (Wed, 15 Mar 2017) C

[Nix-dev] LXC containers on NixOS

2017-03-07 Thread Volth
Hello I saw (in blogs, issue comments, ...) then some of you are using LXC containers with NixOS as host, even in production. Could you please share your setup? My attempts to use them encounter the showstopper bugs: raw LXC containers do not start

Re: [Nix-dev] Copy a closure to machine with no Nix installed on it

2017-03-02 Thread Volth
Oh, I forgot about it. Anyway, so far I need to distribute test scripts, not the production software. It would be too slow to upload big bundle each time. "nix-copy-closure" or "rsync" would reuse common files from previous uploads. On 3/2/17, David Kleuker <p...@davidak.d

Re: [Nix-dev] Copy a closure to machine with no Nix installed on it

2017-03-02 Thread Volth
uery nix store for all dependnecies and with that list you can > copy them using method of your choice > > > 2017-03-02 16:38 GMT+00:00 Volth <vo...@volth.com>: > >> Hello >> >> What is a good way to copy a closure to a Linux machine where Nix is >> not installed

[Nix-dev] Copy a closure to machine with no Nix installed on it

2017-03-02 Thread Volth
Hello What is a good way to copy a closure to a Linux machine where Nix is not installed (and it is tricky to install: 1. there is only root account and 2. there may be no Internet access) ? "nix-copy-closure" expects "nix-store" on the target machine. Would "nix-store" be a single executable

[Nix-commits] [NixOS/nixpkgs] c771d4: systemtap: 2016-09-16 -> 2017-02-04

2017-02-05 Thread Volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c771d499f9c44f9b20312d136617d127e090133d https://github.com/NixOS/nixpkgs/commit/c771d499f9c44f9b20312d136617d127e090133d Author: Volth <vo...@webmaster.ms> Date: 2017-02-06 (Mon, 06 Feb 2017) C

[Nix-commits] [NixOS/nixpkgs] 9e299a: liberastika: init at 1.1.5 (#22420)

2017-02-04 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9e299acf873285e30008588ac3e21cda12f865fb https://github.com/NixOS/nixpkgs/commit/9e299acf873285e30008588ac3e21cda12f865fb Author: volth <vo...@webmaster.ms> Date: 2017-02-04 (Sat, 04 Feb 2017) C

[Nix-commits] [NixOS/nixpkgs] 762cc1: virt-top: init at 1.0.8 (#21536)

2017-02-04 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 762cc106b489a0eba55a72a8fdd17d24054132d9 https://github.com/NixOS/nixpkgs/commit/762cc106b489a0eba55a72a8fdd17d24054132d9 Author: volth <vo...@webmaster.ms> Date: 2017-02-04 (Sat, 04 Feb 2017) C

[Nix-commits] [NixOS/nixpkgs] 69ed58: xorg.xserver: configure --with-xkb-path= (#21653)

2017-01-17 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 69ed58d88ff7eb864ddb9cf0fd4fff9eebca9f0c https://github.com/NixOS/nixpkgs/commit/69ed58d88ff7eb864ddb9cf0fd4fff9eebca9f0c Author: volth <vo...@webmaster.ms> Date: 2017-01-18 (Wed, 18 Jan 2017) C

[Nix-commits] [NixOS/nixpkgs] 206fb8: flashplayer: 24.0.0.186 -> 24.0.0.194

2017-01-11 Thread volth
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 206fb8f01b94d64c1c29c1aa7ed89c7e204614d7 https://github.com/NixOS/nixpkgs/commit/206fb8f01b94d64c1c29c1aa7ed89c7e204614d7 Author: volth <vo...@webmaster.ms> Date: 2017-01-11 (Wed, 11 Ja

[Nix-commits] [NixOS/nixpkgs] 5bc7ce: xfce.mousepad: use keyfile instead of gconf (#2174...

2017-01-09 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5bc7ceecef4a4ace0f8308d3094c718b2f096355 https://github.com/NixOS/nixpkgs/commit/5bc7ceecef4a4ace0f8308d3094c718b2f096355 Author: volth <vo...@webmaster.ms> Date: 2017-01-09 (Mon, 09 Jan 2017) C

[Nix-commits] [NixOS/nixpkgs] 06b372: miredo: init at 1.2.6

2016-12-31 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 06b372f24f20dd36cc2b120dbaf0347041fefed3 https://github.com/NixOS/nixpkgs/commit/06b372f24f20dd36cc2b120dbaf0347041fefed3 Author: volth <vo...@webmaster.ms> Date: 2016-12-31 (Sat, 31 Dec 2016) C

[Nix-commits] [NixOS/nixpkgs] ac97fb: fte: init at 0.50.02

2016-12-19 Thread volth
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ac97fbab3a8225343f8a9594821e66af51af048c https://github.com/NixOS/nixpkgs/commit/ac97fbab3a8225343f8a9594821e66af51af048c Author: volth <vo...@volth.com> Date: 2016-12-19 (Mon, 19 Dec 2016) C