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:
>
> http://nixos.org/nixos/manual/index.html#sec-getting-sources
>
> So, you may have to do:
>
> # nixos-rebuild switch -I nixpkgs=/my/sources/nixpkgs

Rebuild it with that in the configuration.nix

  nixpkgs.config.KodiPlugin = {
enablePeripheralJoystick = true;
  };

Not shure if thats right. But does not work.
Of course sadly kodi config is half destroyed or "updated" in a way that
you can switch back without regressions to kodi 16.2.

But thats no new problem. So yes I have a somewhat working old
generation, well that would be fixed if I could do the upgrade
eventually. :)

Its not like that regression is the only one... vpn doesnt start as
example saw a few errors in the bootsequence. Upgrades seem often pretty
painfull in nixos :)

I mean I guess I could solve that problem with buying some hardware
remote mini keyboard, but generaly that should not be such a big problem
in theory :)


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 49d3b4: docker: fix reference to unknown attribute

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 49d3b432c35e19ef93c982420989cd12c1c382fb
  
https://github.com/NixOS/nixpkgs/commit/49d3b432c35e19ef93c982420989cd12c1c382fb
  Author: Peter Hoeg 
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  docker: fix reference to unknown attribute


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 11b8cf: nvidia_x11_beta: 378.13 -> 381.22

2017-05-11 Thread Cray Elliott
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 11b8cfb506a75fd3cd93ee9ae21d89e4581ffb4d
  
https://github.com/NixOS/nixpkgs/commit/11b8cfb506a75fd3cd93ee9ae21d89e4581ffb4d
  Author: Cray Elliott 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/os-specific/linux/nvidia-x11/default.nix
M pkgs/os-specific/linux/nvidia-x11/generic.nix

  Log Message:
  ---
  nvidia_x11_beta: 378.13 -> 381.22

also remove nvidia 4.10 kernel patch as it is no longer needed


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 995d41: nvidia stable: 375.39 -> 375.66

2017-05-11 Thread Linus Heckemann
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 995d41c09197803624a419114b5c5cd2c90e46bc
  
https://github.com/NixOS/nixpkgs/commit/995d41c09197803624a419114b5c5cd2c90e46bc
  Author: Linus Heckemann 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/os-specific/linux/nvidia-x11/default.nix
M pkgs/os-specific/linux/nvidia-x11/generic.nix

  Log Message:
  ---
  nvidia stable: 375.39 -> 375.66


  Commit: 89ce83688cda03df01307bc74bfa3950a4d5266e
  
https://github.com/NixOS/nixpkgs/commit/89ce83688cda03df01307bc74bfa3950a4d5266e
  Author: Linus Heckemann 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/os-specific/linux/nvidia-x11/generic.nix

  Log Message:
  ---
  nvidia-x11: fix linux 4.10 patch URL


Compare: https://github.com/NixOS/nixpkgs/compare/ed5cb7311814...89ce83688cda___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] aa858b: Set clac.meta.platforms to "unix" instead of "linu...

2017-05-11 Thread Daiderd Jordan
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: aa858b9f2e9c626d3ee91440d6432696a6c1
  
https://github.com/NixOS/nixpkgs/commit/aa858b9f2e9c626d3ee91440d6432696a6c1
  Author: Utku Demir 
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
M pkgs/tools/misc/clac/default.nix

  Log Message:
  ---
  Set clac.meta.platforms to "unix" instead of "linux"


  Commit: ed5cb7311814c7dd983de2d40954c7d0413e9f02
  
https://github.com/NixOS/nixpkgs/commit/ed5cb7311814c7dd983de2d40954c7d0413e9f02
  Author: Daiderd Jordan 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/tools/misc/clac/default.nix

  Log Message:
  ---
  Merge pull request #25719 from utdemir/master

Set clac.meta.platforms to "unix" instead of "linux"


Compare: https://github.com/NixOS/nixpkgs/compare/f2c2aec0f64c...ed5cb7311814___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 4f58a4: vndr: 20161110 -> 20170511

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4f58a496c36bf4aebd1c5d196175471e67619690
  
https://github.com/NixOS/nixpkgs/commit/4f58a496c36bf4aebd1c5d196175471e67619690
  Author: Vincent Demeester <vinc...@sbr.pm>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/development/tools/vndr/default.nix

  Log Message:
  ---
  vndr: 20161110 -> 20170511

Signed-off-by: Vincent Demeester <vinc...@sbr.pm>


  Commit: f2c2aec0f64c557f7691d115ce5e4f7c97cd5239
  
https://github.com/NixOS/nixpkgs/commit/f2c2aec0f64c557f7691d115ce5e4f7c97cd5239
  Author: Jörg Thalheim <mi...@users.noreply.github.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/development/tools/vndr/default.nix

  Log Message:
  ---
  Merge pull request #25703 from vdemeester/update-vndr

vndr: 20161110 -> 20170511


Compare: https://github.com/NixOS/nixpkgs/compare/3dc109cbc22b...f2c2aec0f64c___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 4f676a: megatools: use wrapGAppsHook

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4f676a08259e1bf8c6c2f5f56875caff2e74b79f
  
https://github.com/NixOS/nixpkgs/commit/4f676a08259e1bf8c6c2f5f56875caff2e74b79f
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/tools/networking/megatools/default.nix

  Log Message:
  ---
  megatools: use wrapGAppsHook


  Commit: 728b8ab4835a889f7da947901f391d2256d13081
  
https://github.com/NixOS/nixpkgs/commit/728b8ab4835a889f7da947901f391d2256d13081
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/misc/emulators/pcsxr/default.nix

  Log Message:
  ---
  pcsxr: use wrapGAppsHook


  Commit: 3dc109cbc22b7ff030ecdee67bc3d172176b3d30
  
https://github.com/NixOS/nixpkgs/commit/3dc109cbc22b7ff030ecdee67bc3d172176b3d30
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/tools/bluetooth/blueman/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  blueman: use wrapGAppsHook


Compare: https://github.com/NixOS/nixpkgs/compare/c58aa3a50853...3dc109cbc22b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] c58aa3: python-dogpile-cache: disable concurrency tests

2017-05-11 Thread Daiderd Jordan
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c58aa3a508538d367a169d4ae09458ce2ac98440
  
https://github.com/NixOS/nixpkgs/commit/c58aa3a508538d367a169d4ae09458ce2ac98440
  Author: Daiderd Jordan 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/development/python-modules/dogpile.cache/default.nix

  Log Message:
  ---
  python-dogpile-cache: disable concurrency tests


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 398f6e: docker-edge: 17.04 to 17.05

2017-05-11 Thread Tim Steinbach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 398f6ed7d3b385cf11d95f4d83f5012300112444
  
https://github.com/NixOS/nixpkgs/commit/398f6ed7d3b385cf11d95f4d83f5012300112444
  Author: Vincent Demeester 
  Date:   2017-05-09 (Tue, 09 May 2017)

  Changed paths:
M pkgs/applications/virtualization/docker/default.nix
M pkgs/applications/virtualization/docker/proxy.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  docker-edge: 17.04 to 17.05

Signed-off-by: Vincent Demeester 


  Commit: de9c869df276160c773796fe2f1b5c3c98cb31bd
  
https://github.com/NixOS/nixpkgs/commit/de9c869df276160c773796fe2f1b5c3c98cb31bd
  Author: Tim Steinbach 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/virtualization/docker/default.nix
M pkgs/applications/virtualization/docker/proxy.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #25579 from vdemeester/docker-edge-update-17.05

docker-edge: 17.04 to 17.05


Compare: https://github.com/NixOS/nixpkgs/compare/fd7a8f1b91a0...de9c869df276___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] fd7a8f: nixos/security/acme: fix acme folder permissions

2017-05-11 Thread lassulus
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fd7a8f1b91a002cd0de93b59064f83e29e3e8034
  
https://github.com/NixOS/nixpkgs/commit/fd7a8f1b91a002cd0de93b59064f83e29e3e8034
  Author: lassulus 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M nixos/modules/security/acme.nix

  Log Message:
  ---
  nixos/security/acme: fix acme folder permissions


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] f8ff43: org-packages: 2017-05-10

2017-05-11 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f8ff43190b0e8a6caaa8fece0257a9f8fd102875
  
https://github.com/NixOS/nixpkgs/commit/f8ff43190b0e8a6caaa8fece0257a9f8fd102875
  Author: Michael Alan Dorman 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/applications/editors/emacs-modes/org-generated.nix

  Log Message:
  ---
  org-packages: 2017-05-10


  Commit: ab663fee1523cbc99a44bde6997314e2c59664aa
  
https://github.com/NixOS/nixpkgs/commit/ab663fee1523cbc99a44bde6997314e2c59664aa
  Author: Michael Alan Dorman 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/applications/editors/emacs-modes/elpa-generated.nix

  Log Message:
  ---
  elpa-packages: 2017-05-10


  Commit: 580a4e60031e2a7000e44c70ad802c1092cf204f
  
https://github.com/NixOS/nixpkgs/commit/580a4e60031e2a7000e44c70ad802c1092cf204f
  Author: Michael Alan Dorman 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix

  Log Message:
  ---
  melpa-stable-packages: 2017-05-10


  Commit: 291a00a5021271d152ae9e4b5c6221a33fe780d3
  
https://github.com/NixOS/nixpkgs/commit/291a00a5021271d152ae9e4b5c6221a33fe780d3
  Author: Michael Alan Dorman 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/applications/editors/emacs-modes/melpa-generated.nix

  Log Message:
  ---
  melpa-packages: 2017-05-10


  Commit: 8b17444047eef7c01821dbb5a822d81708c2638a
  
https://github.com/NixOS/nixpkgs/commit/8b17444047eef7c01821dbb5a822d81708c2638a
  Author: Thomas Tuegel 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/editors/emacs-modes/elpa-generated.nix
M pkgs/applications/editors/emacs-modes/melpa-generated.nix
M pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix
M pkgs/applications/editors/emacs-modes/org-generated.nix

  Log Message:
  ---
  Merge pull request #25693 from mdorman/emacs-updates

Automated emacs package updates


Compare: https://github.com/NixOS/nixpkgs/compare/641c4116a9cb...8b17444047ee___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 510bc1: Add an option for extending the user agent header

2017-05-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 510bc1735b3507b0f434303fdec5e824c879c838
  
https://github.com/NixOS/nix/commit/510bc1735b3507b0f434303fdec5e824c879c838
  Author: Eelco Dolstra 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/download.cc
M src/libstore/globals.hh

  Log Message:
  ---
  Add an option for extending the user agent header

This is useful e.g. for distinguishing traffic to a binary cache
(e.g. certain machines can use a different tag in the user agent).


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 641c41: kdiff3: 2016-04-20 -> 2017-02-19

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 641c4116a9cb1fe71e2797a747d35342c0f938e2
  
https://github.com/NixOS/nixpkgs/commit/641c4116a9cb1fe71e2797a747d35342c0f938e2
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/tools/text/kdiff3/default.nix

  Log Message:
  ---
  kdiff3: 2016-04-20 -> 2017-02-19


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] cb1af1: zstd: 1.1.3 -> 1.2.0

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cb1af17f53fbd0971e923bd90604159aa694057c
  
https://github.com/NixOS/nixpkgs/commit/cb1af17f53fbd0971e923bd90604159aa694057c
  Author: Orivej Desh 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/tools/compression/zstd/default.nix

  Log Message:
  ---
  zstd: 1.1.3 -> 1.2.0


  Commit: b77a3466f8c85be2f58cc0f5c0467fcf104951ab
  
https://github.com/NixOS/nixpkgs/commit/b77a3466f8c85be2f58cc0f5c0467fcf104951ab
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/tools/compression/zstd/default.nix

  Log Message:
  ---
  Merge pull request #25679 from orivej/zstd

zstd: 1.1.3 -> 1.2.0


Compare: https://github.com/NixOS/nixpkgs/compare/93f47559b291...b77a3466f8c8___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 93f475: cutegram: add missing qtwebkit dependency

2017-05-11 Thread Gabriel Ebner
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 93f47559b291d932335a4c36a2bf469b0e252101
  
https://github.com/NixOS/nixpkgs/commit/93f47559b291d932335a4c36a2bf469b0e252101
  Author: Gabriel Ebner 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M 
pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix

  Log Message:
  ---
  cutegram: add missing qtwebkit dependency


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] e281e5: eclipse-plugin-autodetect-encoding: init at 1.8.3

2017-05-11 Thread Robert Helgesson
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e281e59711203ded4d7ed7712b82350e4d68926b
  
https://github.com/NixOS/nixpkgs/commit/e281e59711203ded4d7ed7712b82350e4d68926b
  Author: Robert Helgesson 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/editors/eclipse/plugins.nix

  Log Message:
  ---
  eclipse-plugin-autodetect-encoding: init at 1.8.3


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 18bad3: pythonPackages.callPackage to make it easier to ca...

2017-05-11 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 18bad38d3d928b7dd9ee09a38249dbeb217d34d1
  
https://github.com/NixOS/nixpkgs/commit/18bad38d3d928b7dd9ee09a38249dbeb217d34d1
  Author: Frederik Rietdijk 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.callPackage to make it easier to call expressions that take 
many python packages


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 45d7b1: LocalStore::addToStore(): Check info.narSize

2017-05-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 45d7b1a9e9018a2be5add1dc6d983e6b7b339c61
  
https://github.com/NixOS/nix/commit/45d7b1a9e9018a2be5add1dc6d983e6b7b339c61
  Author: Eelco Dolstra 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/download.cc
M src/libstore/local-store.cc

  Log Message:
  ---
  LocalStore::addToStore(): Check info.narSize

It allowed the client to specify bogus narSize values. In particular,
Downloader::downloadCached wasn't setting narSize at all.


  Commit: 6f245bf24a1154142acf2b8dfa620b891f461d55
  
https://github.com/NixOS/nix/commit/6f245bf24a1154142acf2b8dfa620b891f461d55
  Author: Eelco Dolstra 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/local-store.cc
M src/libstore/store-api.hh

  Log Message:
  ---
  Change the meaning of info.ultimate

It now means "paths that were built locally". It no longer includes
paths that were added locally. For those we don't need info.ultimate,
since we have the content-addressability assertion (info.ca).


  Commit: 1a8e15053a6611963042306d4d3b0d5b89629eb1
  
https://github.com/NixOS/nix/commit/1a8e15053a6611963042306d4d3b0d5b89629eb1
  Author: Eelco Dolstra 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/nix-daemon/nix-daemon.cc

  Log Message:
  ---
  Don't allow untrusted users to set info.ultimate

Note that a trusted signature was still required in this case so it
was not a huge deal.


  Commit: ea65ae0f9c3461f9b098c8757e01f5c3add8b40c
  
https://github.com/NixOS/nix/commit/ea65ae0f9c3461f9b098c8757e01f5c3add8b40c
  Author: Eelco Dolstra 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/download.cc

  Log Message:
  ---
  Tweak error message


  Commit: 62d476c7ee5dbb79fb435895e0cda3fac8f53ba3
  
https://github.com/NixOS/nix/commit/62d476c7ee5dbb79fb435895e0cda3fac8f53ba3
  Author: Eelco Dolstra 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/store-api.cc

  Log Message:
  ---
  Fix typo


Compare: https://github.com/NixOS/nix/compare/1fd59447d56a...62d476c7ee5d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] nvidia proprietary / i7 notebook - does not start

2017-05-11 Thread Arseniy Seroka
I think it should detect such things. Can you create a patch please?

On 11 May 2017 14:10, "Marc Weber"  wrote:

>
> This worked, almost:
>
> ({config, pkgs, ...}: {
>   hardware.bumblebee.enable = true;
>   hardware.bumblebee.connectDisplay = true;
>   hardware.bumblebee.driver = "nvidia";
>   hardware.bumblebee.group = "users";
>
>   hardware.opengl.extraPackages = [ pkgs.vaapiIntel ];
>   services.xserver.videoDrivers = ["intel nvidia"];
>   services.xserver.deviceSection = ''
> BusID "PCI:3:0:0"
> BoardName "GeForce 940MX"
>   '';
> })
>
>   (Thanks to github.com/yamafaktory/nixos-configuration)
>
>
> After applying the GDM patch (.66 nivdia driver), I can start X with the
> configuratino above, and glxgears -info shows 79 and 780
> fpms/sec depending on whether optirun was used. nvidia shows intel or
> nvidia.
>
>
> nix-shell -p python36Packages.tensorflowWithCuda
> then optirun python on
>
>   import tensorflow as tf
>   # Creates a graph.
>   a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
>   b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
>   c = tf.matmul(a, b)
>   # Creates a session with log_device_placement set to True.
>   sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
>   # Runs the op.
>   print(sess.run(c))
>
> still shows CPU. The nix-shell command worked on a desktop, the test
> script worked on ububntu on the same machine. So there is still a small
> thing left to explore, but I do no longer have to reboot :)
>
> Thank you very much for helping me.
>
> Should a nixos-hardware-scan be able to detect such cases and write a
> configuration like above? Then a nixos-rebuild boot/switch could
> 'regenerate' the config and warn if your system doesn't match what nixos
> expected. Then you can review changes and things just work ?
> If there are preferences to be choosen such as nvidia vs nouveau such
> choice could be remembered ?
>
> Marc Weber
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nvidia proprietary / i7 notebook - does not start

2017-05-11 Thread Marc Weber

This worked, almost:

({config, pkgs, ...}: { 
  hardware.bumblebee.enable = true;
  hardware.bumblebee.connectDisplay = true;
  hardware.bumblebee.driver = "nvidia";
  hardware.bumblebee.group = "users";

  hardware.opengl.extraPackages = [ pkgs.vaapiIntel ];
  services.xserver.videoDrivers = ["intel nvidia"]; 
  services.xserver.deviceSection = ''
BusID "PCI:3:0:0"
BoardName "GeForce 940MX"
  '';
})

  (Thanks to github.com/yamafaktory/nixos-configuration)


After applying the GDM patch (.66 nivdia driver), I can start X with the
configuratino above, and glxgears -info shows 79 and 780
fpms/sec depending on whether optirun was used. nvidia shows intel or
nvidia.


nix-shell -p python36Packages.tensorflowWithCuda
then optirun python on

  import tensorflow as tf
  # Creates a graph.
  a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
  b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
  c = tf.matmul(a, b)
  # Creates a session with log_device_placement set to True.
  sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
  # Runs the op.
  print(sess.run(c))

still shows CPU. The nix-shell command worked on a desktop, the test
script worked on ububntu on the same machine. So there is still a small
thing left to explore, but I do no longer have to reboot :)

Thank you very much for helping me.

Should a nixos-hardware-scan be able to detect such cases and write a
configuration like above? Then a nixos-rebuild boot/switch could
'regenerate' the config and warn if your system doesn't match what nixos
expected. Then you can review changes and things just work ?
If there are preferences to be choosen such as nvidia vs nouveau such
choice could be remembered ?

Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 48192c: partition-manager: init at 3.0.1

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 48192c65c3f1398dd8a48e2a0b0fb72c40410dc0
  
https://github.com/NixOS/nixpkgs/commit/48192c65c3f1398dd8a48e2a0b0fb72c40410dc0
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
A pkgs/development/libraries/kpmcore/default.nix
A pkgs/tools/misc/partition-manager/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  partition-manager: init at 3.0.1

Includes kpmcore 3.0.3


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 9498f5: krusader: 2.4.0-beta1 -> 2.6.0

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9498f5ca5faa2299fd23eac6d5ec3fbbe7383deb
  
https://github.com/NixOS/nixpkgs/commit/9498f5ca5faa2299fd23eac6d5ec3fbbe7383deb
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/misc/krusader/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  krusader: 2.4.0-beta1 -> 2.6.0

Fixes #22952


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6c79df: libkcddb: init at 17.04.0

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6c79df351ff0b624ed202a7be6fb57e1be4be353
  
https://github.com/NixOS/nixpkgs/commit/6c79df351ff0b624ed202a7be6fb57e1be4be353
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/kde/default.nix
A pkgs/applications/kde/libkcddb.nix

  Log Message:
  ---
  libkcddb: init at 17.04.0


  Commit: b07e04882e325001f23d8c9fa671079ae0e11d5f
  
https://github.com/NixOS/nixpkgs/commit/b07e04882e325001f23d8c9fa671079ae0e11d5f
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/kde/default.nix
A pkgs/applications/kde/k3b.nix
R pkgs/applications/misc/k3b/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  k3b: 2.0.3a -> 17.04.0


Compare: https://github.com/NixOS/nixpkgs/compare/b22c62915fda...b07e04882e32___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] nvidia proprietary / i7 notebook - does not start

2017-05-11 Thread zimbatm
Writing from the phone so I don't have all the references at hand.

There are currently two issues with NixOS that might affect you:
* Nvidia Not creating the device driver properly
* GDM tty allocation issue, this leads in GDM repeatedly crashing and
making the console unusable because of the interruptions.

There is a PR pending that fixes both issues but needs testing.

On Wed, 10 May 2017, 13:34 Marc Weber,  wrote:

> This works (ubuntu installation), slightly different x versions
>   http://mawercer.de/tmp/xorg-ubuntu.conf
>   http://mawercer.de/tmp/ubuntu.log
>
> Taking xorg config from Ubuntu but using paths from nixos:
>   http://mawercer.de/tmp/xserver-ubuntu-plain.conf
>   http://mawercer.de/tmp/xserver-ubuntu-plain.conf.log
>
> # Trynig to set BusID keeping most of nixos's config:
>   http://mawercer.de/tmp/xorg-nixos.conf
>   http://mawercer.de/tmp/xorg-nixos.conf.log
>
> Best I got is being able to connect to blank screen by setting DISPLAY and
> running xrandr:
>   Screen 0: minimum 8 x 8, current 8 x 8, maximum 16384 x 16384
>   but HDMI is missing and sizes are missing
>   manually setting a size -s 800x600 -> no windows appear.
>
> Yes, I tried
>   xrandr --setprovideroutputsource modesetting NVIDIA-0
>   xrandr --auto
>
> Yes I tried blacklisting nouveau (doesn't change anything)
>
> xrandr output (runnig nouveau):
>
>   eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis
> y axis) 344mm x 194mm
>  1920x1080 60.01*+
>  1400x1050 59.98
>  1280x1024 60.02
>  1280x960  60.00
>  1024x768  60.0460.00
>  960x720   60.00
>  928x696   60.05
>  896x672   60.01
>  800x600   60.0060.3256.25
>  700x525   59.98
>  640x512   60.02
>  640x480   60.0059.94
>  512x384   60.00
>  400x300   60.3256.34
>  320x240   60.05
>   HDMI-1 connected (normal left inverted right x axis y axis)
>  1600x1200 60.00 +
>  1280x1024 75.0260.02
>  1280x960  60.00
>  1152x864  75.00
>  1024x768  75.0370.0760.00
>  832x624   74.55
>  800x600   72.1975.0060.3256.25
>  640x480   75.0072.8166.6759.94
>  720x400   70.08
>
> Marc Weber
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 6fedc9: {lib}mediainfo{-gui}: 0.7.91 -> 0.7.95

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6fedc9cdbeea0f7315fcd143b28b199d3bddd1d4
  
https://github.com/NixOS/nixpkgs/commit/6fedc9cdbeea0f7315fcd143b28b199d3bddd1d4
  Author: koral 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/applications/misc/mediainfo-gui/default.nix
M pkgs/applications/misc/mediainfo/default.nix
M pkgs/development/libraries/libmediainfo/default.nix

  Log Message:
  ---
  {lib}mediainfo{-gui}: 0.7.91 -> 0.7.95


  Commit: b22c62915fdaac94db2da20a1d38ee17803f8dc8
  
https://github.com/NixOS/nixpkgs/commit/b22c62915fdaac94db2da20a1d38ee17803f8dc8
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/misc/mediainfo-gui/default.nix
M pkgs/applications/misc/mediainfo/default.nix
M pkgs/development/libraries/libmediainfo/default.nix

  Log Message:
  ---
  Merge pull request #25688 from k0ral/mediainfo

{lib}mediainfo{-gui}: 0.7.91 -> 0.7.95


Compare: https://github.com/NixOS/nixpkgs/compare/7907fbfde6b2...b22c62915fda___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 7907fb: osmo: 0.2.14 -> 0.4.0 (#25622)

2017-05-11 Thread Jens Binkert
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7907fbfde6b27f8d0e545637497fcb54aaefbd9d
  
https://github.com/NixOS/nixpkgs/commit/7907fbfde6b27f8d0e545637497fcb54aaefbd9d
  Author: Jens Binkert 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/office/osmo/default.nix

  Log Message:
  ---
  osmo: 0.2.14 -> 0.4.0 (#25622)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 33acfb: cmark: 0.23.0 -> 0.27.1

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 33acfb8029ae9881aa15a839b7e72be4460bddc2
  
https://github.com/NixOS/nixpkgs/commit/33acfb8029ae9881aa15a839b7e72be4460bddc2
  Author: Andrew Kelley 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/development/libraries/cmark/default.nix

  Log Message:
  ---
  cmark: 0.23.0 -> 0.27.1


  Commit: 2dcc5bbb5d0aafd1b457e7decca67f5176fc177b
  
https://github.com/NixOS/nixpkgs/commit/2dcc5bbb5d0aafd1b457e7decca67f5176fc177b
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/development/libraries/cmark/default.nix

  Log Message:
  ---
  cmark: cmake in nativeBuildInputs


  Commit: e2a807cf128f37701a33b88aa1beccb9055aa652
  
https://github.com/NixOS/nixpkgs/commit/e2a807cf128f37701a33b88aa1beccb9055aa652
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/development/libraries/cmark/default.nix

  Log Message:
  ---
  cmark: enable tests


  Commit: 8b36a16b05450625f603c10ad726048933773a5e
  
https://github.com/NixOS/nixpkgs/commit/8b36a16b05450625f603c10ad726048933773a5e
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/development/libraries/cmark/default.nix

  Log Message:
  ---
  Merge pull request #25684 from andrewrk/update-cmark

cmark: 0.23.0 -> 0.27.1


Compare: https://github.com/NixOS/nixpkgs/compare/2ef92f0b5a49...8b36a16b0545___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 2ef92f: fix build

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2ef92f0b5a492084da38bc0d6ccf49e401e276da
  
https://github.com/NixOS/nixpkgs/commit/2ef92f0b5a492084da38bc0d6ccf49e401e276da
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/misc/tnef/default.nix

  Log Message:
  ---
  fix build


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] cd8088: tnef: clean up

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cd8088be258487fb904ef2d2953f5768d03a6c8f
  
https://github.com/NixOS/nixpkgs/commit/cd8088be258487fb904ef2d2953f5768d03a6c8f
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/misc/tnef/default.nix

  Log Message:
  ---
  tnef: clean up


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 0157ff: emojione: Fix typo in meta.license attribute name

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0157ffe0a3a99d9e8d81bd2dbbb809c05f0773df
  
https://github.com/NixOS/nixpkgs/commit/0157ffe0a3a99d9e8d81bd2dbbb809c05f0773df
  Author: Balletie 
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M pkgs/data/fonts/emojione/default.nix

  Log Message:
  ---
  emojione: Fix typo in meta.license attribute name

When installing this package, it broke because there was no
meta.license attribute.


  Commit: a856d476ec9989e789ac01fe3fa538688043bf72
  
https://github.com/NixOS/nixpkgs/commit/a856d476ec9989e789ac01fe3fa538688043bf72
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/data/fonts/emojione/default.nix

  Log Message:
  ---
  Merge pull request #25682 from Balletie/fix/emojione-meta-license-typo

emojione: Fix typo in meta.license attribute name


Compare: https://github.com/NixOS/nixpkgs/compare/6fef3228f9b7...a856d476ec99___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6fef32: sgtpuzzles: fix broken gtk3 file dialog (#25694)

2017-05-11 Thread Ole Jørgen Brønner
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6fef3228f9b7d1ab656f4ba5d7b36ea7b66cd299
  
https://github.com/NixOS/nixpkgs/commit/6fef3228f9b7d1ab656f4ba5d7b36ea7b66cd299
  Author: Ole Jørgen Brønner 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/games/sgt-puzzles/default.nix

  Log Message:
  ---
  sgtpuzzles: fix broken gtk3 file dialog (#25694)

include wrapGAppsHook for file dialog to work


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] fb0410: proofgeneral: 2017-03-13 -> 2017-05-06 (#25695)

2017-05-11 Thread Sophie Taylor
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fb0410c208b7669327940f7eaabe2e4865c4f198
  
https://github.com/NixOS/nixpkgs/commit/fb0410c208b7669327940f7eaabe2e4865c4f198
  Author: Sophie Taylor 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/editors/emacs-modes/proofgeneral/HEAD.nix

  Log Message:
  ---
  proofgeneral: 2017-03-13 -> 2017-05-06 (#25695)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 295a23: htslib: 1.3.2 -> 1.4

2017-05-11 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 295a23a2db2c6aef712864770f92547c1494e307
  
https://github.com/NixOS/nixpkgs/commit/295a23a2db2c6aef712864770f92547c1494e307
  Author: mimadrid 
  Date:   2017-05-07 (Sun, 07 May 2017)

  Changed paths:
M pkgs/development/libraries/science/biology/htslib/default.nix

  Log Message:
  ---
  htslib: 1.3.2 -> 1.4


  Commit: 9073e67568c66038ab8e5649b5944b6419d42b30
  
https://github.com/NixOS/nixpkgs/commit/9073e67568c66038ab8e5649b5944b6419d42b30
  Author: mimadrid 
  Date:   2017-05-07 (Sun, 07 May 2017)

  Changed paths:
M pkgs/applications/science/biology/samtools/default.nix

  Log Message:
  ---
  samtools: 1.3.1 -> 1.4


  Commit: 8d1bebf83c5f07e30e8c32700d0dfe7fb65008b1
  
https://github.com/NixOS/nixpkgs/commit/8d1bebf83c5f07e30e8c32700d0dfe7fb65008b1
  Author: mimadrid 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/science/biology/bcftools/default.nix

  Log Message:
  ---
  bcftools: 1.3.1 -> 1.4


  Commit: be19ad150c452c5104cf7dd4d97d79746e5756b6
  
https://github.com/NixOS/nixpkgs/commit/be19ad150c452c5104cf7dd4d97d79746e5756b6
  Author: Jörg Thalheim 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/science/biology/bcftools/default.nix
M pkgs/applications/science/biology/samtools/default.nix
M pkgs/development/libraries/science/biology/htslib/default.nix

  Log Message:
  ---
  Merge pull request #25594 from mimadrid/update/htslib-1.4

Update/htslib 1.4


Compare: https://github.com/NixOS/nixpkgs/compare/408d06f6ec7f...be19ad150c45___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 408d06: terragrunt: 0.12.15 -> 0.12.16

2017-05-11 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 408d06f6ec7f4a3538647fb3617f6a8cedcce6b6
  
https://github.com/NixOS/nixpkgs/commit/408d06f6ec7f4a3538647fb3617f6a8cedcce6b6
  Author: Peter Hoeg 
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M pkgs/applications/networking/cluster/terragrunt/default.nix
M pkgs/applications/networking/cluster/terragrunt/deps.nix

  Log Message:
  ---
  terragrunt: 0.12.15 -> 0.12.16


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits