[Nix-commits] [NixOS/nixpkgs] 327054: rethinkdb service: initial implementation

2017-06-26 Thread Calvin Cheng
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 32705450944254f3f49b09671efaadca31ed8a48
  
https://github.com/NixOS/nixpkgs/commit/32705450944254f3f49b09671efaadca31ed8a48
  Author: Calvin Cheng 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
A nixos/modules/services/databases/rethinkdb.nix

  Log Message:
  ---
  rethinkdb service: initial implementation


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


[Nix-commits] [NixOS/nixpkgs] b8bfc8: httpd: don't install suid executables into nix sto...

2017-06-26 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b8bfc8dae29d1b5daf156916faabac77783fb3cc
  
https://github.com/NixOS/nixpkgs/commit/b8bfc8dae29d1b5daf156916faabac77783fb3cc
  Author: Franz Pletz 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M pkgs/servers/http/thttpd/default.nix

  Log Message:
  ---
  httpd: don't install suid executables into nix store


  Commit: 271d3f7a432f60f6367ffcbf1096fed15b397fa5
  
https://github.com/NixOS/nixpkgs/commit/271d3f7a432f60f6367ffcbf1096fed15b397fa5
  Author: Franz Pletz 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M nixos/modules/services/monitoring/prometheus/default.nix

  Log Message:
  ---
  prometheus service: globalConfig.labels is obsolete

Due to the version bump in e60c958811186e46d9220cca8ce9700da174d9a1.


Compare: https://github.com/NixOS/nixpkgs/compare/72ed36027703...271d3f7a432f___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 72ed36: freeradius: 3.0.12 -> 3.0.14 (#26874)

2017-06-26 Thread WilliButz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 72ed360277030956fa3f173d6dc0a273c4ba0d96
  
https://github.com/NixOS/nixpkgs/commit/72ed360277030956fa3f173d6dc0a273c4ba0d96
  Author: WilliButz 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M pkgs/servers/freeradius/default.nix

  Log Message:
  ---
  freeradius: 3.0.12 -> 3.0.14 (#26874)


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


Re: [Nix-dev] okteta fix build

2017-06-26 Thread Karn Kallio


> please provide your nice patches via a PR on github.com/nixos/nixpkgs
> to 'master'
> 
> if you are unsure about the workflow, please ask and we'll help you!
> thanks for your work!
> 

Thank you, but I will just post these patches here for anybody who
wants to use them.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] okteta fix build

2017-06-26 Thread Joachim Schiele
please provide your nice patches via a PR on github.com/nixos/nixpkgs to
'master'

if you are unsure about the workflow, please ask and we'll help you!
thanks for your work!

On 25.06.2017 19:51, Karn Kallio wrote:
> 
> The attached patch fixes the build of the Nixpkgs KDE application
> okteta by adding some missing dependencies.
> 
> 
> 
> ___
> 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] 999892: skrooge: 2.7.0 -> 2.8.1

2017-06-26 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 999892fd1e6b15f12bf05d02f6c4bfa409cb2c52
  
https://github.com/NixOS/nixpkgs/commit/999892fd1e6b15f12bf05d02f6c4bfa409cb2c52
  Author: Vincent Laporte 
  Date:   2017-06-25 (Sun, 25 Jun 2017)

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

  Log Message:
  ---
  skrooge: 2.7.0 -> 2.8.1


  Commit: 9dbfd87ab68fa20d516a0516d9611313e4be48a0
  
https://github.com/NixOS/nixpkgs/commit/9dbfd87ab68fa20d516a0516d9611313e4be48a0
  Author: Frederik Rietdijk 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  Merge pull request #26849 from vbgl/skrooge-2.8

skrooge: 2.7.0 -> 2.8.1


Compare: https://github.com/NixOS/nixpkgs/compare/25b12febee3c...9dbfd87ab68f___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] cbb39f: krfb: add new qtx11extras dependency

2017-06-26 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cbb39f4382a84c23ce4dbb6f77ef298e68e89afa
  
https://github.com/NixOS/nixpkgs/commit/cbb39f4382a84c23ce4dbb6f77ef298e68e89afa
  Author: Matt McHenry 
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
M pkgs/applications/kde/krfb.nix

  Log Message:
  ---
  krfb: add new qtx11extras dependency


  Commit: 25b12febee3c5edcd19ddb0e38805e87143c94b7
  
https://github.com/NixOS/nixpkgs/commit/25b12febee3c5edcd19ddb0e38805e87143c94b7
  Author: Frederik Rietdijk 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/applications/kde/krfb.nix

  Log Message:
  ---
  Merge pull request #26857 from jerith666/krfb-qtx11extras

krfb: add new qtx11extras dependency


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


[Nix-commits] [NixOS/nixpkgs] 0fafa0: erlang: remove erlangR16 and all versioned variant...

2017-06-26 Thread Daniel Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0fafa0d7d7c89dfb8c3c7fbc5977cfe7959ebb78
  
https://github.com/NixOS/nixpkgs/commit/0fafa0d7d7c89dfb8c3c7fbc5977cfe7959ebb78
  Author: Daiderd Jordan 
  Date:   2017-06-23 (Fri, 23 Jun 2017)

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

  Log Message:
  ---
  erlang: remove erlangR16 and all versioned variants from all-packages

Fixes #24047

All of the variants are still available in the beam.interpreters attrset.


  Commit: 2dc0eaf0f164acb5dea0a400997cc86d762197e7
  
https://github.com/NixOS/nixpkgs/commit/2dc0eaf0f164acb5dea0a400997cc86d762197e7
  Author: Daniel Peebles 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  Merge pull request #26797 from LnL7/erlang-versions

erlang: remove erlangR16 and all versioned variants from all-packages


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


[Nix-commits] [NixOS/nixpkgs] 39497d: erlang: change default R18 -> R19

2017-06-26 Thread Daiderd Jordan
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 39497df1eff6b5ebea1b4dc35dc0814e074a5aec
  
https://github.com/NixOS/nixpkgs/commit/39497df1eff6b5ebea1b4dc35dc0814e074a5aec
  Author: Daiderd Jordan 
  Date:   2017-06-24 (Sat, 24 Jun 2017)

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

  Log Message:
  ---
  erlang: change default R18 -> R19


  Commit: dc1ae6f18d719fba92123d33b1d30bcadc2b31cb
  
https://github.com/NixOS/nixpkgs/commit/dc1ae6f18d719fba92123d33b1d30bcadc2b31cb
  Author: Daiderd Jordan 
  Date:   2017-06-24 (Sat, 24 Jun 2017)

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

  Log Message:
  ---
  erlang: use R18 for packages that don't work with R19


  Commit: 1389f28cd0e7d69f793e508a6adcbde01fe3c4b0
  
https://github.com/NixOS/nixpkgs/commit/1389f28cd0e7d69f793e508a6adcbde01fe3c4b0
  Author: Daiderd Jordan 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  Merge pull request #26804 from LnL7/erlangR19

erlang: change default to R19


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


[Nix-commits] [NixOS/nixpkgs] f60a36: llvm-packages: get rid of extra build depedencies ...

2017-06-26 Thread Daiderd Jordan
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f60a36a910f770bea564ba30e0dc052ab9d0d4f8
  
https://github.com/NixOS/nixpkgs/commit/f60a36a910f770bea564ba30e0dc052ab9d0d4f8
  Author: Daiderd Jordan 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/compilers/llvm/4/clang/default.nix
M pkgs/development/compilers/llvm/4/default.nix
M pkgs/development/compilers/llvm/4/llvm.nix

  Log Message:
  ---
  llvm-packages: get rid of extra build depedencies for manpages

Fixes #26756


  Commit: f65b5365bb944bd94c582c59b4292e647b830707
  
https://github.com/NixOS/nixpkgs/commit/f65b5365bb944bd94c582c59b4292e647b830707
  Author: Daiderd Jordan 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/stdenv/darwin/default.nix

  Log Message:
  ---
  darwin-stdenv: remove llvm/clang manpage overrides from


  Commit: 071803955e0183739eeff2c31719f34df3cdea3c
  
https://github.com/NixOS/nixpkgs/commit/071803955e0183739eeff2c31719f34df3cdea3c
  Author: Daiderd Jordan 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/compilers/llvm/4/default.nix

  Log Message:
  ---
  llvm-packages: mark manpages as lowPrio


  Commit: d76bc8ed15cfa21d9f1cc47a06ee1fe8ac86d6d3
  
https://github.com/NixOS/nixpkgs/commit/d76bc8ed15cfa21d9f1cc47a06ee1fe8ac86d6d3
  Author: Daiderd Jordan 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/compilers/llvm/4/clang/default.nix
M pkgs/development/compilers/llvm/4/default.nix
M pkgs/development/compilers/llvm/4/llvm.nix
M pkgs/stdenv/darwin/default.nix

  Log Message:
  ---
  Merge pull request #26818 from LnL7/llvm-manpages

llvm-packages: get rid of extra build depedencies for manpages


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


[Nix-commits] [NixOS/nixpkgs] 2da82a: racerd: 2016-12-24 -> 2017-02-17

2017-06-26 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2da82a1d19ce47c9c23cd2832cdbab6e297b97c9
  
https://github.com/NixOS/nixpkgs/commit/2da82a1d19ce47c9c23cd2832cdbab6e297b97c9
  Author: Jörg Thalheim 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/tools/rust/racerd/default.nix

  Log Message:
  ---
  racerd: 2016-12-24 -> 2017-02-17


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


[Nix-commits] [NixOS/nixpkgs] cdc5cf: cygwin: rebase fixes

2017-06-26 Thread John Ericson
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cdc5cf52c1e1a18e62bbd85ca404492e9bd3023a
  
https://github.com/NixOS/nixpkgs/commit/cdc5cf52c1e1a18e62bbd85ca404492e9bd3023a
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/stdenv/cygwin/rebase-i686.sh
M pkgs/stdenv/cygwin/rebase-x86_64.sh

  Log Message:
  ---
  cygwin: rebase fixes

- use fixupOutputsHook to find libs in all outputs
- don't rebase symlinks


  Commit: dd8d0e300064e9d7d0a952c29abb4496800b59c8
  
https://github.com/NixOS/nixpkgs/commit/dd8d0e300064e9d7d0a952c29abb4496800b59c8
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/build-support/setup-hooks/win-dll-link.sh

  Log Message:
  ---
  cygwin: force native symlinks for libraries

This will override the existing winsymlinks setting.  nativestrict
will cause ln to fail if it's unable to create a native symlink.
Native symlinks are required for the windows dll loader to find the
libraries.

This script is also used for cross-mingw, but setting CYGWIN
shouldn't cause a problem.


  Commit: 23efc95a742cb1bfe271d643ed5b34d9bd02e181
  
https://github.com/NixOS/nixpkgs/commit/23efc95a742cb1bfe271d643ed5b34d9bd02e181
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  gzip: remove cygwin hack

The file being patched doesn't exist any more, and gzip now builds
on cygwin without this.


  Commit: 504f11bbab4d55ea4606511392033173d1dfe507
  
https://github.com/NixOS/nixpkgs/commit/504f11bbab4d55ea4606511392033173d1dfe507
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  glib: allow cygwin


  Commit: f254af9c1934ad4e1b10853d5478a297f91ed662
  
https://github.com/NixOS/nixpkgs/commit/f254af9c1934ad4e1b10853d5478a297f91ed662
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
R pkgs/applications/networking/browsers/w3m/cygwin.patch
M pkgs/applications/networking/browsers/w3m/default.nix

  Log Message:
  ---
  w3m: remove old cygwin patch


  Commit: 087c32715b9ed50a45e81fc438f179a899ea96e0
  
https://github.com/NixOS/nixpkgs/commit/087c32715b9ed50a45e81fc438f179a899ea96e0
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/interpreters/python/cpython/2.7/default.nix

  Log Message:
  ---
  python2: copy stub library to output on cygwin


  Commit: 3c76cd7626dd5db7b3d5a83dbb054cd414631454
  
https://github.com/NixOS/nixpkgs/commit/3c76cd7626dd5db7b3d5a83dbb054cd414631454
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  libxslt: fix cygwin libtool error


  Commit: 33eec8e105359b1c01490f64f02057bf75a90c09
  
https://github.com/NixOS/nixpkgs/commit/33eec8e105359b1c01490f64f02057bf75a90c09
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  ncurses: fix cygwin build


  Commit: 18125e6f50c77d56ba3f7486590db2bfb55a367b
  
https://github.com/NixOS/nixpkgs/commit/18125e6f50c77d56ba3f7486590db2bfb55a367b
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/tools/misc/help2man/1.40.4-cygwin-nls.patch
M pkgs/development/tools/misc/help2man/default.nix

  Log Message:
  ---
  help2man: help wrapper find libintl on cygwin


  Commit: af165175da97e6f63c51f30e28a17851fb71f579
  
https://github.com/NixOS/nixpkgs/commit/af165175da97e6f63c51f30e28a17851fb71f579
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/shells/bash/4.4.nix
R pkgs/shells/bash/cygwin-bash-4.3.33-1.src.patch
A pkgs/shells/bash/cygwin-bash-4.4.11-2.src.patch

  Log Message:
  ---
  bash: fix cygwin build


  Commit: f3c039ff8d4100c22e09b23a596727a5fa211de9
  
https://github.com/NixOS/nixpkgs/commit/f3c039ff8d4100c22e09b23a596727a5fa211de9
  Author: David McFarland 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  perl-LocaleGettext: fix test failure on cygwin by setting $LANG


  Commit: a08024bcb0fbde4d866bf91ac8ee9776ed23d78a
  
https://github.com/NixOS/nixpkgs/commit/a08024bcb0fbde4d866bf91ac8ee9776ed23d78a
  Author: David McFarland 
  Date:   

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

2017-06-26 Thread Volth
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4fb8f6f7a5b30f4baa5d654929e16174cd750816
  
https://github.com/NixOS/nixpkgs/commit/4fb8f6f7a5b30f4baa5d654929e16174cd750816
  Author: Franz Pletz 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/os-specific/linux/lxc/default.nix

  Log Message:
  ---
  lxc: 2.0.7 -> 2.0.8

(cherry picked from commit eb8c14751a3532898e7941ee43a271d8739a6a21)


  Commit: b2bf4d8327b71f67bb7766fc2cb2988152067b02
  
https://github.com/NixOS/nixpkgs/commit/b2bf4d8327b71f67bb7766fc2cb2988152067b02
  Author: Volth 
  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 picked from commit 8fe525b6c77ca5fdd2d1922d2e863fbb9198781c)


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


[Nix-commits] [NixOS/nixpkgs] ce8178: qtinstaller: fix broken meta

2017-06-26 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ce8178ed931a0f6036a8a71919fd67b0a103e687
  
https://github.com/NixOS/nixpkgs/commit/ce8178ed931a0f6036a8a71919fd67b0a103e687
  Author: Vladimír Čunát 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  qtinstaller: fix broken meta

The invalid meta.outputsToInstall has been blocking channel updates.
https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023991.html


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


[Nix-commits] [NixOS/nixpkgs] 456089: ocamlPackages.mlgmp: disable for OCaml ≥ 4.03

2017-06-26 Thread Vincent Laporte
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 456089b74db4d93e33dff2c3f8abd58f6281f738
  
https://github.com/NixOS/nixpkgs/commit/456089b74db4d93e33dff2c3f8abd58f6281f738
  Author: Vincent Laporte 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/ocaml-modules/mlgmp/default.nix

  Log Message:
  ---
  ocamlPackages.mlgmp: disable for OCaml ≥ 4.03


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


Re: [Nix-dev] nixos-unstable-small channel is not updating anymore

2017-06-26 Thread Daniel Peebles
This sort of thing seems like it could also be caught by this feature I
added a few weeks ago: https://github.com/NixOS/nixpkgs/pull/25304

It started off disabled by default, then I tried enabling it by default,
and then disabled it by default again. It checks meta fields against a
schema and fails builds if they fail. We could enable it by default again?

On Mon, Jun 26, 2017 at 1:53 PM, Vladimír Čunát  wrote:

> On 06/26/2017 07:22 PM, Eelco Dolstra wrote:
> > Jun 26 17:12:49 webserver update-nixos-unstable-small-start[13607]:
> > error: in package ‘libsForQt5.qtinstaller’: this derivation has bad
> > ‘meta.outputsToInstall’
>
> Right, this particular error is fixed by ce8178ed931a.  Is it possible
> to make such errors visible somewhere, e.g. on Hydra?
>
> --Vladimir
> ___
> 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] nixos-unstable-small channel is not updating anymore

2017-06-26 Thread Vladimír Čunát
On 06/26/2017 07:22 PM, Eelco Dolstra wrote:
> Jun 26 17:12:49 webserver update-nixos-unstable-small-start[13607]:
> error: in package ‘libsForQt5.qtinstaller’: this derivation has bad
> ‘meta.outputsToInstall’

Right, this particular error is fixed by ce8178ed931a.  Is it possible
to make such errors visible somewhere, e.g. on Hydra?

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


[Nix-commits] [NixOS/nixpkgs] b00fb6: at: Don't set fancy bits on install

2017-06-26 Thread Will Dietz
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b00fb69ff8957ca4f7dd4ecdf51a90d1daf36e22
  
https://github.com/NixOS/nixpkgs/commit/b00fb69ff8957ca4f7dd4ecdf51a90d1daf36e22
  Author: Will Dietz 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/tools/system/at/install.patch

  Log Message:
  ---
  at: Don't set fancy bits on install

(cherry picked from commit 0d92084f756032ae7f23ebed9873a2a5cd15d16f)


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


Re: [Nix-dev] nixos-unstable-small channel is not updating anymore

2017-06-26 Thread Eelco Dolstra
Hi,

On 06/26/2017 04:37 PM, Vladimír Čunát wrote:

> That channel hasn't updated for over a week now and it's unclear why, as
> all the jobs succeeded on most evaluations during the past week.

The mirroring script fails in generate-programs-index:

> Jun 26 17:12:09 webserver update-nixos-unstable-small-start[13607]: 34 
> top-level paths, 619 paths in closure
> Jun 26 17:12:49 webserver update-nixos-unstable-small-start[13607]: error: in 
> package ‘libsForQt5.qtinstaller’: this derivation has bad 
> ‘meta.outputsToInstall’
> Jun 26 17:12:49 webserver update-nixos-unstable-small-start[13607]: Died at 
> /nix/store/r23zn67lg3b55pw990smqsh51g19rax0-nixos-channel-scripts/bin/.mirror-nixos-branch-wrapped
>  line 157.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-unstable-small channel is not updating anymore

2017-06-26 Thread Graham Christensen
Vladimír Čunát  writes:

> Hi.
> That channel hasn't updated for over a week now and it's unclear why, as
> all the jobs succeeded on most evaluations during the past week.
>
> --Vladimir

Interesting, according to
https://channels.nix.gsc.io/nixos-unstable-small/history and
https://channels.nix.gsc.io/graph.html it has been updating quite
regularly.

I'm monitoring the github repository at
https://github.com/nixos/nixpkgs-channels/tree/nixos-unstable-small
which has been updating.

I wonder why nixos.org/channels hasn't been keeping up?

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


[Nix-dev] nixos-unstable-small channel is not updating anymore

2017-06-26 Thread Vladimír Čunát
Hi.
That channel hasn't updated for over a week now and it's unclear why, as
all the jobs succeeded on most evaluations during the past week.

--Vladimir


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


[Nix-commits] [NixOS/nixpkgs] a9ba1e: rustNightlyBin: 2017-05-30 -> 2017-06-26

2017-06-26 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a9ba1e101e0eb59dc0292790604b4e90c347eafa
  
https://github.com/NixOS/nixpkgs/commit/a9ba1e101e0eb59dc0292790604b4e90c347eafa
  Author: Jörg Thalheim 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/compilers/rust/nightlyBin.nix

  Log Message:
  ---
  rustNightlyBin: 2017-05-30 -> 2017-06-26


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


[Nix-commits] [NixOS/nixpkgs] c90a4b: linux: 4.12-rc6 -> 4.12-rc7

2017-06-26 Thread Tim Steinbach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c90a4b8541e2046b84cbf5dd7e8fab0ae3f8d6ec
  
https://github.com/NixOS/nixpkgs/commit/c90a4b8541e2046b84cbf5dd7e8fab0ae3f8d6ec
  Author: Tim Steinbach 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-testing.nix

  Log Message:
  ---
  linux: 4.12-rc6 -> 4.12-rc7


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


[Nix-commits] [NixOS/nixpkgs] 5cff20: Disable pyopenssl tests temporarily, due to hardco...

2017-06-26 Thread Rob Vermaas
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5cff2032dc622639e401dd6b4f046ee9d31c6c1d
  
https://github.com/NixOS/nixpkgs/commit/5cff2032dc622639e401dd6b4f046ee9d31c6c1d
  Author: Rob Vermaas 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

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

  Log Message:
  ---
  Disable pyopenssl tests temporarily, due to hardcoded certificate that depend 
on a date before June 10-11 2017. Newest version of pyopenssl still has the 
same certificates as far as I could see.


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


[Nix-commits] [NixOS/nixpkgs] dac2a7: brltty: 5.4 -> 5.5

2017-06-26 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: dac2a7693a27030e2f113b26d8544194504b7a46
  
https://github.com/NixOS/nixpkgs/commit/dac2a7693a27030e2f113b26d8544194504b7a46
  Author: Bram Duvigneau 
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
M pkgs/tools/misc/brltty/default.nix
R pkgs/tools/misc/brltty/systemd.patch

  Log Message:
  ---
  brltty: 5.4 -> 5.5


  Commit: ff04c361cf2b4f112706c53ffdd8faab1b4adbf8
  
https://github.com/NixOS/nixpkgs/commit/ff04c361cf2b4f112706c53ffdd8faab1b4adbf8
  Author: Jörg Thalheim 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/tools/misc/brltty/default.nix
R pkgs/tools/misc/brltty/systemd.patch

  Log Message:
  ---
  Merge pull request #26812 from bramd/fix/brltty-5.5

brltty: 5.4 -> 5.5


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


[Nix-commits] [NixOS/nixpkgs] 003cd4: zsh: extend default $fpath configured by NixOS to ...

2017-06-26 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 003cd41310b5b7839eb4c402d84dc25068026c3e
  
https://github.com/NixOS/nixpkgs/commit/003cd41310b5b7839eb4c402d84dc25068026c3e
  Author: Peter Simons 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M nixos/modules/programs/zsh/zsh.nix

  Log Message:
  ---
  zsh: extend default $fpath configured by NixOS to find "vendor-completions"


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


Re: [Nix-dev] 5 somewhat related questions

2017-06-26 Thread Roger Qiu
Oh I wrote a blog post before on the usage of nix env and nix path and
using a custom nixpkgs clone for reproducible nix env and
configuration.nix. You may find it useful:
http://matrix.ai/2017/03/13/intro-to-nix-channels-and-reproducible-nixos-environment/

On 26 Jun 2017 5:59 PM, "Klaas van Schelven"  wrote:

> Linux & Matt: thanks for these further insights. This has all been very
> useful!
>
> On Sun, Jun 25, 2017 at 8:01 AM, Linus  wrote:
>
>> On 24 June 2017 20:07:27 BST, Matt McHenry 
>> wrote:
>> >The only major downside of this approach is that I have to always
>> >remember to give '-I nixpkgs=...' arguments to all the usual nix
>> >commands.  But that's become pretty second nature to me by now.  :)
>>
>> You could also set NIX_PATH in one of various locations to avoid having
>> to specify it on every invocation.
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
>
> --
> Klaas van Schelven
> +31 6 811 599 10
>
> ___
> 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] Error: invalid printer model name

2017-06-26 Thread Kirill Elagin
Well, this time it’s pretty hard to tell just form the source code, without
executing it. It seems that the model name is passed on the command line,
but who passes it to whom and what does the check do... unfortunately that
needs deepere debugging, with more verbose output, and probably even adding
additional logging to the code :(.

Maybe someone else can share their ideas.

On Tue, Jun 20, 2017 at 11:49 PM Nawal Husnoo  wrote:

> Thanks for your help, I don't really know why I keep missing the obvious :P
>
> I've now compiled the pstocanonij you suggested, but unfortunately:
>
> Jun 20 21:23:51 heisenbug cupsd[21991]: pstocanonij:
> /home/nawal/.nix-profile/bin//gs -sstdout=%stderr -r600 -g4958x7016 -q
> -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=%stdout -|
> /home/nawal/.nix-profile/bin//cifmp250 --imageres 600 --papersize a4
> --media plain --paperload  asf --bbox 9,14,586,834 --fit  --copies 1
> Jun 20 21:23:51 heisenbug cupsd[21991]: Error: invalid printer model name
> Jun 20 21:23:51 heisenbug cupsd[21991]: Read 324 bytes of back-channel
> data...
> Jun 20 21:23:52 heisenbug cupsd[21991]: Wrote 1 pages...
> Jun 20 21:23:52 heisenbug cupsd[21991]: PID 30211 (pstops) exited with no
> errors.
>
>
> [nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ grep "invalid printer
> model name" -R ./cnijfilter-common/cnijfilter-3.40/src/bjfoption.c
> fprintf(stderr, "Error: invalid printer model name\n");
>
> A bit of googling suggests the "model name" isn't quite what's in the ppd
> file...
>
> [nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ grep Name -R ./usr/| grep
> ppd | grep Model
> ./usr/share/ppd/canonmp250.ppd:*ModelName: "Canon MP250 series"
>
> I think this might be where I leave the rabbit hole...
>
>
>
> On 20 June 2017 at 20:57, Kirill Elagin  wrote:
>
>> Well, the log you posted is pretty clear on that: `pstocanonij` is
>> calling it. Googling `pstocanonij` gives me this:
>>
>>
>> https://github.com/endlessm/cnijfilter-common/blob/master/pstocanonij/filter/pstocanonij.c#L45-L52
>>
>> and sure enough
>>
>>
>> https://github.com/endlessm/cnijfilter-common/blob/master/pstocanonij/filter/pstocanonij.c#L687-L695
>>
>> Now, the question is what to do. It looks like the source of
>> `pstocanonij` is public (but you‘ll have to check what is this github
>> repository, and where does the code come from, to be on the safe side with
>> the licence, especially if you want to submit this expression to nixpkgs
>> later). If this part of the driver is really opensource, than the answer is
>> obvious, you just go there and fix the paths ;).
>>
>> On Tue, Jun 20, 2017 at 10:33 PM Nawal Husnoo  wrote:
>>
>>> Ah the lesson is I need to wake up fully before coding! Thank you!
>>>
>>> Still stuck - so close and yet so far!
>>>
>>> Error:
>>> ==
>>>
>>> Jun 20 20:17:17 heisenbug cupsd[21991]: pstocanonij: /usr/bin/gs -r600
>>> -g4958x7016 -q -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=- -|
>>> /usr/bin/cifmp250 --imageres 600 --papersize a4 --media plain --paperload
>>> asf --bbox 9,14,586,834 --fit
>>> Jun 20 20:17:17 heisenbug cupsd[21991]: /bin/sh: /usr/bin/gs: No such
>>> file or directory
>>> Jun 20 20:17:17 heisenbug cupsd[21991]: /bin/sh: /usr/bin/cifmp250: No
>>> such file or directory
>>> Jun 20 20:17:17 heisenbug cupsd[21991]: Sent 0 bytes...
>>>
>>> Of course, the files /usr/bin/gs and /usr/bin/cifmp250 don't exist, this
>>> being nix and all...
>>>
>>>
>>> [nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ which gs
>>> /home/nawal/.nix-profile/bin/gs
>>>
>>> [nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ which cifmp250
>>> /home/nawal/.nix-profile/bin/cifmp250
>>>
>>> Closest thing I found was:
>>>
>>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/cups/drivers/canon/default.nix
>>>
>>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/cups/drivers/canon/preload.c
>>>
>>> but it's not clear to me how to port that to my problem... It's not even
>>> clear to me who's calling these two binaries, as grepping the deb file
>>> contents isn't turning up anything...
>>>
>>> thanks for any ideas!
>>>
>>> Nawal
>>>
>>>
>>>
>>>
>>> default.nix
>>> ==
>>> { stdenv
>>> , pkgs
>>> , udev
>>> , alsaLib
>>> , gtk2-x11
>>> , patchelf
>>> , binutils
>>> , popt
>>> , cups
>>> , cairo
>>> , pango
>>> , fontconfig
>>> , glib
>>> , dpkg
>>> , atk
>>> , procps
>>> , gdk_pixbuf
>>> , zlib
>>> , libxml2
>>> , perl
>>> , libtiff
>>> , firefox
>>> , libX11
>>> , libXcursor
>>> , libXrandr
>>> , libXext
>>> , libXinerama
>>> , libXrender
>>> , libXi
>>> , libXfixes
>>> , libpng12
>>> , pkgconfig
>>> }:
>>>
>>> stdenv.mkDerivation {
>>> name = "canon-mp250";
>>> src = ./usr;
>>> builder = ./builder.sh;
>>> buildInputs = [libtiff perl pkgconfig];
>>>
>>> configurePhase = ''
>>> echo "CONFIGURE TIFF ${libtiff.out}/lib/libtiff.so"
>>> '';
>>>
>>> libPath = 

[Nix-dev] canon printer drivers (cnijfilter)

2017-06-26 Thread Matt McHenry
Hi Nawal,

I see you've been trying to get canon's linux drivers working on nixos
[1][2][3].  I've also tried my hand at this.  I think I've made more
progress than you, but was never able to get it working, and eventually
resigned myself to just printing with the gutenprint driver.  I'd be
interested in continuing to hack at it as time permits, though.

I got to the point of cups executing what I think is the correct chain of
filters, all built from the source that my nix expression pulls from the
Canon Japan website.  However, at least one of the filters is unable to
load at least one dynamically linked library, so it fails.  I don't know
much about shared libraries on linux in general or NixOS in particular, so
I was mostly just thrashing around a lot.

I've pushed what I have to the cnijfilter branch in my nixpkgs clone [4].
To try it, just add pkgs.cnijfilter to services.printing.drivers in
configuration.nix.  (I also tried adding cnijfilter to
environment.systemPackages, that didn't seem to help.)

I've gleaned a lot from the other distros builds [5][6][7].  In particular,
the cnijfilter-common library does not follow a normal versioning pattern
-- each version supports a certain set of printers.  So you don't want the
latest, you want whatever matches up with your printer.  (My printer is an
MX-700, which uses the mp520 driver.  So I've been working on version 2.80
of cnijfilter-common.)  But my hope is that the overall structure of the
build would be very portable between versions.

It looks like you've worked from the debian packages -- perhaps looking in
more detail at how they are built will give us some more clues?

I'm not sure whether it makes more sense to open an issue to document this
work, or keep discussing on the mailing list.

[1] https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023942.html
[2] https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023943.html
[3] https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023946.html

[4] https://github.com/jerith666/nixpkgs/tree/cnijfilter

[5] https://bugs.gentoo.org/show_bug.cgi?id=130645
[6] https://aur.archlinux.org/packages/cnijfilter-mp620/?comments=all
[7] https://github.com/spremi/cnijfilter-source-3.80
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] canon printer drivers (cnijfilter)

2017-06-26 Thread Matt McHenry
The error doesn't show up in the cups log -- the only thing it says is
"Error: CNCL_SetParam" -- but to cups, the process it spawned seems to have
succeeded.  See attached log.

As I recall, the problem is that one of the executables that gets built
then tries to load one of binary libraries included in the tarball from
canon, and can't find it.  I'll have to go refresh my memory some more, but
won't have time until this evening.

I have not tried patchelf -- that may be a good lead.

I don't think a FHS env will work, because as you say, the cups service
can't be run in there.

On Wed, Jun 21, 2017 at 2:36 AM, Nawal Husnoo  wrote:

> Thanks for that Matt!
>
> I wonder if the versioning thing is a windows-related behaviour.
>
> Could you say a few words about the link errors you had? Have you used
> patchelf?
>
> >* patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
> *>* --set-rpath $libPath:$out/lib \
> *>* $out/bin/cngpijmonmp250*
>
> Another option I could live with is if we could create a buildFHSUserEnv -
> I tried it with the binary canon drivers, but it turned out it's cups that
> needs to be inside for the pesky things to be found, but then systemd
> wouldn't let me restart cups.service inside a user env...
>
> Cheers,
>
> Nawal.
>
>
>
> On 21 June 2017 at 01:49, Matt McHenry  wrote:
>
>> Hi Nawal,
>>
>> I see you've been trying to get canon's linux drivers working on nixos
>> [1][2][3].  I've also tried my hand at this.  I think I've made more
>> progress than you, but was never able to get it working, and eventually
>> resigned myself to just printing with the gutenprint driver.  I'd be
>> interested in continuing to hack at it as time permits, though.
>>
>> I got to the point of cups executing what I think is the correct chain of
>> filters, all built from the source that my nix expression pulls from the
>> Canon Japan website.  However, at least one of the filters is unable to
>> load at least one dynamically linked library, so it fails.  I don't know
>> much about shared libraries on linux in general or NixOS in particular, so
>> I was mostly just thrashing around a lot.
>>
>> I've pushed what I have to the cnijfilter branch in my nixpkgs clone
>> [4].  To try it, just add pkgs.cnijfilter to services.printing.drivers in
>> configuration.nix.  (I also tried adding cnijfilter to
>> environment.systemPackages, that didn't seem to help.)
>>
>> I've gleaned a lot from the other distros builds [5][6][7].  In
>> particular, the cnijfilter-common library does not follow a normal
>> versioning pattern -- each version supports a certain set of printers.  So
>> you don't want the latest, you want whatever matches up with your printer.
>> (My printer is an MX-700, which uses the mp520 driver.  So I've been
>> working on version 2.80 of cnijfilter-common.)  But my hope is that the
>> overall structure of the build would be very portable between versions.
>>
>> It looks like you've worked from the debian packages -- perhaps looking
>> in more detail at how they are built will give us some more clues?
>>
>> I'm not sure whether it makes more sense to open an issue to document
>> this work, or keep discussing on the mailing list.
>>
>> [1] https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023942.html
>> [2] https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023943.html
>> [3] https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/023946.html
>>
>> [4] https://github.com/jerith666/nixpkgs/tree/cnijfilter
>>
>> [5] https://bugs.gentoo.org/show_bug.cgi?id=130645
>> [6] https://aur.archlinux.org/packages/cnijfilter-mp620/?comments=all
>> [7] https://github.com/spremi/cnijfilter-source-3.80
>>
>
>


cups-cnijfilter
Description: Binary data
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Error: invalid printer model name

2017-06-26 Thread Nawal Husnoo
Thanks for your help, I don't really know why I keep missing the obvious :P

I've now compiled the pstocanonij you suggested, but unfortunately:

Jun 20 21:23:51 heisenbug cupsd[21991]: pstocanonij:
/home/nawal/.nix-profile/bin//gs -sstdout=%stderr -r600 -g4958x7016 -q
-dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=%stdout -|
/home/nawal/.nix-profile/bin//cifmp250 --imageres 600 --papersize a4
--media plain --paperload  asf --bbox 9,14,586,834 --fit  --copies 1
Jun 20 21:23:51 heisenbug cupsd[21991]: Error: invalid printer model name
Jun 20 21:23:51 heisenbug cupsd[21991]: Read 324 bytes of back-channel
data...
Jun 20 21:23:52 heisenbug cupsd[21991]: Wrote 1 pages...
Jun 20 21:23:52 heisenbug cupsd[21991]: PID 30211 (pstops) exited with no
errors.


[nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ grep "invalid printer model
name" -R ./cnijfilter-common/cnijfilter-3.40/src/bjfoption.c
fprintf(stderr, "Error: invalid printer model name\n");

A bit of googling suggests the "model name" isn't quite what's in the ppd
file...

[nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ grep Name -R ./usr/| grep
ppd | grep Model
./usr/share/ppd/canonmp250.ppd:*ModelName: "Canon MP250 series"

I think this might be where I leave the rabbit hole...



On 20 June 2017 at 20:57, Kirill Elagin  wrote:

> Well, the log you posted is pretty clear on that: `pstocanonij` is calling
> it. Googling `pstocanonij` gives me this:
>
> https://github.com/endlessm/cnijfilter-common/blob/master/
> pstocanonij/filter/pstocanonij.c#L45-L52
>
> and sure enough
>
> https://github.com/endlessm/cnijfilter-common/blob/master/
> pstocanonij/filter/pstocanonij.c#L687-L695
>
> Now, the question is what to do. It looks like the source of `pstocanonij`
> is public (but you‘ll have to check what is this github repository, and
> where does the code come from, to be on the safe side with the licence,
> especially if you want to submit this expression to nixpkgs later). If this
> part of the driver is really opensource, than the answer is obvious, you
> just go there and fix the paths ;).
>
> On Tue, Jun 20, 2017 at 10:33 PM Nawal Husnoo  wrote:
>
>> Ah the lesson is I need to wake up fully before coding! Thank you!
>>
>> Still stuck - so close and yet so far!
>>
>> Error:
>> ==
>>
>> Jun 20 20:17:17 heisenbug cupsd[21991]: pstocanonij: /usr/bin/gs -r600
>> -g4958x7016 -q -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=- -|
>> /usr/bin/cifmp250 --imageres 600 --papersize a4 --media plain --paperload
>> asf --bbox 9,14,586,834 --fit
>> Jun 20 20:17:17 heisenbug cupsd[21991]: /bin/sh: /usr/bin/gs: No such
>> file or directory
>> Jun 20 20:17:17 heisenbug cupsd[21991]: /bin/sh: /usr/bin/cifmp250: No
>> such file or directory
>> Jun 20 20:17:17 heisenbug cupsd[21991]: Sent 0 bytes...
>>
>> Of course, the files /usr/bin/gs and /usr/bin/cifmp250 don't exist, this
>> being nix and all...
>>
>>
>> [nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ which gs
>> /home/nawal/.nix-profile/bin/gs
>>
>> [nawal@heisenbug:~/data/nixos/user/pkgs/canon]$ which cifmp250
>> /home/nawal/.nix-profile/bin/cifmp250
>>
>> Closest thing I found was:
>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/
>> cups/drivers/canon/default.nix
>> https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/
>> cups/drivers/canon/preload.c
>>
>> but it's not clear to me how to port that to my problem... It's not even
>> clear to me who's calling these two binaries, as grepping the deb file
>> contents isn't turning up anything...
>>
>> thanks for any ideas!
>>
>> Nawal
>>
>>
>>
>>
>> default.nix
>> ==
>> { stdenv
>> , pkgs
>> , udev
>> , alsaLib
>> , gtk2-x11
>> , patchelf
>> , binutils
>> , popt
>> , cups
>> , cairo
>> , pango
>> , fontconfig
>> , glib
>> , dpkg
>> , atk
>> , procps
>> , gdk_pixbuf
>> , zlib
>> , libxml2
>> , perl
>> , libtiff
>> , firefox
>> , libX11
>> , libXcursor
>> , libXrandr
>> , libXext
>> , libXinerama
>> , libXrender
>> , libXi
>> , libXfixes
>> , libpng12
>> , pkgconfig
>> }:
>>
>> stdenv.mkDerivation {
>> name = "canon-mp250";
>> src = ./usr;
>> builder = ./builder.sh;
>> buildInputs = [libtiff perl pkgconfig];
>>
>> configurePhase = ''
>> echo "CONFIGURE TIFF ${libtiff.out}/lib/libtiff.so"
>> '';
>>
>> libPath = stdenv.lib.makeLibraryPath [
>> stdenv.cc.cc
>> udev
>> alsaLib
>> gtk2-x11
>> binutils
>> popt
>> cups
>> cairo
>> pango
>> fontconfig
>> glib
>> dpkg
>> atk
>> procps
>> patchelf
>> gdk_pixbuf
>> libxml2
>> libtiff
>> libpng12
>> libX11
>> libXcursor
>> libXrandr
>> libXext
>> libXinerama
>> libXrender
>> libXi
>> libXfixes
>> ];
>>
>> }
>>
>>
>>
>>
>>
>> builder.sh
>> ==
>> source $stdenv/setup
>>
>> mkdir -p $out/
>> cp -r $src/* $out/
>>
>>
>> chmod 777 -R $out/*
>>
>> patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \

Re: [Nix-dev] GCC Cross Compiler Version

2017-06-26 Thread Angelo Bulfone
I eventually solved my problem and realized that I ended up with a
reimplementation of gccCrossStageStatic.

On Wed, Jun 14, 2017 at 11:31 AM John Ericson 
wrote:

> You need to edit gccCrossStageStatic so gcc7, and not gcc is being
> overridden
>
> On Mon, Jun 12, 2017 at 1:56 PM, Angelo Bulfone 
> wrote:
> > Hello,
> >
> > I'm trying to make a nix expression to build bare metal cross compilers
> for
> > operating system development, but I would like to use a target that is
> only
> > available with GCC7. I was able to build a cross compiler with
> > gccCrossStageStatic, but that's restricted to GCC5.
> > The closest I've gotten has been using wrapCCCross with gcc = pkgs.gcc7,
> but
> > then it complains about attribute 'langCC' missing, which appears to be
> an
> > argument to gcc, but is not stored in the set.
> > Does anyone know the best way to make a bare metal cross compiler for a
> > specific gcc version and target?
> >
> > Thank you for any assistance.
> > Angelo
> >
> > ___
> > 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] 5 somewhat related questions

2017-06-26 Thread Klaas van Schelven
Linux & Matt: thanks for these further insights. This has all been very
useful!

On Sun, Jun 25, 2017 at 8:01 AM, Linus  wrote:

> On 24 June 2017 20:07:27 BST, Matt McHenry  wrote:
> >The only major downside of this approach is that I have to always
> >remember to give '-I nixpkgs=...' arguments to all the usual nix
> >commands.  But that's become pretty second nature to me by now.  :)
>
> You could also set NIX_PATH in one of various locations to avoid having to
> specify it on every invocation.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
Klaas van Schelven
+31 6 811 599 10
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 813fea: chromium: 59.0.3071.86 -> 59.0.3071.109

2017-06-26 Thread Nicolas Truessel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 813feae594783fd5b2e43850f6ae250f17dde01e
  
https://github.com/NixOS/nixpkgs/commit/813feae594783fd5b2e43850f6ae250f17dde01e
  Author: Nicolas Truessel 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/applications/networking/browsers/chromium/upstream-info.nix

  Log Message:
  ---
  chromium: 59.0.3071.86 -> 59.0.3071.109


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


[Nix-commits] [NixOS/nixpkgs] ea44ca: security-wrapper: run activation script after spec...

2017-06-26 Thread tv
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ea44ca47f31b4c798e26e4fe074c63920ecb2ba0
  
https://github.com/NixOS/nixpkgs/commit/ea44ca47f31b4c798e26e4fe074c63920ecb2ba0
  Author: tv 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M nixos/modules/security/wrappers/default.nix

  Log Message:
  ---
  security-wrapper: run activation script after specialfs

Ensures that parentWrapperDir exists before it is used.

Closes #26851


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


[Nix-commits] [NixOS/nixpkgs] 55f2e7: microcodeIntel: 20161104 -> 20170511

2017-06-26 Thread Franz Pletz
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 55f2e7894bbae89f9b01f1b51b92fb81c4774a62
  
https://github.com/NixOS/nixpkgs/commit/55f2e7894bbae89f9b01f1b51b92fb81c4774a62
  Author: Gabriel Ebner 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/os-specific/linux/microcode/intel.nix

  Log Message:
  ---
  microcodeIntel: 20161104 -> 20170511

(cherry picked from commit 252e9ec84a7d00f93fa1e1ec4f3f4e706d505f4f)


  Commit: 469fa436c71bff71feb2240a9e2a8b79833c967f
  
https://github.com/NixOS/nixpkgs/commit/469fa436c71bff71feb2240a9e2a8b79833c967f
  Author: Emmanuel Rosa 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/applications/networking/mailreaders/thunderbird/default.nix

  Log Message:
  ---
  thunderbird: 52.2.0 -> 52.2.1

(cherry picked from commit 994998e475f051df664150feaecad72e6cd2c68a)


  Commit: 17e9509d661c111af4f3faf0f5d80e07d52acfac
  
https://github.com/NixOS/nixpkgs/commit/17e9509d661c111af4f3faf0f5d80e07d52acfac
  Author: Franz Pletz 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/os-specific/linux/libcgroup/default.nix

  Log Message:
  ---
  libcgroup: do not set suid bit in nix store

(cherry picked from commit b788956239172eccd3cb07c5a9c9ccd0891627c8)


Compare: https://github.com/NixOS/nixpkgs/compare/5b54e99cea44...17e9509d661c___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] b78895: libcgroup: do not set suid bit in nix store

2017-06-26 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b788956239172eccd3cb07c5a9c9ccd0891627c8
  
https://github.com/NixOS/nixpkgs/commit/b788956239172eccd3cb07c5a9c9ccd0891627c8
  Author: Franz Pletz 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/os-specific/linux/libcgroup/default.nix

  Log Message:
  ---
  libcgroup: do not set suid bit in nix store


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


[Nix-commits] [NixOS/nixpkgs] 358470: nixos/boot/stage-1: fix failing nixos-rebuild swit...

2017-06-26 Thread Christian Albrecht
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 358470763822d490fb36f8e5e3eca6f1e4c8378f
  
https://github.com/NixOS/nixpkgs/commit/358470763822d490fb36f8e5e3eca6f1e4c8378f
  Author: Christian Albrecht 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M nixos/modules/system/boot/stage-1.nix

  Log Message:
  ---
  nixos/boot/stage-1: fix failing nixos-rebuild switch because of blkid output

old version of blkid used to output version information including libblkid 
version
when invoked with --help parameter

new version does not output libblkid version when invoked with --help parameter

fix is to invoke blkid with -V parameter to output version including libblkid 
in both cases


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


[Nix-commits] [NixOS/nixpkgs] 35e571: elasticsearch: 5.4.0 -> 5.4.2

2017-06-26 Thread Bas van Dijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 35e5719fe9ed67b1502b79616c51fd4211e51599
  
https://github.com/NixOS/nixpkgs/commit/35e5719fe9ed67b1502b79616c51fd4211e51599
  Author: Bas van Dijk 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/tools/misc/kibana/5.x.nix
M pkgs/misc/logging/beats/default.nix
M pkgs/servers/search/elasticsearch/5.x.nix
M pkgs/tools/misc/logstash/5.x.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  elasticsearch: 5.4.0 -> 5.4.2


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


[Nix-commits] [NixOS/nixpkgs] 4c0203: ocamlPackages.lablgtk_2_14: disable for OCaml ≥ 4....

2017-06-26 Thread Vincent Laporte
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4c0203b094c5a4d334daaf4ab8c6dc98c67fa8d0
  
https://github.com/NixOS/nixpkgs/commit/4c0203b094c5a4d334daaf4ab8c6dc98c67fa8d0
  Author: Vincent Laporte 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/ocaml-modules/lablgtk/2.14.0.nix

  Log Message:
  ---
  ocamlPackages.lablgtk_2_14: disable for OCaml ≥ 4.04


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


[Nix-commits] [NixOS/nixpkgs] 7df83a: keepassx-community: 2.1.4 -> 2.2.0

2017-06-26 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7df83abe85490525241f1c37565e1d9a8a8b0c3f
  
https://github.com/NixOS/nixpkgs/commit/7df83abe85490525241f1c37565e1d9a8a8b0c3f
  Author: Jörg Thalheim 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/applications/misc/keepassx/community.nix

  Log Message:
  ---
  keepassx-community: 2.1.4 -> 2.2.0


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


[Nix-commits] [NixOS/nixpkgs] 8d8fdc: ocamlPackages.lablgtk: don’t strip

2017-06-26 Thread Vincent Laporte
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8d8fdce611f973d2364281aaa2d7ff492a291109
  
https://github.com/NixOS/nixpkgs/commit/8d8fdce611f973d2364281aaa2d7ff492a291109
  Author: Vincent Laporte 
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
M pkgs/development/ocaml-modules/lablgtk/default.nix

  Log Message:
  ---
  ocamlPackages.lablgtk: don’t strip


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