Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread Roger Qiu
A really easy way to understand the builtins is to use the nix-repl. The tab completion is really nice. On 20/06/2016 12:11 AM, "4levels" <4lev...@gmail.com> wrote: > Lol, that shows you right away how much I understand of both python and > C++! > > On Sun, Jun 19, 2016 at 4:08 PM Vladimír Čunát

[Nix-commits] [NixOS/nixpkgs] b2faec: oh-my-zsh: 2016-04-20 -> 2016-06-18

2016-06-19 Thread Joachim Fasting
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b2faec8adc8f0476e23440b4d4c32cc783e62252 https://github.com/NixOS/nixpkgs/commit/b2faec8adc8f0476e23440b4d4c32cc783e62252 Author: Tim Steinbach Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] b5dad4: dash: add shellPath passthru

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b5dad466d5009c9c6f33538451cd3fbe4e612a3e https://github.com/NixOS/nixpkgs/commit/b5dad466d5009c9c6f33538451cd3fbe4e612a3e Author: zimbatm Date: 2016-06-12 (Sun, 12 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 28fa4a: Escape all shell arguments uniformly

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 28fa4a2f03e2232d95dec9dc2b8ef40857d725db https://github.com/NixOS/nixpkgs/commit/28fa4a2f03e2232d95dec9dc2b8ef40857d725db Author: zimbatm Date: 2016-06-12 (Sun, 12 Jun 2016)

Re: [Nix-dev] Importing a .nix.gpg file?

2016-06-19 Thread Mateusz Czaplinski
Do you plan to merge one of those solutions into Nix, or are there some blocking issues? or is it no more and no less but lack of time? /Mateusz. On Wed, Jun 15, 2016 at 1:06 PM, Eelco Dolstra wrote: > Hi, > > On 06/12/2016 12:34 PM, Michal Rus wrote: > >> in my

[Nix-commits] [NixOS/nixpkgs] 3cca6c: android-studio: 2.1.1.0 -> 2.1.2.0, fixed Gradle l...

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3cca6c69605c3bcf1166a36ac19439aaa98249e9 https://github.com/NixOS/nixpkgs/commit/3cca6c69605c3bcf1166a36ac19439aaa98249e9 Author: taku0 Date: 2016-06-19 (Sun, 19 Jun 2016)

Re: [Nix-dev] User-oriented nixpkgs documentation (was: ioquake3 on nixos)

2016-06-19 Thread Mateusz Czaplinski
The Go language toolkit has the nice approach, similar as in doxygen or javadoc, based on theory that if documentation is close to code, it will be easier to keep it correct. I believe it is working great. It would be nice if a similar tool was created for Nix, making it easy to automatically

[Nix-commits] [NixOS/nixpkgs] 6d5ed7: Make fileSystems example literal.

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6d5ed7d971487db131462692f7bcfbc098169a76 https://github.com/NixOS/nixpkgs/commit/6d5ed7d971487db131462692f7bcfbc098169a76 Author: Scott Olson Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] cad9e8: bazaar: 2.6.0 -> 2.7.0

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cad9e875bc3169d605bc26254c53966691e97523 https://github.com/NixOS/nixpkgs/commit/cad9e875bc3169d605bc26254c53966691e97523 Author: mimadrid Date: 2016-06-18 (Sat, 18 Jun 2016) Changed

[Nix-commits] [NixOS/nixpkgs] 22744f: new fvwm version 2.6.6, ftp is not available

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 22744fd55123ec4e01d229124d52aebab4e328d1 https://github.com/NixOS/nixpkgs/commit/22744fd55123ec4e01d229124d52aebab4e328d1 Author: Juri Grabowski Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] fa5383: influxdb: 0.9.4 -> 0.13.0

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: fa5383d1fce4be75955592deb03968056c980388 https://github.com/NixOS/nixpkgs/commit/fa5383d1fce4be75955592deb03968056c980388 Author: zimbatm Date: 2016-06-18 (Sat, 18 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 965398: thunderbird: 45.1.0 -> 45.1.1

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 96539866a62c456ed9b3d0c7dcd380f8aa222ea1 https://github.com/NixOS/nixpkgs/commit/96539866a62c456ed9b3d0c7dcd380f8aa222ea1 Author: mimadrid Date: 2016-06-19 (Sun, 19 Jun 2016) Changed

[Nix-commits] [NixOS/nixpkgs] bd1e99: lxd: 2.0.0.rc4 -> 2.0.2

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bd1e99a5edc3c437ccbb719d576609f1836bd471 https://github.com/NixOS/nixpkgs/commit/bd1e99a5edc3c437ccbb719d576609f1836bd471 Author: Zack Piper Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] c5e585: cmus: 2.7.0 -> 2.7.1

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c5e585e110bcab1095e7453f58249fabcbf6c0ca https://github.com/NixOS/nixpkgs/commit/c5e585e110bcab1095e7453f58249fabcbf6c0ca Author: mimadrid Date: 2016-06-19 (Sun, 19 Jun 2016) Changed

[Nix-commits] [NixOS/nixpkgs] 175484: pythonPackages.prompt_toolkit: 1.0.1 -> 1.0.2

2016-06-19 Thread Tobias Geerinckx-Rice
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 175484d9db0495c8869912058314d989079a59b7 https://github.com/NixOS/nixpkgs/commit/175484d9db0495c8869912058314d989079a59b7 Author: Tobias Geerinckx-Rice Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 7e9fbf: squeezelite: init at git 2016-05-27

2016-06-19 Thread Joachim Fasting
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7e9fbf4a1d72e694d47ac1462edac1dab1be36e3 https://github.com/NixOS/nixpkgs/commit/7e9fbf4a1d72e694d47ac1462edac1dab1be36e3 Author: Phil Wetzel Date: 2016-06-11 (Sat, 11 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 54ba61: helm-projectile: 20160603.611 -> 20160614.832

2016-06-19 Thread Damien Cassou
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 54ba61690a041563581837296d85cf3f4e8f8622 https://github.com/NixOS/nixpkgs/commit/54ba61690a041563581837296d85cf3f4e8f8622 Author: Damien Cassou Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 4099bb: silver-searcher: 0.31.0 -> 0.32.0

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4099bba6762f0bbf5302081ec69f12fd78cee5cb https://github.com/NixOS/nixpkgs/commit/4099bba6762f0bbf5302081ec69f12fd78cee5cb Author: Gabriel Ebner Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 7eb190: ledger: 3.1 -> 3.1.1

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7eb1908afa2fc81fe229ec02723823ac8b70c1fd https://github.com/NixOS/nixpkgs/commit/7eb1908afa2fc81fe229ec02723823ac8b70c1fd Author: Gabriel Ebner Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] d4891f: rofi: 1.0.1 -> 1.1.0

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d4891fa51983b83b85591e50cb5186e05138830f https://github.com/NixOS/nixpkgs/commit/d4891fa51983b83b85591e50cb5186e05138830f Author: Marius Bakke Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 4ef536: pythonPackages.click-threading: 0.1.2 -> 0.4.0

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4ef536121ffdfdac71a50fb9ee7fa6511ef2653f https://github.com/NixOS/nixpkgs/commit/4ef536121ffdfdac71a50fb9ee7fa6511ef2653f Author: Gabriel Ebner Date: 2016-06-19 (Sun, 19 Jun 2016)

Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread 4levels
Lol, that shows you right away how much I understand of both python and C++! On Sun, Jun 19, 2016 at 4:08 PM Vladimír Čunát wrote: > On 06/19/2016 03:48 PM, 4levels wrote: > > As I'm unfamiliar with python > > The builtins are written in C++, just as most of Nix. > >

Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread Vladimír Čunát
On 06/19/2016 03:48 PM, 4levels wrote: > As I'm unfamiliar with python The builtins are written in C++, just as most of Nix. --Vladimir smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-commits] [NixOS/nixpkgs] e2fd5a: tbe [the-butterfly-effect]: 0.9.2.1 -> 0.9.3.1

2016-06-19 Thread Michael Raskin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e2fd5aa3ce9de377f1b39c141190305552ad78f6 https://github.com/NixOS/nixpkgs/commit/e2fd5aa3ce9de377f1b39c141190305552ad78f6 Author: Michael Raskin <7c6f4...@mail.ru> Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-dev] Using string as path to eg. builtins.readFile

2016-06-19 Thread 4levels
Hi Nix-devs, I'm currently looking for a way to do a readFile with a path coming from a list of values. In the list I defined the path as a string, relative to the current directory. When I try to use this value in a function, I keep getting the error that the path is not absolute "string

Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread 4levels
Thanks Vladimír, As I'm unfamiliar with python, the manual is indeed an easier way to understand the use of these builtins. Kind regards, Erik On Sun, Jun 19, 2016 at 3:43 PM Vladimír Čunát wrote: > On 06/19/2016 03:07 PM, 4levels wrote: > > I'm often looking up the usage

Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread Vladimír Čunát
On 06/19/2016 03:07 PM, 4levels wrote: > I'm often looking up the usage of functions in the various files I can > find here *usage* of builtins should be described in nix manual: http://nixos.org/nix/manual/#ssec-builtins (a few are missing IIRC or intentionally undocumented) --Vladimir

Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread 4levels
Hi Layus, perfect, exactly what I was looking for ;-) Thanks! Erik On Sun, Jun 19, 2016 at 3:11 PM Layus wrote: > Hi Erik, > > The builtins are builtins from nix, and are found in the nix tool, not in > nixpkgs. > > For listToAttrs, you will fins them in >

[Nix-commits] [NixOS/nixpkgs] cc0b3b: minisat: support clang

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cc0b3bbcc2a834640df07c341ba7b0853d72592b https://github.com/NixOS/nixpkgs/commit/cc0b3bbcc2a834640df07c341ba7b0853d72592b Author: Gabriel Ebner Date: 2016-06-19 (Sun, 19 Jun 2016)

Re: [Nix-dev] Where are the builtins function declarations?

2016-06-19 Thread Layus
Hi Erik, The builtins are builtins from nix, and are found in the nix tool, not in nixpkgs. For listToAttrs, you will fins them in https://github.com/NixOS/nix/blob/master/src/libexpr/primops.cc#L1089 Regards, -- Layus. On 19/06/16 15:07, 4levels wrote: Hi Nix-devs, I'm often looking

Re: [Nix-dev] Malicious installation methods

2016-06-19 Thread Yui Hirasawa
>> If you sign the script and it contains say sha512sums for the things it >> pulls you don't have to sign them separately. It's similiar to how many >> distributions only distribute one file with all the sums that is signed. > > I don't think there's no easy way for the user to verify such sums,

[Nix-commits] [NixOS/nixpkgs] da2534: gx: add missing meta

2016-06-19 Thread zimbatm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: da253439ed6399f8315ee30a7b8dd32d68c7d088 https://github.com/NixOS/nixpkgs/commit/da253439ed6399f8315ee30a7b8dd32d68c7d088 Author: zimbatm Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 998848: qutebrowser: use makeQtWrapper

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9988488fc6762a5ece5cf0f6c02a043ce334afa3 https://github.com/NixOS/nixpkgs/commit/9988488fc6762a5ece5cf0f6c02a043ce334afa3 Author: Gabriel Ebner Date: 2016-06-19 (Sun, 19 Jun 2016)

Re: [Nix-dev] Persistent NixOps keys

2016-06-19 Thread 4levels
Hi Nix-devs, hi Tomasz, hi Игорь, I managed to get it working flawlessly by adding keys.target to the requires and after statements of my other service configs. I was just wondering how this copes with server kills (as Vultr periodically resets an instance when they experience system failures).

Re: [Nix-dev] Add new binaryRunCheck phase to stdenv?

2016-06-19 Thread Thomas Hunger
Yea! I think another difference would be that installCheckPhase usually comes from upstream, and binaryRunChecks would be nix-specific. On 19 June 2016 at 12:32, zimbatm wrote: > Hi, > > So a bit like the installCheckPhase but with more structure? > > On Sun, 19 Jun 2016,

[Nix-commits] [NixOS/nixpkgs] 5862c3: qutebrowser: 0.6.2 -> 0.7.0

2016-06-19 Thread Gabriel Ebner
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5862c38d9ddc087f6c6c7eb8dcff1aa3432e108e https://github.com/NixOS/nixpkgs/commit/5862c38d9ddc087f6c6c7eb8dcff1aa3432e108e Author: Gabriel Ebner Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-dev] Add new binaryRunCheck phase to stdenv?

2016-06-19 Thread Thomas Hunger
Hi, One problem I encounter not very often, but often enough to be annoyed by it is that binaries build successfully but don't actually run due to some missing run time dependency ( template, LD_PRELOAD, a dependency that should have been in propagatedBuildInputs, ..) We have a "Tested execution

[Nix-commits] [NixOS/nixpkgs] a02e5a: virtualbox: fix build with gcc-5.4 by Debian patch

2016-06-19 Thread Vladimír Čunát
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: a02e5ad9263e508b4df6a3e5841e95bace0e787b https://github.com/NixOS/nixpkgs/commit/a02e5ad9263e508b4df6a3e5841e95bace0e787b Author: Vladimír Čunát Date: 2016-06-19 (Sun, 19 Jun 2016)

[Nix-commits] [NixOS/nixpkgs] 97c484: treewide: fix #include errors after gcc-5.4

2016-06-19 Thread Vladimír Čunát
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: 97c484a10f4b38efc4fb3dd210defed96003ae7d https://github.com/NixOS/nixpkgs/commit/97c484a10f4b38efc4fb3dd210defed96003ae7d Author: Vladimír Čunát Date: 2016-06-19 (Sun, 19 Jun 2016)

Re: [Nix-dev] Malicious installation methods

2016-06-19 Thread Profpatsch
On 16-06-18 11:46pm, Bardur Arantsson wrote: > On 06/18/2016 11:18 PM, Profpatsch wrote: > > > > The script approach is not very bad. Maybe sign it with gpg for people > > who want to verify it. > > > > Have you been following along on the thread at all? Signing the > installer script does very

[Nix-commits] [NixOS/nixpkgs] e53d74: haskell docs: now that hydra pushes directly to S3...

2016-06-19 Thread michael bishop
Branch: refs/heads/release-16.03 Home: https://github.com/NixOS/nixpkgs Commit: e53d74d6fce92041bba82326b6e5b687b0e7ee37 https://github.com/NixOS/nixpkgs/commit/e53d74d6fce92041bba82326b6e5b687b0e7ee37 Author: michael bishop Date: 2016-06-19 (Sun, 19 Jun

[Nix-commits] [NixOS/nixpkgs] 410aad: haskell docs: now that hydra pushes directly to S3...

2016-06-19 Thread michael bishop
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 410aad942fc82bbeb9c30a4fdf826ed33998a593 https://github.com/NixOS/nixpkgs/commit/410aad942fc82bbeb9c30a4fdf826ed33998a593 Author: michael bishop Date: 2016-06-18 (Sat, 18 Jun 2016)

Re: [Nix-dev] Separate repository for autogenerated lists of urls and hashes

2016-06-19 Thread Daniel Hlynskyi
Now, when I've done some package upgrades and downgrades, I really like the idea of a separate srcs repo. I'd like to contribute 3 ideas. 1. Use some of monitor.nixos.org logic for srcs updating 2. Autoextract src information from nixpkgs to srcs 3. Add meta.updateSrcsScript or meta.listAllSrcs