[Nix-commits] [NixOS/nixpkgs] 01ca91: haskell: distribute servant-{elm, docs, auth, auth-se...

2017-02-07 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 01ca916411fca7947be55f549ea644c9d0688e9a
  
https://github.com/NixOS/nixpkgs/commit/01ca916411fca7947be55f549ea644c9d0688e9a
  Author: Domen Kožar 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-hackage2nix.yaml

  Log Message:
  ---
  haskell: distribute servant-{elm,docs,auth,auth-server} and logging-effect


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


[Nix-commits] [NixOS/nixpkgs] 4dcc2e: virtualbox: fix the build with toString

2017-02-07 Thread Domen Kožar
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4dcc2e4b1e6e73e9eb465b21af7c7c8c476f8b6b
  
https://github.com/NixOS/nixpkgs/commit/4dcc2e4b1e6e73e9eb465b21af7c7c8c476f8b6b
  Author: Benjamin Staffin 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/applications/virtualization/virtualbox/default.nix

  Log Message:
  ---
  virtualbox: fix the build with toString


  Commit: a61f7eb122a20c063a4fec7699db9a4a94919f77
  
https://github.com/NixOS/nixpkgs/commit/a61f7eb122a20c063a4fec7699db9a4a94919f77
  Author: Domen Kožar 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
M pkgs/applications/virtualization/virtualbox/default.nix

  Log Message:
  ---
  Merge pull request #22542 from benley/fix-virtualbox

virtualbox: fix the build with toString


Compare: https://github.com/NixOS/nixpkgs/compare/4f876a4a47fa...a61f7eb122a2___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] fed923: chromium: 55.0.2883.87 -> 56.0.2924.87

2017-02-07 Thread Graham Christensen
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fed923eec7559cc592aa202d0a3541c112465bef
  
https://github.com/NixOS/nixpkgs/commit/fed923eec7559cc592aa202d0a3541c112465bef
  Author: Herwig Hochleitner 
  Date:   2017-02-06 (Mon, 06 Feb 2017)

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

  Log Message:
  ---
  chromium: 55.0.2883.87 -> 56.0.2924.87


  Commit: 4f876a4a47fa15692659a6a0ca4044f91449d3eb
  
https://github.com/NixOS/nixpkgs/commit/4f876a4a47fa15692659a6a0ca4044f91449d3eb
  Author: Graham Christensen 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  Merge pull request #22484 from bendlas/stable

chromium: 55.0.2883.87 -> 56.0.2924.87 [nixos-stable]


Compare: https://github.com/NixOS/nixpkgs/compare/98f8cfbb7e42...4f876a4a47fa___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 82a6c8: fpm: fix vulnerable dependency

2017-02-07 Thread Joachim Fasting
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 82a6c831f68e98951f1f7ad6dd815d0cec258645
  
https://github.com/NixOS/nixpkgs/commit/82a6c831f68e98951f1f7ad6dd815d0cec258645
  Author: Peter Hoeg 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
M pkgs/tools/package-management/fpm/Gemfile
M pkgs/tools/package-management/fpm/Gemfile.lock
M pkgs/tools/package-management/fpm/gemset.nix

  Log Message:
  ---
  fpm: fix vulnerable dependency

(cherry picked from commit 4494720241df849ef121510a1bba74a20ddae52b)

Closes https://github.com/NixOS/nixpkgs/pull/22511


  Commit: fc6a87e1fc80dfc680470da59cde0d1316de7d0b
  
https://github.com/NixOS/nixpkgs/commit/fc6a87e1fc80dfc680470da59cde0d1316de7d0b
  Author: Joachim Fasting 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

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

  Log Message:
  ---
  grsecurity: 4.8.17-201701151620 -> 4.9.8-201702060653

The first release in the 4.9 branch.

I've also migrated my update scripts to SHA-512 so that'll
be the hash of choice for grsec packages going forward.

(cherry picked from commit 0d422c5db5aba204b6886fe199eda1834bbc97a1)


  Commit: 98f8cfbb7e429636e93065d95e38a4b2130a4cf7
  
https://github.com/NixOS/nixpkgs/commit/98f8cfbb7e429636e93065d95e38a4b2130a4cf7
  Author: Joachim Fasting 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

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

  Log Message:
  ---
  grsecurity: 4.9.8-201702060653 -> 201702071801

(cherry picked from commit bd46a375df572c838d6721ef0365e76227a735c7)


Compare: https://github.com/NixOS/nixpkgs/compare/d2cd8a07cfbd...98f8cfbb7e42___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d2cd8a: thunderbird-bin: 45.7.0 -> 45.7.1

2017-02-07 Thread taku0
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d2cd8a07cfbd6e7c57a226c0798cde71304a1095
  
https://github.com/NixOS/nixpkgs/commit/d2cd8a07cfbd6e7c57a226c0798cde71304a1095
  Author: taku0 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  thunderbird-bin: 45.7.0 -> 45.7.1

(cherry picked from commit 764b1d19f9bf9f70fa390b74a657b7e4a928c572)


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


[Nix-commits] [NixOS/nixpkgs] 962c44: redshift-plasma-applet: init at 1.0.17

2017-02-07 Thread Benjamin Staffin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 962c4430baad2ea72dfae26b862247bacb3caa28
  
https://github.com/NixOS/nixpkgs/commit/962c4430baad2ea72dfae26b862247bacb3caa28
  Author: Benjamin Staffin 
  Date:   2017-02-05 (Sun, 05 Feb 2017)

  Changed paths:
A pkgs/applications/misc/redshift-plasma-applet/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  redshift-plasma-applet: init at 1.0.17


  Commit: 9dc2cb2e84069041eb4876d1eb44f5afbac46491
  
https://github.com/NixOS/nixpkgs/commit/9dc2cb2e84069041eb4876d1eb44f5afbac46491
  Author: Benjamin Staffin 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
A pkgs/applications/misc/redshift-plasma-applet/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #22476 from benley/redshift-kde

redshift-plasma-applet: init at 1.0.17


Compare: https://github.com/NixOS/nixpkgs/compare/0f948f5cdd2e...9dc2cb2e8406___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 764b1d: thunderbird-bin: 45.7.0 -> 45.7.1

2017-02-07 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 764b1d19f9bf9f70fa390b74a657b7e4a928c572
  
https://github.com/NixOS/nixpkgs/commit/764b1d19f9bf9f70fa390b74a657b7e4a928c572
  Author: taku0 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

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

  Log Message:
  ---
  thunderbird-bin: 45.7.0 -> 45.7.1


  Commit: 0f948f5cdd2e3a0b9681f708fe68c7e1535d8d88
  
https://github.com/NixOS/nixpkgs/commit/0f948f5cdd2e3a0b9681f708fe68c7e1535d8d88
  Author: Graham Christensen 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  Merge pull request #22538 from taku0/thunderbird-bin-45.7.1

thunderbird, thunderbird-bin: 45.7.0 -> 45.7.1


Compare: https://github.com/NixOS/nixpkgs/compare/bd46a375df57...0f948f5cdd2e___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] bd46a3: grsecurity: 4.9.8-201702060653 -> 201702071801

2017-02-07 Thread Joachim Fasting
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bd46a375df572c838d6721ef0365e76227a735c7
  
https://github.com/NixOS/nixpkgs/commit/bd46a375df572c838d6721ef0365e76227a735c7
  Author: Joachim Fasting 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

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

  Log Message:
  ---
  grsecurity: 4.9.8-201702060653 -> 201702071801


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


[Nix-commits] [NixOS/nixpkgs]

2017-02-07 Thread vrthra
  Branch: refs/heads/jimtcl-0.77
  Home:   https://github.com/NixOS/nixpkgs
___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 754fbf: jimtcl: 0.76 -> 0.77

2017-02-07 Thread Rahul Gopinath
  Branch: refs/heads/jimtcl-0.77
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 754fbf5c6731729675a44e1ac36a1543ce1326bf
  
https://github.com/NixOS/nixpkgs/commit/754fbf5c6731729675a44e1ac36a1543ce1326bf
  Author: Rahul Gopinath 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/interpreters/jimtcl/default.nix

  Log Message:
  ---
  jimtcl: 0.76 -> 0.77


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


[Nix-commits] [NixOS/nixpkgs] c48c2f: scudcloud: 1.38 -> 1.40

2017-02-07 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c48c2fc1472006776b75569195901ea33d5e7141
  
https://github.com/NixOS/nixpkgs/commit/c48c2fc1472006776b75569195901ea33d5e7141
  Author: Mikhail Volkhov 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  scudcloud: 1.38 -> 1.40


  Commit: 1328b9faf052f9e837075589fbcd1ec8f4d7f263
  
https://github.com/NixOS/nixpkgs/commit/1328b9faf052f9e837075589fbcd1ec8f4d7f263
  Author: Franz Pletz 
  Date:   2017-02-08 (Wed, 08 Feb 2017)

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

  Log Message:
  ---
  Merge pull request #22522 from volhovM/update/scudcloud-1.40

scudcloud: 1.38 -> 1.40


Compare: https://github.com/NixOS/nixpkgs/compare/98a6cc0d1cf6...1328b9faf052___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] -realise: mounting /proc: Operation not permitted

2017-02-07 Thread Nikolay Amiantov

Hi,

On 02/07/2017 02:04 PM, Marc Weber wrote:

What might be causing this?

Nix-daemon nix version is the same which gets activated by the command
below:

  
/nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store
 --realise 
/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv

these derivations will be built:
   
/nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv
   /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv
   /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv
building path(s) 
‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’
error: while setting up the build environment: mounting /proc: Operation not 
permitted


It may be caused by https://github.com/NixOS/nix/issues/1112. For 
example, I have:


error: while setting up the build environment: unable to make filesystem 
‘/run/user/1000/gvfs’ private: Permission denied


These are not completely same errors though, so not sure. I workaround 
it by unmounting this filesystem, but obviously it's a bad idea to do 
this with `/proc`...




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


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


[Nix-commits] [NixOS/nixpkgs] 14ca10: jwm: 1575 -> 1580

2017-02-07 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 14ca10f8c551d9fb6b4687bd007c77d37eb5e484
  
https://github.com/NixOS/nixpkgs/commit/14ca10f8c551d9fb6b4687bd007c77d37eb5e484
  Author: romildo 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/applications/window-managers/jwm/default.nix

  Log Message:
  ---
  jwm: 1575 -> 1580


  Commit: 98a6cc0d1cf6db376cfb6076a54217aab6a80479
  
https://github.com/NixOS/nixpkgs/commit/98a6cc0d1cf6db376cfb6076a54217aab6a80479
  Author: Joachim F 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/applications/window-managers/jwm/default.nix

  Log Message:
  ---
  Merge pull request #22530 from romildo/upd.jwm

jwm: 1575 -> 1580


Compare: https://github.com/NixOS/nixpkgs/compare/626540e32eb9...98a6cc0d1cf6___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Roger Qiu
When I exported a docker image to take look at what it is, it was also just
a compressed set of tar'ed file trees.
On 08/02/2017 7:46 AM, "Arnold Krille"  wrote:

> On Mon, 6 Feb 2017 18:33:19 -0600 Matthew Bauer 
> wrote:
> > GitHub page: https://github.com/matthewbauer/nix-bundle
> >
> > I just wanted to post about a little project I've been working on. I'm
> > calling it "nix-bundle".
> >
> > Basically, what it does is: take a Nix closure, compress it into a
> > tarball, and turn that tarball into an executable using "Arx". The
> > final result looks like a plain shell script, but actually has a
> > tarball closure appended to it. When you run that script, Arx will
> > execute "nix-user-chroot" (which is included in the closure) which
> > will setup a /nix/ directory, then execute a target executable. All of
> > this should work "out of the box" for any Nix derivation folder with a
> > valid executable.
> >
> > For example, to generate a "hello" bundle:
> >
> > ./nix-bundle.sh hello /bin/hello
> >
> > "hello" specifies pkgs.hello and /bin/hello specifies the file
> > ${pkgs.helloi}/bin/hello to be executed. The output file will just be
> > called "hello".
> >
> > The result is a "bundle" that can run without Nix being installed! No
> > external dependencies are needed because they are all contained within
> > the Nix closure.
>
> So instead of pushing docker images around to bring an app into
> non-nix-production, we can just push around a tar'ed nix tree? Nice.
>
> - Arnold
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] e3fce5: nixos.chrony: add extraFlags config option

2017-02-07 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e3fce56047ebb9403d212834510c2b4835f5ef37
  
https://github.com/NixOS/nixpkgs/commit/e3fce56047ebb9403d212834510c2b4835f5ef37
  Author: Ricardo M. Correia 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/networking/chrony.nix

  Log Message:
  ---
  nixos.chrony: add extraFlags config option


  Commit: 9293f86bf212fe3f713f45252bcb708803c82c3b
  
https://github.com/NixOS/nixpkgs/commit/9293f86bf212fe3f713f45252bcb708803c82c3b
  Author: Ricardo M. Correia 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/networking/chrony.nix

  Log Message:
  ---
  nixos.chrony: remove generatecommandkey option

It's deprecated and no longer used.


  Commit: 626540e32eb9fc09ebcb4e5d24b8844d11a0437b
  
https://github.com/NixOS/nixpkgs/commit/626540e32eb9fc09ebcb4e5d24b8844d11a0437b
  Author: Franz Pletz 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/networking/chrony.nix

  Log Message:
  ---
  Merge pull request #22524 from wizeman/u/chrony-impr

nixos.chrony: add extraFlags config option


Compare: https://github.com/NixOS/nixpkgs/compare/eaba666273c2...626540e32eb9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Arnold Krille
On Mon, 6 Feb 2017 18:33:19 -0600 Matthew Bauer 
wrote:
> GitHub page: https://github.com/matthewbauer/nix-bundle
> 
> I just wanted to post about a little project I've been working on. I'm
> calling it "nix-bundle".
> 
> Basically, what it does is: take a Nix closure, compress it into a
> tarball, and turn that tarball into an executable using "Arx". The
> final result looks like a plain shell script, but actually has a
> tarball closure appended to it. When you run that script, Arx will
> execute "nix-user-chroot" (which is included in the closure) which
> will setup a /nix/ directory, then execute a target executable. All of
> this should work "out of the box" for any Nix derivation folder with a
> valid executable.
> 
> For example, to generate a "hello" bundle:
> 
> ./nix-bundle.sh hello /bin/hello
> 
> "hello" specifies pkgs.hello and /bin/hello specifies the file
> ${pkgs.helloi}/bin/hello to be executed. The output file will just be
> called "hello".
> 
> The result is a "bundle" that can run without Nix being installed! No
> external dependencies are needed because they are all contained within
> the Nix closure.

So instead of pushing docker images around to bring an app into
non-nix-production, we can just push around a tar'ed nix tree? Nice.

- Arnold


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nix] bfa41e: nix-copy-closure: Implement in C++.

2017-02-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: bfa41eb6714a7e7c3956389ee063e898bd1f37ff
  
https://github.com/NixOS/nix/commit/bfa41eb6714a7e7c3956389ee063e898bd1f37ff
  Author: Shea Levy 
  Date:   2017-01-20 (Fri, 20 Jan 2017)

  Changed paths:
M .gitignore
M Makefile
M scripts/local.mk
R scripts/nix-copy-closure.in
M src/build-remote/build-remote.cc
M src/build-remote/local.mk
M src/libstore/ssh-store.cc
M src/libstore/store-api.cc
M src/libstore/store-api.hh
A src/nix-copy-closure/local.mk
A src/nix-copy-closure/nix-copy-closure.cc

  Log Message:
  ---
  nix-copy-closure: Implement in C++.

Tests fail currently because the database is not given proper hashes in the VM


  Commit: 27dc76c1a5dbe654465245ff5f6bc22e2c8902da
  
https://github.com/NixOS/nix/commit/27dc76c1a5dbe654465245ff5f6bc22e2c8902da
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M .gitignore
M local.mk
R scripts/build-remote.pl.in
M scripts/local.mk

  Log Message:
  ---
  Remove build-remote.pl.in


  Commit: c54814b175793f0e7a53fdeba55d1149342ec82a
  
https://github.com/NixOS/nix/commit/c54814b175793f0e7a53fdeba55d1149342ec82a
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M .gitignore
M Makefile
R src/download-via-ssh/download-via-ssh.cc
R src/download-via-ssh/local.mk

  Log Message:
  ---
  Remove download-via-ssh

Replaced by SSHStore.


  Commit: 612aeb2df5e02000a02def849b94b8342385974e
  
https://github.com/NixOS/nix/commit/612aeb2df5e02000a02def849b94b8342385974e
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M src/libstore/binary-cache-store.hh

  Log Message:
  ---
  Cleanup


  Commit: 7a58ad0ef5d32f130163276d49f962b4be92e6fd
  
https://github.com/NixOS/nix/commit/7a58ad0ef5d32f130163276d49f962b4be92e6fd
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  SSHStore: uri -> host


  Commit: ce4d8e3ef83505560db787876beb30d20ca6faf2
  
https://github.com/NixOS/nix/commit/ce4d8e3ef83505560db787876beb30d20ca6faf2
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  Remove unnecessary call to topoSortPaths()

exportPaths() already does this.


  Commit: ddb5577f2eb158279ee40219de409dcf1230aacc
  
https://github.com/NixOS/nix/commit/ddb5577f2eb158279ee40219de409dcf1230aacc
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M src/libutil/serialise.hh
M src/nix-daemon/nix-daemon.cc

  Log Message:
  ---
  Move SavingSourceAdapter to serialise.hh


  Commit: fa07558a069b974769e22ac944cfe21a69fb4485
  
https://github.com/NixOS/nix/commit/fa07558a069b974769e22ac944cfe21a69fb4485
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M src/libstore/binary-cache-store.hh
A src/libstore/serve-protocol.hh
M src/libstore/store-api.cc
M src/libstore/store-api.hh
R src/nix-store/serve-protocol.hh

  Log Message:
  ---
  Provide default implementations for a couple of Store methods


  Commit: f38224e924bc38ea2b94930f8d12e29c7c8df7a8
  
https://github.com/NixOS/nix/commit/f38224e924bc38ea2b94930f8d12e29c7c8df7a8
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  copyStorePath(): Don't require signatures for "trusted" stores

For example, SSH stores could be trusted.


  Commit: caa5793b4a74049ee37dd88eb1c5b785456ce40d
  
https://github.com/NixOS/nix/commit/caa5793b4a74049ee37dd88eb1c5b785456ce40d
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
A src/libstore/legacy-ssh-store.cc
M src/libstore/remote-store.cc

  Log Message:
  ---
  Add a LegacySSHStore that uses nix-store --serve

This is useful for nix-copy-closure.


  Commit: 6f4682ad36c97355fbb7ba86a9ce265c22102055
  
https://github.com/NixOS/nix/commit/6f4682ad36c97355fbb7ba86a9ce265c22102055
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M .gitignore
M Makefile
M scripts/local.mk
R scripts/nix-copy-closure.in
M src/build-remote/build-remote.cc
M src/build-remote/local.mk
M src/libstore/ssh-store.cc
M src/libstore/store-api.cc
M src/libstore/store-api.hh
A src/nix-copy-closure/local.mk
A src/nix-copy-closure/nix-copy-closure.cc

  Log Message:

[Nix-commits] [NixOS/nixpkgs] eaba66: luaPackages.luafilesystem: fix build on darwin

2017-02-07 Thread Vincent Laporte
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: eaba666273c285ec2d3702c8e627a9035683e268
  
https://github.com/NixOS/nixpkgs/commit/eaba666273c285ec2d3702c8e627a9035683e268
  Author: Vincent Laporte 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  luaPackages.luafilesystem: fix build on darwin


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


Re: [Nix-dev] help with patch for screen locking

2017-02-07 Thread zimbatm
Regarding the suid bit, why don't we let the program decide what suid
should be applied to it's programs?
https://github.com/NixOS/nixpkgs/pull/22532

On Tue, 7 Feb 2017 at 19:38  wrote:

> On 2017-02-07 19:50, Tomasz Czyż wrote:
> > David,
> >
> > I assume you are not talking about
> > https://github.com/NixOS/nixpkgs/issues/16485 [2]?
>
> In fact I'm talking about https://github.com/NixOS/nixpkgs/issues/16845
> :-) my mistake
>
> > Usually I'm using this kind of stuff as part of user session/desktop
> > environment.
>
> Exactly, the actual screenlocker would be installed as a system package,
> I thought it was okay because I noticed something like that was already
> present in xfce.nix, but maybe we can adapt xfce4-session to accept a
> new build input and change it so that it calls the screenlocker in the
> nix store instead of calling the system package.
>
> With regards to slock: maybe we can ask the user to explicitly enable
> the suid like we do when a user tries to install a non-free package?
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 3a526d: libgdiplus: fix install on darwin

2017-02-07 Thread Vincent Laporte
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3a526deaeeb7a83dae6e4a3c2a4cddcb776b3985
  
https://github.com/NixOS/nixpkgs/commit/3a526deaeeb7a83dae6e4a3c2a4cddcb776b3985
  Author: Vincent Laporte 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  libgdiplus: fix install on darwin


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


[Nix-commits] [NixOS/nixpkgs] 47c166: amdgpu-pro: 16.50 -> 16.60

2017-02-07 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 47c166fe0525e06ef833e15b9f543a0f3f342d7d
  
https://github.com/NixOS/nixpkgs/commit/47c166fe0525e06ef833e15b9f543a0f3f342d7d
  Author: David McFarland 
  Date:   2017-02-06 (Mon, 06 Feb 2017)

  Changed paths:
M pkgs/os-specific/linux/amdgpu-pro/default.nix
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0001-Fix-kernel-module-install-location.patch
A pkgs/os-specific/linux/amdgpu-pro/patches/0001-disable-firmware-copy.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0002-Add-Gentoo-as-build-option.patch
A pkgs/os-specific/linux/amdgpu-pro/patches/0002-linux-4.9-fixes.patch
A 
pkgs/os-specific/linux/amdgpu-pro/patches/0003-Change-seq_printf-format-for-64-bit-context.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0003-Remove-extra-parameter-from-ttm_bo_reserve-for-4.7.0.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0004-Change-seq_printf-format-for-64-bit-context.patch
A 
pkgs/os-specific/linux/amdgpu-pro/patches/0004-fix-warnings-for-Werror.patch
R pkgs/os-specific/linux/amdgpu-pro/patches/0005-Fix-vblank-calls.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0006-Fix-crtc_gamma-functions-for-4.8.0.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0007-Fix-drm_atomic_helper_swap_state-for-4.8.0.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0008-Add-extra-flag-to-ttm_bo_move_ttm-for-4.8.0-rc2.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0009-Remove-dependency-on-System.map.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0010-disable-dal-by-default.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0011-kcl-fixes-for-16.50-linux-4.8.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0012-use-kernel-fence_array-in-4.8.patch

  Log Message:
  ---
  amdgpu-pro: 16.50 -> 16.60


  Commit: 905627c7c5d25f6006ff3d757e8800958fc00e14
  
https://github.com/NixOS/nixpkgs/commit/905627c7c5d25f6006ff3d757e8800958fc00e14
  Author: David McFarland 
  Date:   2017-02-06 (Mon, 06 Feb 2017)

  Changed paths:
M nixos/modules/hardware/video/amdgpu-pro.nix
M nixos/modules/hardware/video/ati.nix
M pkgs/servers/x11/xorg/overrides.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  xorg-server: fglrxCompat -> abiCompat

Allows it to be used for fglrx (1.17) and amdgpu-pro (1.18)


  Commit: ce9d30e7349d0f712ed4ce9e6a20102490d364e9
  
https://github.com/NixOS/nixpkgs/commit/ce9d30e7349d0f712ed4ce9e6a20102490d364e9
  Author: Vladimír Čunát 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/hardware/video/amdgpu-pro.nix
M nixos/modules/hardware/video/ati.nix
M pkgs/os-specific/linux/amdgpu-pro/default.nix
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0001-Fix-kernel-module-install-location.patch
A pkgs/os-specific/linux/amdgpu-pro/patches/0001-disable-firmware-copy.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0002-Add-Gentoo-as-build-option.patch
A pkgs/os-specific/linux/amdgpu-pro/patches/0002-linux-4.9-fixes.patch
A 
pkgs/os-specific/linux/amdgpu-pro/patches/0003-Change-seq_printf-format-for-64-bit-context.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0003-Remove-extra-parameter-from-ttm_bo_reserve-for-4.7.0.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0004-Change-seq_printf-format-for-64-bit-context.patch
A 
pkgs/os-specific/linux/amdgpu-pro/patches/0004-fix-warnings-for-Werror.patch
R pkgs/os-specific/linux/amdgpu-pro/patches/0005-Fix-vblank-calls.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0006-Fix-crtc_gamma-functions-for-4.8.0.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0007-Fix-drm_atomic_helper_swap_state-for-4.8.0.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0008-Add-extra-flag-to-ttm_bo_move_ttm-for-4.8.0-rc2.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0009-Remove-dependency-on-System.map.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0010-disable-dal-by-default.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0011-kcl-fixes-for-16.50-linux-4.8.patch
R 
pkgs/os-specific/linux/amdgpu-pro/patches/0012-use-kernel-fence_array-in-4.8.patch
M pkgs/servers/x11/xorg/overrides.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge #22241: amdgpu-pro: 16.50 -> 16.60


Compare: https://github.com/NixOS/nixpkgs/compare/11621b9ec042...ce9d30e7349d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] help with patch for screen locking

2017-02-07 Thread david

On 2017-02-07 19:50, Tomasz Czyż wrote:

David,

I assume you are not talking about
https://github.com/NixOS/nixpkgs/issues/16485 [2]?


In fact I'm talking about https://github.com/NixOS/nixpkgs/issues/16845 
:-) my mistake



Usually I'm using this kind of stuff as part of user session/desktop
environment.


Exactly, the actual screenlocker would be installed as a system package, 
I thought it was okay because I noticed something like that was already 
present in xfce.nix, but maybe we can adapt xfce4-session to accept a 
new build input and change it so that it calls the screenlocker in the 
nix store instead of calling the system package.


With regards to slock: maybe we can ask the user to explicitly enable 
the suid like we do when a user tries to install a non-free package?

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


[Nix-commits] [NixOS/nixpkgs] 5a8405: gnome-vfs: Drop unused Samba dependency

2017-02-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5a84059c610b61a5d7ad98ef57f2e7a528292afc
  
https://github.com/NixOS/nixpkgs/commit/5a84059c610b61a5d7ad98ef57f2e7a528292afc
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix

  Log Message:
  ---
  gnome-vfs: Drop unused Samba dependency

It does not appear in the runtime closure so let's ditch it.


  Commit: 11621b9ec042cf5dc022ce9bc91624b62e0d874a
  
https://github.com/NixOS/nixpkgs/commit/11621b9ec042cf5dc022ce9bc91624b62e0d874a
  Author: Eelco Dolstra 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/build-support/fetchurl/mirrors.nix

  Log Message:
  ---
  samba: Fix URL

Fixes #22527.


Compare: https://github.com/NixOS/nixpkgs/compare/97bf0637d5be...11621b9ec042___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 97bf06: pants: init at 1.2.1

2017-02-07 Thread Dan Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 97bf0637d5bec8d1fe7a9b0b5a220528afbac97c
  
https://github.com/NixOS/nixpkgs/commit/97bf0637d5bec8d1fe7a9b0b5a220528afbac97c
  Author: Dan Peebles 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  pants: init at 1.2.1

This will need more patching to work properly (especially for python
builds), but I've been able to convince it to build some simple java and
scala projects in its current form so I figured I'd spread it.


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


Re: [Nix-dev] help with patch for screen locking

2017-02-07 Thread Tomasz Czyż
David,

I assume you are not talking about
https://github.com/NixOS/nixpkgs/issues/16485?

Usually I'm using this kind of stuff as part of user session/desktop
environment. Which means that xfce-session or gnome-session or whatever is
starting all those for user.

Do we really need to start is outside of user session? Does it break any
existing user sessions?

2017-02-07 18:36 GMT+00:00 zimbatm :

> As a user I would expect slock to be installed and added to the suid list
> if I selected it as my screensaver. That way I can also invoke it manually
> in cases where I want to lock the screen manually.
>
> On Mon, 6 Feb 2017, 23:51 ,  wrote:
>
>> Hi!
>> I am making a patch to fix issue #16485 but I have encountered an issue.
>>
>> I added an option called screenLock to
>> services.xserver.desktopManager.xfce that can take only "xscreensaver"
>> "xlockmore" "slock" "gnome-screensaver" as values but:
>>
>> - gnome-screensaver seems to not exist anymore, at least not on nixos,
>> so I removed the choice
>> - slock needs suid to lock the screen, as explained in the wiki too, so
>> I don't know if with this patch I should install slock and also set it
>> suid, or if it's better to leave the choice out, or if the user that
>> puts screenLock = "slock" should be presented an error in case slock is
>> not set suid by the user themselves.
>>
>>
>> Thanks for your help
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
Tomasz Czyż
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] help with patch for screen locking

2017-02-07 Thread zimbatm
As a user I would expect slock to be installed and added to the suid list
if I selected it as my screensaver. That way I can also invoke it manually
in cases where I want to lock the screen manually.

On Mon, 6 Feb 2017, 23:51 ,  wrote:

> Hi!
> I am making a patch to fix issue #16485 but I have encountered an issue.
>
> I added an option called screenLock to
> services.xserver.desktopManager.xfce that can take only "xscreensaver"
> "xlockmore" "slock" "gnome-screensaver" as values but:
>
> - gnome-screensaver seems to not exist anymore, at least not on nixos,
> so I removed the choice
> - slock needs suid to lock the screen, as explained in the wiki too, so
> I don't know if with this patch I should install slock and also set it
> suid, or if it's better to leave the choice out, or if the user that
> puts screenLock = "slock" should be presented an error in case slock is
> not set suid by the user themselves.
>
>
> Thanks for your help
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] bfd7fe: nixos: fix taskserver module to evaluate properly ...

2017-02-07 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bfd7fe8ba5b1b3ae5015f23bcb3ccd64bb708836
  
https://github.com/NixOS/nixpkgs/commit/bfd7fe8ba5b1b3ae5015f23bcb3ccd64bb708836
  Author: Peter Simons 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/misc/taskserver/default.nix

  Log Message:
  ---
  nixos: fix taskserver module to evaluate properly when keys are managed 
manually


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


[Nix-commits] [NixOS/nixpkgs] af4e6f: nixos.chrony: pass config file directly to daemon

2017-02-07 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: af4e6f155e29df6a8b4c938f0e79eb7be706f447
  
https://github.com/NixOS/nixpkgs/commit/af4e6f155e29df6a8b4c938f0e79eb7be706f447
  Author: Ricardo M. Correia 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/networking/chrony.nix

  Log Message:
  ---
  nixos.chrony: pass config file directly to daemon

This fixes an issue where `nixops deploy` wouldn't restart the chrony
service when the chrony configuration changed, because it wouldn't
detect that `/etc/chrony.conf` was a dependency of the chrony service.


  Commit: 3aff6c07ab2909ba5006d3258d99cb105a45a17b
  
https://github.com/NixOS/nixpkgs/commit/3aff6c07ab2909ba5006d3258d99cb105a45a17b
  Author: Jörg Thalheim 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/networking/chrony.nix

  Log Message:
  ---
  Merge pull request #22518 from wizeman/u/fix-chrony-conf

nixos.chrony: pass config file directly to daemon


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


[Nix-commits] [NixOS/nixpkgs] 8dd90a: autorevision: use sed word delimiters for better p...

2017-02-07 Thread Bjørn Forsman
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8dd90abc1763a50bcb2372468e1bb6f074433077
  
https://github.com/NixOS/nixpkgs/commit/8dd90abc1763a50bcb2372468e1bb6f074433077
  Author: Bjørn Forsman 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  autorevision: use sed word delimiters for better precision

Fixes wrongly replaced 'cat' in help text:

$ autorevision -h
usage: autorevision {-t output-type | -s symbol} [-o cache-file [-f] ] [-e 
name] [-U] [-V]
Options include:
-t output-type  = specify output type
-s symbol   = specify symbol output
-o cache-file   = specify cache file 
lo/nix/store/1rzzq2wdn5vfgbp5y9613jpdkf8i9ag6-coreutils-8.26/bin/cation
...

(Also replace all occurences per line, in case that should occur.)


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


[Nix-commits] [NixOS/nixpkgs] 462872: autorevision: specify full paths to 'sed' and 'tee...

2017-02-07 Thread Bjørn Forsman
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4628724469bf987adfdd49f4173e299128d859d9
  
https://github.com/NixOS/nixpkgs/commit/4628724469bf987adfdd49f4173e299128d859d9
  Author: Bjørn Forsman 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  autorevision: specify full paths to 'sed' and 'tee'


  Commit: 4853900dd3cf1908e92a6287a500368ed4752ef1
  
https://github.com/NixOS/nixpkgs/commit/4853900dd3cf1908e92a6287a500368ed4752ef1
  Author: Bjørn Forsman 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  autorevision: 1.14 -> 1.20


Compare: https://github.com/NixOS/nixpkgs/compare/e362a3d5c94b...4853900dd3cf___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] Rust wants to integrate better in build systems

2017-02-07 Thread Maarten Hoogendoorn
Hi,

I would like to point the people that manage the rust compiler in nixpkgs
to a discussion on the roadmap for rust [1].

They are also discussing Bazel, a build tool from google that has some
similarities to Nix.

[1] https://github.com/rust-lang/rust-roadmap/issues/12
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Matthew Bauer
> Any chance this could be combined with lethalman's work on turning
> derivations into docker containers?

Do you have a link to this project? All I can find is this blog post:
http://lethalman.blogspot.com/2016/04/cheap-docker-images-with-nix_15.html

We can get most of the advantages of the container features of Docker
using just cgroups/namespaces. The main advantage of using Docker is
that lots of different systems support it. The Open Container standard
might be an easier way to go: it's just a folder with a /config.json
file:
https://github.com/opencontainers/runtime-spec

On Tue, Feb 7, 2017 at 8:32 AM, Peter Hoeg  wrote:
> Nice work Matthew!
>
>>> I would vote for mirroring this tool in nixos github namespace (or even
>>> trying to make this project official one) as it can have big impact of
>>> propagating/implementing nix ideas into environments where it's not
>>> straight forward to use it.
>
>
> Any chance this could be combined with lethalman's work on turning
> derivations into docker containers? There seems to be a fair amount of
> overlap and having a generic mechanism to create a runable closure means
> we could relatively easily support the containerization mechanism and/or
> application distribution format of the day.
>
> --
> Regards,
> Peter
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] PCI Expresscard not working under NixOS

2017-02-07 Thread David Izquierdo
And while you're at it, you should probably check `lspci -k` on the 
working system to see what kernel module it uses, in case it's missing 
from NixOS.



On 07/02/17 12:26, Tomasz Czyż wrote:
What about doing quick check and running ubuntu from livecd/usb to 
confirm if card still is alive?


2017-02-07 2:23 GMT+00:00 Roger Qiu >:


It might be a missing driver. Ultimately is the kernel, its
drivers and modules that deal with hardware and IO. You might need
to google around and ask specifically for the given pci expess
hardware serial code and model.

On 07/02/2017 9:39 AM, "Christoph-Simon Senjak"
> wrote:

Hello.

On 06.02.2017 06:36, Roger Qiu wrote:

When you plug something in, the kernel log should show
something. If it
doesn't then the kernel doesn't know about it, nothing in
the userspace
can help.


How can that be?

Make sure you're running those commands before you plug
the usb in.

>

Also I used to have faulty usb cables, but even then the
kernel showed
something. Usually repeating messages because the usb
cable kept
dropping out and coming back in.

What happens if you plug those devices directly?


The kernel does not notice the expresscard itself when I plug
it in. My usb hard disk works perfectly under the other ports.

Ah, and fun fact: When plugging in the expresscard, I can
reproducibly scramble my sound output for a second (the music
repeats for a second after I plug it in). Still, the kernel
says nothing. And no device nodes appear.


On 06/02/2017 2:55 PM, "Christoph-Simon Senjak"

>> wrote:

Hi.

On 06.02.2017 04:46, Peter Hoeg wrote:

Hi,

My USB 3.0 Expresscard does not work under
NixOS, it used to
work
under other distros. I already tried to add


Can you be a little more specific about "does not
work"?


Nothing happens. Like, really nothing. No new hub is
shown in lsusb
(as it was under Ubuntu). Devices I plug in are not
shown. Nothing.

When you plug it in, what messages are you seeing
while running
these 2
commands in separate terminals:

journalctl -k -f

and

udevadm monitor


Nothing. No output.

Regards, CSS
___
nix-dev mailing list
nix-dev@lists.science.uu.nl

>
http://lists.science.uu.nl/mailman/listinfo/nix-dev

>


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





--
Tomasz Czyż


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


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


[Nix-commits] [NixOS/nixpkgs] e362a3: nginx: Format the config file

2017-02-07 Thread Svein Ove Aas
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e362a3d5c94ba379d428fbd2cc40470719a61556
  
https://github.com/NixOS/nixpkgs/commit/e362a3d5c94ba379d428fbd2cc40470719a61556
  Author: Svein Ove Aas 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M nixos/modules/services/web-servers/nginx/default.nix

  Log Message:
  ---
  nginx: Format the config file


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


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Matthew Bauer
> One question: Will it create a persistent /nix directory on the machine
> the generated binary is running?

No, it just creates a temporary chroot in /tmp and bind mounts the
/nix/ there. As a side effect, though, you will not have access to
your regular /nix/ directory within the bundle (which is probably good
for purity reasons).
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Peter Hoeg

Nice work Matthew!


I would vote for mirroring this tool in nixos github namespace (or even
trying to make this project official one) as it can have big impact of
propagating/implementing nix ideas into environments where it's not
straight forward to use it.


Any chance this could be combined with lethalman's work on turning
derivations into docker containers? There seems to be a fair amount of
overlap and having a generic mechanism to create a runable closure means
we could relatively easily support the containerization mechanism and/or
application distribution format of the day.

--
Regards,
Peter
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Profpatsch
On 17-02-07 11:48am, Tomasz Czyż wrote:
> I would vote for mirroring this tool in nixos github namespace (or even
> trying to make this project official one) as it can have big impact of
> propagating/implementing nix ideas into environments where it's not
> straight forward to use it.
> 
> What do you think people?

+1


-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 868eb8: LTS Haskell 7.19

2017-02-07 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 868eb826e1caad0f387c173e5b78716b0a511dd7
  
https://github.com/NixOS/nixpkgs/commit/868eb826e1caad0f387c173e5b78716b0a511dd7
  Author: Peter Simons 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-hackage2nix.yaml

  Log Message:
  ---
  LTS Haskell 7.19


  Commit: d0492177e38616a102f8365b28c1ab17e74b42ce
  
https://github.com/NixOS/nixpkgs/commit/d0492177e38616a102f8365b28c1ab17e74b42ce
  Author: Peter Simons 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-hackage2nix.yaml

  Log Message:
  ---
  hackage2nix: update list of broken packages


  Commit: 5a0368b87cc353d46226fc91329036d6c16a5c10
  
https://github.com/NixOS/nixpkgs/commit/5a0368b87cc353d46226fc91329036d6c16a5c10
  Author: Peter Simons 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/hackage-packages.nix

  Log Message:
  ---
  hackage-packages.nix: automatic Haskell package set update

This update was generated by hackage2nix v2.0.4-10-g05c4803 from Hackage 
revision
https://github.com/commercialhaskell/all-cabal-hashes/commit/5720a6c584761a60d01b4ba9e8702f814928bb1a.


  Commit: 57507f08e8f297d700c4c508b495490ad86263d5
  
https://github.com/NixOS/nixpkgs/commit/57507f08e8f297d700c4c508b495490ad86263d5
  Author: Benno Fünfstück 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix
A pkgs/development/haskell-modules/configuration-nix.nix
M pkgs/development/haskell-modules/default.nix

  Log Message:
  ---
  haskell-modules: split off nix-specific overrides and common ones

This allows the nix-specific overrides to be reused for other purposes,
with different haskell package sets, etc.


  Commit: b33124a143a9e4942c5d641e6fee8761c37b676c
  
https://github.com/NixOS/nixpkgs/commit/b33124a143a9e4942c5d641e6fee8761c37b676c
  Author: Benno Fünfstück 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-nix.nix

  Log Message:
  ---
  haskell-download: don't test (requires networking)


Compare: https://github.com/NixOS/nixpkgs/compare/34157f7a046b...b33124a143a9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 512af0: jbig2dec: 0.11 -> 0.13, new upstream location

2017-02-07 Thread Joachim Fasting
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 512af01c32a7a3a6f366130d8c550a207f6f81c5
  
https://github.com/NixOS/nixpkgs/commit/512af01c32a7a3a6f366130d8c550a207f6f81c5
  Author: Joachim Fasting 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  jbig2dec: 0.11 -> 0.13, new upstream location

The most recent version on the sourceforge page is 0.11 which is quite
old; the official upstream site has 0.13; judging by the commit delta,
there've been quite a few bug fixes etc since 0.11.

(cherry picked from commit 12284fff17e96f31250669b5c8fc8dcecb2f2add)


  Commit: 0ccddb459f56d7d5bd1f7acb194d9f48bd3a9c82
  
https://github.com/NixOS/nixpkgs/commit/0ccddb459f56d7d5bd1f7acb194d9f48bd3a9c82
  Author: Joachim Fasting 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  jbig2dec: patch for CVE-2016-9601

Upstream bug: https://bugs.ghostscript.com/show_bug.cgi?id=697457

A new release containing this fix is expected in march; until then,
apply patch from upstream. Note that there have been essentially no
changes between 0.13 and this patch.

(cherry picked from commit 83f83ca4345be7221dd63e4451e3cf5ef1374117)


Compare: https://github.com/NixOS/nixpkgs/compare/ffb22492...0ccddb459f56___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 12284f: jbig2dec: 0.11 -> 0.13, new upstream location

2017-02-07 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 12284fff17e96f31250669b5c8fc8dcecb2f2add
  
https://github.com/NixOS/nixpkgs/commit/12284fff17e96f31250669b5c8fc8dcecb2f2add
  Author: Joachim Fasting 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  jbig2dec: 0.11 -> 0.13, new upstream location

The most recent version on the sourceforge page is 0.11 which is quite
old; the official upstream site has 0.13; judging by the commit delta,
there've been quite a few bug fixes etc since 0.11.


  Commit: 83f83ca4345be7221dd63e4451e3cf5ef1374117
  
https://github.com/NixOS/nixpkgs/commit/83f83ca4345be7221dd63e4451e3cf5ef1374117
  Author: Joachim Fasting 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  jbig2dec: patch for CVE-2016-9601

Upstream bug: https://bugs.ghostscript.com/show_bug.cgi?id=697457

A new release containing this fix is expected in march; until then,
apply patch from upstream. Note that there have been essentially no
changes between 0.13 and this patch.


  Commit: 34157f7a046bf0aafd9daea0fc6c46d33e53239e
  
https://github.com/NixOS/nixpkgs/commit/34157f7a046bf0aafd9daea0fc6c46d33e53239e
  Author: Graham Christensen 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  Merge pull request #22509 from joachifm/jbig2dec

jbig2dec: update & security patch


Compare: https://github.com/NixOS/nixpkgs/compare/83865b2c6cba...34157f7a046b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 83865b: intel-ocl: init at r4.0-59481

2017-02-07 Thread Kier Davis
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 83865b2c6cba71c15336ab9aefa3b6bed6986abe
  
https://github.com/NixOS/nixpkgs/commit/83865b2c6cba71c15336ab9aefa3b6bed6986abe
  Author: Kier Davis 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
A pkgs/os-specific/linux/intel-ocl/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  intel-ocl: init at r4.0-59481


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


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Maarten Hoogendoorn
It could also be used to implement an offline NixOS installer. I guess it
needs to run as root given that you're setting up a chroot env?

Op 7 feb. 2017 12:50 p.m. schreef "Shea Levy" :

+1! This is really cool.
Tomasz Czyż  writes:

> I would vote for mirroring this tool in nixos github namespace (or even
> trying to make this project official one) as it can have big impact of
> propagating/implementing nix ideas into environments where it's not
> straight forward to use it.
>
> What do you think people?
>
> 2017-02-07 11:31 GMT+00:00 Tomasz Czyż :
>
>> Matthew,
>> very good tool, thank you for sharing.
>>
>> 2017-02-07 10:32 GMT+00:00 Domen Kožar :
>>
>>> Awesome! I will need this very soon, good timing :)
>>>
>>> On Tue, Feb 7, 2017 at 11:30 AM, Moritz Ulrich 
>>> wrote:
>>>

 Hey Matthew,

 This sounds great! I'll give it a try :-)

 One question: Will it create a persistent /nix directory on the machine
 the generated binary is running?

 Cheers
 Moritz

 Matthew Bauer  writes:

 > GitHub page: https://github.com/matthewbauer/nix-bundle
 >
 > I just wanted to post about a little project I've been working on.
I'm
 > calling it "nix-bundle".
 >
 > Basically, what it does is: take a Nix closure, compress it into a
 > tarball, and turn that tarball into an executable using "Arx". The
 > final result looks like a plain shell script, but actually has a
 > tarball closure appended to it. When you run that script, Arx will
 > execute "nix-user-chroot" (which is included in the closure) which
 > will setup a /nix/ directory, then execute a target executable. All
of
 > this should work "out of the box" for any Nix derivation folder with
a
 > valid executable.
 >
 > For example, to generate a "hello" bundle:
 >
 > ./nix-bundle.sh hello /bin/hello
 >
 > "hello" specifies pkgs.hello and /bin/hello specifies the file
 > ${pkgs.helloi}/bin/hello to be executed. The output file will just be
 > called "hello".
 >p
 > The result is a "bundle" that can run without Nix being installed! No
 > external dependencies are needed because they are all contained
within
 > the Nix closure.
 >
 > There are two main drawbacks: slow startup and large file size.
 > Extracting the tarball takes time and this adds on to startup times.
 > Also, because everything is included from the Nix closure,
complicated
 > apps tend to be much larger because of the dependency tree.
 >
 > I've been experimenting with using AppImage as a format to package
 > them in, but it is not currently ready yet.
 > ___
 > nix-dev mailing list
 > nix-dev@lists.science.uu.nl
 > http://lists.science.uu.nl/mailman/listinfo/nix-dev

 --

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


>>>
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>>
>> --
>> Tomasz Czyż
>>
>
>
>
> --
> Tomasz Czyż
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

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


Re: [Nix-dev] -realise: mounting /proc: Operation not permitted

2017-02-07 Thread Shea Levy
Hi Marc,

The chroot setup mounts a proc instance in the chroot. It should do so
within a user namespace, though...

Thanks,
Shea

Marc Weber  writes:

> What might be causing this? 
>
> Nix-daemon nix version is the same which gets activated by the command
> below:
>
>  
> /nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store
>  --realise 
> /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv
>
> these derivations will be built:
>   
> /nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv
>   /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv
>   /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv
> building path(s) 
> ‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’
> error: while setting up the build environment: mounting /proc: Operation not 
> permitted
>
> Marc Weber
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Shea Levy
+1! This is really cool.
Tomasz Czyż  writes:

> I would vote for mirroring this tool in nixos github namespace (or even
> trying to make this project official one) as it can have big impact of
> propagating/implementing nix ideas into environments where it's not
> straight forward to use it.
>
> What do you think people?
>
> 2017-02-07 11:31 GMT+00:00 Tomasz Czyż :
>
>> Matthew,
>> very good tool, thank you for sharing.
>>
>> 2017-02-07 10:32 GMT+00:00 Domen Kožar :
>>
>>> Awesome! I will need this very soon, good timing :)
>>>
>>> On Tue, Feb 7, 2017 at 11:30 AM, Moritz Ulrich 
>>> wrote:
>>>

 Hey Matthew,

 This sounds great! I'll give it a try :-)

 One question: Will it create a persistent /nix directory on the machine
 the generated binary is running?

 Cheers
 Moritz

 Matthew Bauer  writes:

 > GitHub page: https://github.com/matthewbauer/nix-bundle
 >
 > I just wanted to post about a little project I've been working on. I'm
 > calling it "nix-bundle".
 >
 > Basically, what it does is: take a Nix closure, compress it into a
 > tarball, and turn that tarball into an executable using "Arx". The
 > final result looks like a plain shell script, but actually has a
 > tarball closure appended to it. When you run that script, Arx will
 > execute "nix-user-chroot" (which is included in the closure) which
 > will setup a /nix/ directory, then execute a target executable. All of
 > this should work "out of the box" for any Nix derivation folder with a
 > valid executable.
 >
 > For example, to generate a "hello" bundle:
 >
 > ./nix-bundle.sh hello /bin/hello
 >
 > "hello" specifies pkgs.hello and /bin/hello specifies the file
 > ${pkgs.helloi}/bin/hello to be executed. The output file will just be
 > called "hello".
 >p
 > The result is a "bundle" that can run without Nix being installed! No
 > external dependencies are needed because they are all contained within
 > the Nix closure.
 >
 > There are two main drawbacks: slow startup and large file size.
 > Extracting the tarball takes time and this adds on to startup times.
 > Also, because everything is included from the Nix closure, complicated
 > apps tend to be much larger because of the dependency tree.
 >
 > I've been experimenting with using AppImage as a format to package
 > them in, but it is not currently ready yet.
 > ___
 > nix-dev mailing list
 > nix-dev@lists.science.uu.nl
 > http://lists.science.uu.nl/mailman/listinfo/nix-dev

 --

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


>>>
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>>
>> --
>> Tomasz Czyż
>>
>
>
>
> -- 
> Tomasz Czyż
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Tomasz Czyż
I would vote for mirroring this tool in nixos github namespace (or even
trying to make this project official one) as it can have big impact of
propagating/implementing nix ideas into environments where it's not
straight forward to use it.

What do you think people?

2017-02-07 11:31 GMT+00:00 Tomasz Czyż :

> Matthew,
> very good tool, thank you for sharing.
>
> 2017-02-07 10:32 GMT+00:00 Domen Kožar :
>
>> Awesome! I will need this very soon, good timing :)
>>
>> On Tue, Feb 7, 2017 at 11:30 AM, Moritz Ulrich 
>> wrote:
>>
>>>
>>> Hey Matthew,
>>>
>>> This sounds great! I'll give it a try :-)
>>>
>>> One question: Will it create a persistent /nix directory on the machine
>>> the generated binary is running?
>>>
>>> Cheers
>>> Moritz
>>>
>>> Matthew Bauer  writes:
>>>
>>> > GitHub page: https://github.com/matthewbauer/nix-bundle
>>> >
>>> > I just wanted to post about a little project I've been working on. I'm
>>> > calling it "nix-bundle".
>>> >
>>> > Basically, what it does is: take a Nix closure, compress it into a
>>> > tarball, and turn that tarball into an executable using "Arx". The
>>> > final result looks like a plain shell script, but actually has a
>>> > tarball closure appended to it. When you run that script, Arx will
>>> > execute "nix-user-chroot" (which is included in the closure) which
>>> > will setup a /nix/ directory, then execute a target executable. All of
>>> > this should work "out of the box" for any Nix derivation folder with a
>>> > valid executable.
>>> >
>>> > For example, to generate a "hello" bundle:
>>> >
>>> > ./nix-bundle.sh hello /bin/hello
>>> >
>>> > "hello" specifies pkgs.hello and /bin/hello specifies the file
>>> > ${pkgs.helloi}/bin/hello to be executed. The output file will just be
>>> > called "hello".
>>> >p
>>> > The result is a "bundle" that can run without Nix being installed! No
>>> > external dependencies are needed because they are all contained within
>>> > the Nix closure.
>>> >
>>> > There are two main drawbacks: slow startup and large file size.
>>> > Extracting the tarball takes time and this adds on to startup times.
>>> > Also, because everything is included from the Nix closure, complicated
>>> > apps tend to be much larger because of the dependency tree.
>>> >
>>> > I've been experimenting with using AppImage as a format to package
>>> > them in, but it is not currently ready yet.
>>> > ___
>>> > nix-dev mailing list
>>> > nix-dev@lists.science.uu.nl
>>> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>> --
>>>
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
>
> --
> Tomasz Czyż
>



-- 
Tomasz Czyż
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Tomasz Czyż
Matthew,
very good tool, thank you for sharing.

2017-02-07 10:32 GMT+00:00 Domen Kožar :

> Awesome! I will need this very soon, good timing :)
>
> On Tue, Feb 7, 2017 at 11:30 AM, Moritz Ulrich 
> wrote:
>
>>
>> Hey Matthew,
>>
>> This sounds great! I'll give it a try :-)
>>
>> One question: Will it create a persistent /nix directory on the machine
>> the generated binary is running?
>>
>> Cheers
>> Moritz
>>
>> Matthew Bauer  writes:
>>
>> > GitHub page: https://github.com/matthewbauer/nix-bundle
>> >
>> > I just wanted to post about a little project I've been working on. I'm
>> > calling it "nix-bundle".
>> >
>> > Basically, what it does is: take a Nix closure, compress it into a
>> > tarball, and turn that tarball into an executable using "Arx". The
>> > final result looks like a plain shell script, but actually has a
>> > tarball closure appended to it. When you run that script, Arx will
>> > execute "nix-user-chroot" (which is included in the closure) which
>> > will setup a /nix/ directory, then execute a target executable. All of
>> > this should work "out of the box" for any Nix derivation folder with a
>> > valid executable.
>> >
>> > For example, to generate a "hello" bundle:
>> >
>> > ./nix-bundle.sh hello /bin/hello
>> >
>> > "hello" specifies pkgs.hello and /bin/hello specifies the file
>> > ${pkgs.helloi}/bin/hello to be executed. The output file will just be
>> > called "hello".
>> >p
>> > The result is a "bundle" that can run without Nix being installed! No
>> > external dependencies are needed because they are all contained within
>> > the Nix closure.
>> >
>> > There are two main drawbacks: slow startup and large file size.
>> > Extracting the tarball takes time and this adds on to startup times.
>> > Also, because everything is included from the Nix closure, complicated
>> > apps tend to be much larger because of the dependency tree.
>> >
>> > I've been experimenting with using AppImage as a format to package
>> > them in, but it is not currently ready yet.
>> > ___
>> > nix-dev mailing list
>> > nix-dev@lists.science.uu.nl
>> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>> --
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
Tomasz Czyż
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] PCI Expresscard not working under NixOS

2017-02-07 Thread Tomasz Czyż
What about doing quick check and running ubuntu from livecd/usb to confirm
if card still is alive?

2017-02-07 2:23 GMT+00:00 Roger Qiu :

> It might be a missing driver. Ultimately is the kernel, its drivers and
> modules that deal with hardware and IO. You might need to google around and
> ask specifically for the given pci expess hardware serial code and model.
> On 07/02/2017 9:39 AM, "Christoph-Simon Senjak" <
> christoph.sen...@googlemail.com> wrote:
>
>> Hello.
>>
>> On 06.02.2017 06:36, Roger Qiu wrote:
>>
>>> When you plug something in, the kernel log should show something. If it
>>> doesn't then the kernel doesn't know about it, nothing in the userspace
>>> can help.
>>>
>>
>> How can that be?
>>
>> Make sure you're running those commands before you plug the usb in.
>>>
>> >
>>
>>> Also I used to have faulty usb cables, but even then the kernel showed
>>> something. Usually repeating messages because the usb cable kept
>>> dropping out and coming back in.
>>>
>>> What happens if you plug those devices directly?
>>>
>>
>> The kernel does not notice the expresscard itself when I plug it in. My
>> usb hard disk works perfectly under the other ports.
>>
>> Ah, and fun fact: When plugging in the expresscard, I can reproducibly
>> scramble my sound output for a second (the music repeats for a second after
>> I plug it in). Still, the kernel says nothing. And no device nodes appear.
>>
>>
>> On 06/02/2017 2:55 PM, "Christoph-Simon Senjak"
>>> >> > wrote:
>>>
>>> Hi.
>>>
>>> On 06.02.2017 04:46, Peter Hoeg wrote:
>>>
>>> Hi,
>>>
>>> My USB 3.0 Expresscard does not work under NixOS, it used to
>>> work
>>> under other distros. I already tried to add
>>>
>>>
>>> Can you be a little more specific about "does not work"?
>>>
>>>
>>> Nothing happens. Like, really nothing. No new hub is shown in lsusb
>>> (as it was under Ubuntu). Devices I plug in are not shown. Nothing.
>>>
>>> When you plug it in, what messages are you seeing while running
>>> these 2
>>> commands in separate terminals:
>>>
>>> journalctl -k -f
>>>
>>> and
>>>
>>> udevadm monitor
>>>
>>>
>>> Nothing. No output.
>>>
>>> Regards, CSS
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl 
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>> 
>>>
>>>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
Tomasz Czyż
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] -realise: mounting /proc: Operation not permitted

2017-02-07 Thread Marc Weber
What might be causing this? 

Nix-daemon nix version is the same which gets activated by the command
below:

 
/nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store
 --realise 
/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv

these derivations will be built:
  /nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv
  /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv
  /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv
building path(s) 
‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’
error: while setting up the build environment: mounting /proc: Operation not 
permitted

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


[Nix-commits] [NixOS/nixpkgs] f7b7d8: dafny: fix meta attribute

2017-02-07 Thread Guillaume Maudoux
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f7b7d8e7b59f5e13338be76256e8b524eb993959
  
https://github.com/NixOS/nixpkgs/commit/f7b7d8e7b59f5e13338be76256e8b524eb993959
  Author: Guillaume Maudoux 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  dafny: fix meta attribute


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


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Domen Kožar
Awesome! I will need this very soon, good timing :)

On Tue, Feb 7, 2017 at 11:30 AM, Moritz Ulrich  wrote:

>
> Hey Matthew,
>
> This sounds great! I'll give it a try :-)
>
> One question: Will it create a persistent /nix directory on the machine
> the generated binary is running?
>
> Cheers
> Moritz
>
> Matthew Bauer  writes:
>
> > GitHub page: https://github.com/matthewbauer/nix-bundle
> >
> > I just wanted to post about a little project I've been working on. I'm
> > calling it "nix-bundle".
> >
> > Basically, what it does is: take a Nix closure, compress it into a
> > tarball, and turn that tarball into an executable using "Arx". The
> > final result looks like a plain shell script, but actually has a
> > tarball closure appended to it. When you run that script, Arx will
> > execute "nix-user-chroot" (which is included in the closure) which
> > will setup a /nix/ directory, then execute a target executable. All of
> > this should work "out of the box" for any Nix derivation folder with a
> > valid executable.
> >
> > For example, to generate a "hello" bundle:
> >
> > ./nix-bundle.sh hello /bin/hello
> >
> > "hello" specifies pkgs.hello and /bin/hello specifies the file
> > ${pkgs.helloi}/bin/hello to be executed. The output file will just be
> > called "hello".
> >p
> > The result is a "bundle" that can run without Nix being installed! No
> > external dependencies are needed because they are all contained within
> > the Nix closure.
> >
> > There are two main drawbacks: slow startup and large file size.
> > Extracting the tarball takes time and this adds on to startup times.
> > Also, because everything is included from the Nix closure, complicated
> > apps tend to be much larger because of the dependency tree.
> >
> > I've been experimenting with using AppImage as a format to package
> > them in, but it is not currently ready yet.
> > ___
> > nix-dev mailing list
> > nix-dev@lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
> --
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Moritz Ulrich

Hey Matthew,

This sounds great! I'll give it a try :-)

One question: Will it create a persistent /nix directory on the machine
the generated binary is running? 

Cheers
Moritz

Matthew Bauer  writes:

> GitHub page: https://github.com/matthewbauer/nix-bundle
>
> I just wanted to post about a little project I've been working on. I'm
> calling it "nix-bundle".
>
> Basically, what it does is: take a Nix closure, compress it into a
> tarball, and turn that tarball into an executable using "Arx". The
> final result looks like a plain shell script, but actually has a
> tarball closure appended to it. When you run that script, Arx will
> execute "nix-user-chroot" (which is included in the closure) which
> will setup a /nix/ directory, then execute a target executable. All of
> this should work "out of the box" for any Nix derivation folder with a
> valid executable.
>
> For example, to generate a "hello" bundle:
>
> ./nix-bundle.sh hello /bin/hello
>
> "hello" specifies pkgs.hello and /bin/hello specifies the file
> ${pkgs.helloi}/bin/hello to be executed. The output file will just be
> called "hello".
>p
> The result is a "bundle" that can run without Nix being installed! No
> external dependencies are needed because they are all contained within
> the Nix closure.
>
> There are two main drawbacks: slow startup and large file size.
> Extracting the tarball takes time and this adds on to startup times.
> Also, because everything is included from the Nix closure, complicated
> apps tend to be much larger because of the dependency tree.
>
> I've been experimenting with using AppImage as a format to package
> them in, but it is not currently ready yet.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 25b61c: pyocr: Use skip instead of expectedFailure

2017-02-07 Thread aszlig
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 25b61cc897ccca0c01fb2c8cb73cd5a283f749d2
  
https://github.com/NixOS/nixpkgs/commit/25b61cc897ccca0c01fb2c8cb73cd5a283f749d2
  Author: aszlig 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  pyocr: Use skip instead of expectedFailure

Since the update of imagemagick in
5e753c1a65e106ffaeb71ad3fa66a13b2dfaf5d5 there are certain test cases
which now unexpectly succeed and in turn cause the whole build to fail.

So in order to prevent this from happening let's skip those tests
properly instead of running them and expect them to fail.

Tested by building pythonPackages.pyocr on x86_64-linux.

Signed-off-by: aszlig 


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


[Nix-commits] [NixOS/nixpkgs] cf94e1: linux-testing: 4.10-rc4 -> 4.10-rc7

2017-02-07 Thread aszlig
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cf94e1862707aa48f423ce441b4bc058c1fe39a0
  
https://github.com/NixOS/nixpkgs/commit/cf94e1862707aa48f423ce441b4bc058c1fe39a0
  Author: aszlig 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  linux-testing: 4.10-rc4 -> 4.10-rc7

Tested via building the linux_testing attribute only, not in production.

Verified unpacked tarball with GnuPG:

gpg: Signature made Mon 06 Feb 2017 12:21:50 AM CET
gpg:using RSA key 79BE3E4300411886
gpg: Good signature from "Linus Torvalds " 
[unknown]
Primary key fingerprint: ABAF 11C6 5A29 70B1 30AB  E3C4 79BE 3E43 0041 1886

Signed-off-by: aszlig 


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


[Nix-commits] [NixOS/nixpkgs] ccb2d8: boogie: fix basename issues; promote to package

2017-02-07 Thread Pascal Wittmann
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ccb2d83980f3a871cf603ff00234020dd1d38add
  
https://github.com/NixOS/nixpkgs/commit/ccb2d83980f3a871cf603ff00234020dd1d38add
  Author: Guillaume Maudoux 
  Date:   2017-02-06 (Mon, 06 Feb 2017)

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

  Log Message:
  ---
  boogie: fix basename issues; promote to package


  Commit: aeaf893e5733cb333256cb46f3925d69be103e38
  
https://github.com/NixOS/nixpkgs/commit/aeaf893e5733cb333256cb46f3925d69be103e38
  Author: Guillaume Maudoux 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  dafny: init at v1.9.8


  Commit: d099c1b96d07beadee09be5ca47659ee47701942
  
https://github.com/NixOS/nixpkgs/commit/d099c1b96d07beadee09be5ca47659ee47701942
  Author: Pascal Wittmann 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  Merge pull request #22507 from layus/dafny-update

Add dafny; fixup Boogie


Compare: https://github.com/NixOS/nixpkgs/compare/04a128540d88...d099c1b96d07___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 17d74c: electricsheep: 2.6.8 -> 2.7b33

2017-02-07 Thread Pascal Wittmann
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 17d74c49121478670c5842c2433d7298b8473fc7
  
https://github.com/NixOS/nixpkgs/commit/17d74c49121478670c5842c2433d7298b8473fc7
  Author: Fernando J Pando 
  Date:   2017-02-06 (Mon, 06 Feb 2017)

  Changed paths:
M pkgs/misc/screensavers/electricsheep/default.nix
A pkgs/tools/graphics/flam3/default.nix
A pkgs/tools/graphics/glee/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  electricsheep: 2.6.8 -> 2.7b33

- Updates and fixes currently broken package.
- Provides Flam3 and GLee dependencies.
- Tested on Nixos Unstable.


  Commit: 04a128540d88b9879cb2b26ac57847d02888b622
  
https://github.com/NixOS/nixpkgs/commit/04a128540d88b9879cb2b26ac57847d02888b622
  Author: Pascal Wittmann 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/misc/screensavers/electricsheep/default.nix
A pkgs/tools/graphics/flam3/default.nix
A pkgs/tools/graphics/glee/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #22285 from nand0p/electricsheep

electricsheep: 2.6.8 -> 2.7b33


Compare: https://github.com/NixOS/nixpkgs/compare/c73045ef1094...04a128540d88___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6640fe: pythonPackages.sphinx: fix make-mode, fixes #22501

2017-02-07 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6640fe2e1e6b7f42fbf3a0c0648428c31c830c6e
  
https://github.com/NixOS/nixpkgs/commit/6640fe2e1e6b7f42fbf3a0c0648428c31c830c6e
  Author: Frederik Rietdijk 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  pythonPackages.sphinx: fix make-mode, fixes #22501


  Commit: c73045ef1094de9323095ec3bef303a316f19a37
  
https://github.com/NixOS/nixpkgs/commit/c73045ef1094de9323095ec3bef303a316f19a37
  Author: Frederik Rietdijk 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  pythonPackages.sphinx: 1.5.1 -> 1.5.2


Compare: https://github.com/NixOS/nixpkgs/compare/651d5019bc31...c73045ef1094___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 651d50: pstoedit, plotutils: fix for darwin and mark not br...

2017-02-07 Thread Jake Waksbaum
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 651d5019bc31055788818287d3264c55d6a03be3
  
https://github.com/NixOS/nixpkgs/commit/651d5019bc31055788818287d3264c55d6a03be3
  Author: Jake Waksbaum 
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/tools/graphics/plotutils/default.nix
M pkgs/tools/graphics/pstoedit/default.nix

  Log Message:
  ---
  pstoedit,plotutils: fix for darwin and mark not broken (#22196)

pstoedit,plotutils: fix for darwin


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