Re: [Nix-dev] how to successfully install owncloud/nextcloud
schneefuxwrites: >> I am using 16.09 but have serious problems getting owncloud running, >> first I find it irritating that only postgresql is supportet but ok I >> can accept that at least for now. > > here is how I use it with Let's encrypt, nginx and uwsgi: > https://gist.github.com/schneefux/22b75d2bd3e4e754ba1684f1d1e93271 > > I hope that helps. > > ~ schneefux Hi, yes I like it, yesterday I self-signed it for me manualy, on my pc just to play with it, I use it internaly only on my machine anyway ( cant replace the stupid cablerouter from my provider, last time I tried I had 4 days no internet. And there portforwarding is a nightmare dslite or something and a shitty firmware. But its for somebody else where I need ssl. And it would be good if that part would work without doing stuff manualy and it would be basicly stateless (more or less). Is that ssl stuff you do stateless? or is that even possible with ssl? You dont use the usual lets-encrypt script, its in nixos as package, too I belive, but you do that manualy? Or do you not even request a cert? Sorry I am a bit of a ssl noob, got it 1 2x somehow running but makes not much sense to me :) ssh is much more easy to use than this, and I think its primary pitched to the needs of coorporations, not so much for normal users that want a small server, where compression is the primary purpose instead of identity proof. I mean why dont we do that then with ssh, why do we blindly trust that we connect to the right host, spoofing would be possible there to? Well whatever, webserver configuration sucks, I should not wonder if nixos cant dumb that down so that you add some lines of code and then nixos-rebuild switch just does everything automaticly, including the cert part. Or does your solution do that? Sorry maybe I got a bit OT, just no real fan of the current web architecture, would prefer protocols like nntp and imap with client based keybindings / ui for webstuff over html/js/css stuff, but I guess for imap you have the same ssl problems :) funny enough you can still send from as example a google server over telnet a mail with a sender mail from somebody else at least that worked last time I checked. But hell I get even more OT now. Thanks for your contributions/help, make nixos great (again) :) ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] a71e63: mmex: 0.9.5.1 -> 1.2.7
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a71e633b3590764dc704faf5568b1e89686c584f https://github.com/NixOS/nixpkgs/commit/a71e633b3590764dc704faf5568b1e89686c584f Author: Andrew ScottDate: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: M pkgs/applications/office/mmex/default.nix M pkgs/development/libraries/wxGTK-3.0/default.nix M pkgs/top-level/all-packages.nix Log Message: --- mmex: 0.9.5.1 -> 1.2.7 Commit: fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3 https://github.com/NixOS/nixpkgs/commit/fd1e79aa255cd2bfd6ea98743eab05e9acc0c0d3 Author: Jörg Thalheim Date: 2016-10-22 (Sat, 22 Oct 2016) Changed paths: M pkgs/applications/office/mmex/default.nix M pkgs/development/libraries/wxGTK-3.0/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #18402 from andjscott/mmex [WIP] Money-Manager-Ex: 0.9.5.1 -> 1.2.7 Compare: https://github.com/NixOS/nixpkgs/compare/34a9ed1f5cb9...fd1e79aa255c___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f3307c: use gnutls openconnect by default
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f3307cd2fa58decf0861869e99b196596b8ee0ec https://github.com/NixOS/nixpkgs/commit/f3307cd2fa58decf0861869e99b196596b8ee0ec Author: Michal KawalecDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/top-level/all-packages.nix Log Message: --- use gnutls openconnect by default Commit: 34a9ed1f5cb9e543b8709ea7ca62b98e1b60ab3b https://github.com/NixOS/nixpkgs/commit/34a9ed1f5cb9e543b8709ea7ca62b98e1b60ab3b Author: Jörg Thalheim Date: 2016-10-22 (Sat, 22 Oct 2016) Changed paths: M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #19752 from mkawalec/master openconnect: use openconnect linked against gnutls by default Compare: https://github.com/NixOS/nixpkgs/compare/20383d26066d...34a9ed1f5cb9___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 1a74ee: sshd: separate key generation into another service
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1a74eedd074fac69d12cecb767dc207a4bfea1bb https://github.com/NixOS/nixpkgs/commit/1a74eedd074fac69d12cecb767dc207a4bfea1bb Author: Anmol SethiDate: 2016-10-20 (Thu, 20 Oct 2016) Changed paths: M nixos/modules/services/networking/ssh/sshd.nix Log Message: --- sshd: separate key generation into another service Fixes #19589 Commit: 20383d26066d7c99ce721a020d5ea3552d24042d https://github.com/NixOS/nixpkgs/commit/20383d26066d7c99ce721a020d5ea3552d24042d Author: Jörg Thalheim Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/services/networking/ssh/sshd.nix Log Message: --- Merge pull request #19635 from nhooyr/sshgen sshd: separate key generation into another service Compare: https://github.com/NixOS/nixpkgs/compare/42e93b5f2a86...20383d26066d___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 42e93b: quassel-webserver: init at 2.1.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 42e93b5f2a867425847d68d6367115c4fbe349da https://github.com/NixOS/nixpkgs/commit/42e93b5f2a867425847d68d6367115c4fbe349da Author: uwapDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/module-list.nix A nixos/modules/services/web-apps/quassel-webserver.nix A pkgs/applications/networking/irc/quassel-webserver/default.nix A pkgs/applications/networking/irc/quassel-webserver/quassel-webserver.nix M pkgs/top-level/all-packages.nix Log Message: --- quassel-webserver: init at 2.1.1 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] e336ac: pytest_30: Add override from pytest_27
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e336acb096649b3930e1d33d6392d69d8b807440 https://github.com/NixOS/nixpkgs/commit/e336acb096649b3930e1d33d6392d69d8b807440 Author: Matthias BeyerDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- pytest_30: Add override from pytest_27 Commit: 8a37554f010717720874b95a50fba476b58b3128 https://github.com/NixOS/nixpkgs/commit/8a37554f010717720874b95a50fba476b58b3128 Author: Jörg Thalheim Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/office/beancount/default.nix Log Message: --- beancount: 2016-04-10 -> 2.0b12 Commit: 213ebc94e0723869de19b4da7155cf92878d1a2a https://github.com/NixOS/nixpkgs/commit/213ebc94e0723869de19b4da7155cf92878d1a2a Author: Matthias Beyer Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: A pkgs/applications/office/fava/default.nix M pkgs/top-level/all-packages.nix Log Message: --- fava: init at 1.0 fixes #15785 Compare: https://github.com/NixOS/nixpkgs/compare/9c0b5e4b2268...213ebc94e072___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] cd41bf: grsecurity: 4.7.7-201610101902 -> 4.7.9-2016102008...
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: cd41bfeeb1aaa10e4d412f2bd90dc2844a7c5df8 https://github.com/NixOS/nixpkgs/commit/cd41bfeeb1aaa10e4d412f2bd90dc2844a7c5df8 Author: Joachim FastingDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/os-specific/linux/kernel/linux-grsecurity.nix M pkgs/os-specific/linux/kernel/patches.nix Log Message: --- grsecurity: 4.7.7-201610101902 -> 4.7.9-201610200819 (cherry picked from commit ed5d146e9d0d62900d7aadd91b679682c25be800) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b7db7c: fastjet: init at 3.2.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b7db7cc30ca80cbf54ef6c69f155e74916e2f629 https://github.com/NixOS/nixpkgs/commit/b7db7cc30ca80cbf54ef6c69f155e74916e2f629 Author: Dmitry KalinkinDate: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: A pkgs/development/libraries/physics/fastjet/default.nix M pkgs/top-level/all-packages.nix Log Message: --- fastjet: init at 3.2.0 Commit: 75ed9ac975645d72e6d494ef81296b83b8855e41 https://github.com/NixOS/nixpkgs/commit/75ed9ac975645d72e6d494ef81296b83b8855e41 Author: Dmitry Kalinkin Date: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: A pkgs/development/libraries/physics/hepmc/default.nix A pkgs/development/libraries/physics/hepmc/in_source.patch M pkgs/top-level/all-packages.nix Log Message: --- hepmc: init at 2.06.09 Commit: 571dfeff1595b322c8574142a4c094cbda7f https://github.com/NixOS/nixpkgs/commit/571dfeff1595b322c8574142a4c094cbda7f Author: Dmitry Kalinkin Date: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: A pkgs/development/libraries/physics/yoda/default.nix M pkgs/top-level/all-packages.nix Log Message: --- yoda: init at 1.6.3 Commit: 334b9e2a406b526d74babc6c120ff68a31df51ed https://github.com/NixOS/nixpkgs/commit/334b9e2a406b526d74babc6c120ff68a31df51ed Author: Dmitry Kalinkin Date: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: A pkgs/development/libraries/physics/rivet/default.nix A pkgs/development/libraries/physics/rivet/key_val.patch A pkgs/development/libraries/physics/rivet/zaxis_fix.patch M pkgs/top-level/all-packages.nix Log Message: --- rivet: init at 2.5.0 Commit: 1c855085cdc957e14af91dddbf11b3505af937fe https://github.com/NixOS/nixpkgs/commit/1c855085cdc957e14af91dddbf11b3505af937fe Author: Dmitry Kalinkin Date: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: A pkgs/development/libraries/physics/lhapdf/default.nix A pkgs/development/libraries/physics/lhapdf/distutils-c++.patch A pkgs/development/libraries/physics/lhapdf/maintainer.sh A pkgs/development/libraries/physics/lhapdf/pdf_sets.nix A pkgs/development/libraries/physics/lhapdf/pdfset-hook.sh M pkgs/top-level/all-packages.nix Log Message: --- lhapdf: init at 6.1.6 Commit: fd95f8f824110d5a757414d457497da675979d4b https://github.com/NixOS/nixpkgs/commit/fd95f8f824110d5a757414d457497da675979d4b Author: Dmitry Kalinkin Date: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: A pkgs/development/libraries/physics/herwig/default.nix A pkgs/development/libraries/physics/thepeg/default.nix M pkgs/top-level/all-packages.nix Log Message: --- herwig: init a 7.0.3 thepeg: init at 2.0.3 Commit: 6aa5dc11f168a7d30bfe7b94cc0c23990f6ccc7f https://github.com/NixOS/nixpkgs/commit/6aa5dc11f168a7d30bfe7b94cc0c23990f6ccc7f Author: Dmitry Kalinkin Date: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: A pkgs/development/libraries/physics/pythia/default.nix M pkgs/top-level/all-packages.nix Log Message: --- pythia: init at 8.219 Commit: 3324d8dc72df46985473e6c22413cf2cb0336771 https://github.com/NixOS/nixpkgs/commit/3324d8dc72df46985473e6c22413cf2cb0336771 Author: Dmitry Kalinkin Date: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: A pkgs/applications/science/physics/sacrifice/compat.patch A pkgs/applications/science/physics/sacrifice/default.nix M pkgs/top-level/all-packages.nix Log Message: --- sacrifice: init at 1.0.0 Commit: 1feb89897e04f34cd576c19c53af8973369b72df https://github.com/NixOS/nixpkgs/commit/1feb89897e04f34cd576c19c53af8973369b72df Author: Dmitry Kalinkin Date: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: A pkgs/development/libraries/physics/nlojet/default.nix A pkgs/development/libraries/physics/nlojet/nlojet_clang_fix.patch M pkgs/top-level/all-packages.nix Log Message: --- nlojet++: init at 4.1.3 Commit: 59a13d404f5557f451d9be30f242bd9bd62384ef https://github.com/NixOS/nixpkgs/commit/59a13d404f5557f451d9be30f242bd9bd62384ef Author: Dmitry Kalinkin Date: 2016-10-20 (Thu, 20 Oct 2016) Changed paths: M pkgs/development/libraries/physics/lhapdf/default.nix M pkgs/development/libraries/physics/rivet/default.nix Log Message: --- lhapdf,rivet: s/python/python2/ Commit: b4e3e7b752292cd998f68c2ebca0edeee71f8093 https://github.com/NixOS/nixpkgs/commit/b4e3e7b752292cd998f68c2ebca0edeee71f8093 Author: Dmitry Kalinkin
[Nix-commits] [NixOS/nixpkgs] 25a7f1: fleet: 0.11.5 -> 0.11.8
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 25a7f17a0fe15183feab97e1fb8e103bfba67768 https://github.com/NixOS/nixpkgs/commit/25a7f17a0fe15183feab97e1fb8e103bfba67768 Author: Jascha GeerdsDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/servers/fleet/default.nix Log Message: --- fleet: 0.11.5 -> 0.11.8 (cherry picked from commit cf8362ffeca1fa028cda5e4a4f93915c51d3e14f) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Patches in nixos-16.09, nixos-unstable-small Channels for CVE-2016-5195 ("DirtyCow", Linux Kernel Privilege Escalation Vulnerability)
Hello Nixers, All Linux kernels since 2.6.22 have been vulnerable to a privilege escalation bug. Please upgrade immediately. This issue was discovered and patched on October 18. The fix was released yesterday, and the 16.09 channel now includes the fix for the following kernels: - linuxPackages: 4.4.25 -> 4.4.26 ( https://github.com/NixOS/nixpkgs/commit/0b20f6daba35575a7d4d2a61f42830d793a12892 ) - linuxPackages_4_7: 4.7.8 -> 4.7.9 ( https://github.com/NixOS/nixpkgs/commit/7e5cfb7d82bbe29cb8638e2d0ead60260c6e ) - linuxPackages_latest: 4.8.2 -> 4.8.3 ( https://github.com/NixOS/nixpkgs/commit/0ed0d08c7291da58b4c20c68d2ae89b2934555ab ) When updating please ensure you have `nixos-16.09.819.31c72ce` or newer. The previous version (`nixos-16.09.773.b8ede35` and older) do not include these patches. For unstable, only unstable-small has the patches: - linuxPackages: 4.4.25 -> 4.4.26 ( https://github.com/NixOS/nixpkgs-channels/commit/76a57d83b5a4df7c3ac85b25c5ab10d6fb415eb2 ) - linuxPackages_4_7: 4.7.8 -> 4.7.9 ( https://github.com/NixOS/nixpkgs-channels/commit/fabfb0a900b8bc732f0561d696ee72a800cba708 ) - linuxPackages_latest: 4.8.2 -> 4.8.3 ( https://github.com/NixOS/nixpkgs-channels/commit/0c3e5217fcf61ea652cdb3c661808c254eaa54df ) Standard unstable will move forward when all tests have passed. *All other *kernels available in NixOS 16.09 and Unstable are vulnerable and have not yet received patches. This includes: - linuxPackages_mptcp - linuxPackages_rpi - linuxPackages_3_10 - linuxPackages_3_10_tuxonice - linuxPackages_3_12 - linuxPackages_3_18 - linuxPackages_4_1 - linuxPackages_testing More information can be had at https://dirtycow.ninja/ Also included in this channel update are several fixes found in the latest vulnerability hunt. See: - https://github.com/NixOS/nixpkgs/issues/19678 - https://github.com/NixOS/nixpkgs/issues/13515#issuecomment-255272275 - https://github.com/NixOS/nixpkgs/issues/13515#issuecomment-255230815 - https://github.com/NixOS/nixpkgs/issues/13515#issuecomment-254993182 If you would like to help with future hunts and patches, please leave a comment on https://github.com/NixOS/nixpkgs/issues/19678 and I'll make sure to ping you. Thank you, Graham ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment
On Sun, 16 Oct 2016, Shea Levy wrote: > options) and clearly have the semantics we want. Ideally we would be > able to specify something on the level of abstraction of "this directory > should be treated like you would normally treat /usr" and get > e.g. /include, /lib, frameworks on OS X, etc. handled properly. What that suggests to me is options for having multiple sysroots (which are treated like / not like /usr, but that's the existing concept for a directory containing both header and library subdirectories, and you could combine this with a Hurd-style configuration of the expected sysroot subdirectories, i.e. no /usr inside the sysroot). That would however be rather complex; both GCC and ld presume there is a single global sysroot (modulo SYSROOT_SUFFIX_SPEC / SYSROOT_HEADERS_SUFFIX_SPEC that append to it), as do the interfaces for other specs that pass down sysroot information to cc1 etc. - and ld then interprets absolute paths in linker scripts such as libc.so in a sysroot relative to that sysroot (so would need to track which sysroot a particular linker script was found in to know how to interpret absolute paths in it), and options such as -I=dir for a sysroot-relative include don't have a clear meaning with multiple sysroots. I'm wary of adding environment variables as they tend to make debugging hard when the same compiler behaves differently for different people for no obvious reason. You should not need to exclude linker options (as opposed to linker input files) from the command line when not linking, or compiler options when linking. -- Joseph S. Myers jos...@codesourcery.com ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] [cfe-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment
On Tue, Oct 18, 2016 at 8:59 AM, Ludovic Courtès via cfe-devwrote: > Shea Levy skribis: > >> Your patches look good! My biggest concern is how the ld wrapper behaves >> in the presence of response files. Have you tested that? > > It surely doesn’t (yet?). > > However, GCC does not pass “@file” arguments when it invokes ‘ld’, and > the bug report you mentioned¹ talks about GHC invoking ‘gcc’, not ‘ld’, > so I guess it’s fine to ignore response files in the ld wrapper. GCC will pass response files to ld when response files were used in the invocation of GCC. -Nathan ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Boost postFixup failing
Thanks Zimbatm, 16GB, and I retried with 32GB. Actually a very good idea with NixOps. I didn't realise you could use your own pre-built stuff, that would really simplify things. As a data scientist I am not so familiar with DevOps but it might be just the solution to get the reproducibility I need. Guess I have my weekend project sorted :) Cheers, Ash > On 21 Oct 2016, at 3:47 am, zimbatmwrote: > > How much memory do you have available? 16MB is just for this process, nix-env > itself is probably taking another 200MB or more. > > One solution is to build things locally and then use nix-copy-closure or > nixops to deploy the changes. > > > On Thu, 20 Oct 2016, 13:55 Ashley Gillman, wrote: > Hi Nix Dev, > > I am having issues installing on an HPC cluster. My methodology has been > using PRoot to mount a directory to /nix. I am using Nix 1.11.2 > > Impurities seem to be creeping into the build process, that I don't get when > building locally. For example, when building Python Pillow, I had to also > mount an empty directory over /usr/include, because the builds were including > gcc flags for `-I/usr/include` and breaking the build. But this shouldn't > happen, should it? The hack of mounting over these directories was a > temporary fix. > > My current error is when building Boost with GCC49, which again works locally > (Ubuntu 14.04) but not on the cluster. > > nix-build -E 'with import { }; boost.override { stdenv = > overrideCC stdenv gcc49; }' > ... > post-installation fixup > shrinking RPATHs of ELF executables and libraries in > /nix/store/fv2wsfc1g43m72xy0398lh8wgi6nsx1z-boost-1.59.0 > gzipping man pages in > /nix/store/fv2wsfc1g43m72xy0398lh8wgi6nsx1z-boost-1.59.0 > patching script interpreter paths in > /nix/store/fv2wsfc1g43m72xy0398lh8wgi6nsx1z-boost-1.59.0 > shrinking RPATHs of ELF executables and libraries in > /nix/store/sgs6pcdj7c3xkmvh0s51hvs06ahan50l-boost-1.59.0-dev > /nix/store/nkl8p82samb219yr5i7bdx4mm2mgg5ab-stdenv/setup: xmalloc: > subst.c:4911: cannot allocate 256 bytes (16777216 bytes allocated) > builder for > ‘/nix/store/xqsq53xim1kbhk4zsdimmjxwc9s13n3b-boost-1.59.0.drv’ failed with > exit code 2 > > This looks like a memory error, but for 16MB? I certainly have much more > memory than that available, and increasing the allocated memory for the > compute nodes doesn't change the error. I am guessing it may be again due to > some impurity, how can these creep in? > > Any advise, even on how best to debug, is much appreciated. > > Kind regards, > Ashley > ___ > 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] Custom libc
Perhaps a custom stdenv then? Or is there an override function for stdenv? On 13/10/2016 10:01 AM, "Dmitry Kalinkin"wrote: > packageOverrides don’t override anything within stdenv > > > On 12 Oct 2016, at 18:28, Tomasz Czyż wrote: > > > > Nikita, how do you override the attributes? > > > > Did you try packageOverrides like in example below? > > > > { > > packageOverrides = pkgs: rec { > ># Make "xbmc" use the "python26" package, > ># instead of NixPkgs default python version. > >xbmc = pkgs.xbmc.override { > > python = pkgs.python26; > >}; > > }; > >} > > > > 2016-10-12 22:16 GMT+01:00 Nikita Karetnikov : > > How can I override glibc in nix-shell and use eglibc, for instance? Are > there any examples? Do I need to override stdenv for that? Overriding the > attributes of glibc (version and sha) directly doesn't seem to work. Could > anyone provide an example? > > ___ > > 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-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 766c0c: mkvtoolnix: 9.4.2 -> 9.5.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 766c0c1ec9d9b1c4680511723412b95c3a02de57 https://github.com/NixOS/nixpkgs/commit/766c0c1ec9d9b1c4680511723412b95c3a02de57 Author: romildoDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/video/mkvtoolnix/default.nix Log Message: --- mkvtoolnix: 9.4.2 -> 9.5.0 Commit: 5df5198979f5386688d17b91cb4041b9d59a2087 https://github.com/NixOS/nixpkgs/commit/5df5198979f5386688d17b91cb4041b9d59a2087 Author: Tim Steinbach Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/video/mkvtoolnix/default.nix Log Message: --- Merge pull request #19756 from romildo/upd.mkvtoolnix mkvtoolnix: 9.4.2 -> 9.5.0 Compare: https://github.com/NixOS/nixpkgs/compare/d5b057335b3c...5df5198979f5___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/hydra] 881d3b: Bump Nix
Branch: refs/heads/master Home: https://github.com/NixOS/hydra Commit: 881d3bc017d9f9941e6672d6b6fc1072dda8b8a2 https://github.com/NixOS/hydra/commit/881d3bc017d9f9941e6672d6b6fc1072dda8b8a2 Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M release.nix Log Message: --- Bump Nix ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b587e9: avro-cpp: 1.7.5 -> 1.8.1 + using boost 1.55 -> 1.6...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b587e953a11388b23a4d2d7277e0501a04a5cb73 https://github.com/NixOS/nixpkgs/commit/b587e953a11388b23a4d2d7277e0501a04a5cb73 Author: Bruno BzeznikDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/development/libraries/avro-c++/default.nix M pkgs/top-level/all-packages.nix Log Message: --- avro-cpp: 1.7.5 -> 1.8.1 + using boost 1.55 -> 1.60 Commit: d5b057335b3cf16ecbfb696ede8c06512474245f https://github.com/NixOS/nixpkgs/commit/d5b057335b3cf16ecbfb696ede8c06512474245f Author: Tim Steinbach Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/development/libraries/avro-c++/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #19755 from bzizou/avro-cpp avro-cpp: 1.7.5 -> 1.8.1 + using boost 1.55 -> 1.60 Compare: https://github.com/NixOS/nixpkgs/compare/1e66aa6e5e12...d5b057335b3c___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Patching your system to deal with CVE-2016-5195
Hi all, CVE-2016-5195 is a serious privilege escalation impacting all kernels released before 10/20. The channel is currently in the process of updating, but the cache already contains binaries for 4.8.3 and 4.4.26. If you are currently building your system against the channel or an old checkout of nixpkgs that you cannot update, please check out a recent revision of nixpkgs (later than 0b20f6daba35575a7d4d2a61f42830d793a12892 on 16.09, later than 76a57d83b5a4df7c3ac85b25c5ab10d6fb415eb2 on master) and add the following to your configuration.nix: system.replaceRuntimeDependencies = [ ({ original = config.boot.kernelPackages.kernel; replacement = (import /path/to/new/nixpkgs {}).linux; /* or linux_latest if using 4.8 */ }) ]; Thanks, Shea 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/hydra] 5d8fbc: Fix referer check
Branch: refs/heads/master Home: https://github.com/NixOS/hydra Commit: 5d8fbc6ca1d9fa9571ffdd9037e2840a368ec46c https://github.com/NixOS/hydra/commit/5d8fbc6ca1d9fa9571ffdd9037e2840a368ec46c Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M src/lib/Hydra/Controller/Root.pm Log Message: --- Fix referer check Commit: a3efdcdfd910aabd3001467864eaf2990f6c57a2 https://github.com/NixOS/hydra/commit/a3efdcdfd910aabd3001467864eaf2990f6c57a2 Author: Eelco Dolstra Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M src/hydra-queue-runner/build-result.cc Log Message: --- Use std::regex Compare: https://github.com/NixOS/hydra/compare/c928c41ee1f1...a3efdcdfd910___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nix] 542ae5: BinaryCacheStore: Optionally write a NAR listing
Branch: refs/heads/master Home: https://github.com/NixOS/nix Commit: 542ae5c8f804b704101f9d27bd8b2aa62ded899c https://github.com/NixOS/nix/commit/542ae5c8f804b704101f9d27bd8b2aa62ded899c Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M src/libstore/binary-cache-store.cc M src/libstore/binary-cache-store.hh M src/libstore/download.cc M src/libstore/export-import.cc M src/libstore/local-store.cc M src/libstore/local-store.hh M src/libstore/remote-store.cc M src/libstore/remote-store.hh M src/libstore/store-api.cc M src/libstore/store-api.hh Log Message: --- BinaryCacheStore: Optionally write a NAR listing The store parameter "write-nar-listing=1" will cause BinaryCacheStore to write a file ‘.ls.xz’ for each ‘.narinfo’ added to the binary cache. This file contains an XZ-compressed JSON file describing the contents of the NAR, excluding the contents of regular files. E.g. { "version": 1, "root": { "type": "directory", "entries": { "lib": { "type": "directory", "entries": { "Mcrt1.o": { "type": "regular", "size": 1288 }, "Scrt1.o": { "type": "regular", "size": 3920 }, } } } ... } } (The actual file has no indentation.) This is intended to speed up the NixOS channels programs index generator [1], since fetching gazillions of large NARs from cache.nixos.org is currently a bottleneck for updating the regular (non-small) channel. [1] https://github.com/NixOS/nixos-channel-scripts/blob/master/generate-programs-index.cc Commit: fdbbcc44924cb4d9028fa68b2f7d423fb5d8670f https://github.com/NixOS/nix/commit/fdbbcc44924cb4d9028fa68b2f7d423fb5d8670f Author: Eelco Dolstra Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M src/libstore/binary-cache-store.cc M src/libstore/binary-cache-store.hh M src/libstore/export-import.cc M src/libstore/local-store.cc M src/libstore/local-store.hh M src/libstore/remote-store.cc M src/libstore/remote-store.hh M src/libstore/store-api.hh M src/nix-daemon/nix-daemon.cc Log Message: --- Remove addPathToAccessor Compare: https://github.com/NixOS/nix/compare/307cc8c33d1d...fdbbcc44924c___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 1e66aa: cppcheck: 1.74 -> 1.76.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1e66aa6e5e1294e99d2288015cc9e5e904465cbf https://github.com/NixOS/nixpkgs/commit/1e66aa6e5e1294e99d2288015cc9e5e904465cbf Author: Nikolay AmiantovDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/development/tools/analysis/cppcheck/default.nix Log Message: --- cppcheck: 1.74 -> 1.76.1 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3f784a: nspr: 4.12 -> 4.13.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3f784a3f8780bc6c9566c8fa581d00991046512a https://github.com/NixOS/nixpkgs/commit/3f784a3f8780bc6c9566c8fa581d00991046512a Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/development/libraries/nspr/default.nix Log Message: --- nspr: 4.12 -> 4.13.1 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 40d8b7: remmina: fix GSettings schemas not found error
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 40d8b743f47255d09bab48c0ff81b44bc88404eb https://github.com/NixOS/nixpkgs/commit/40d8b743f47255d09bab48c0ff81b44bc88404eb Author: mingchuanDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/networking/remote/remmina/default.nix Log Message: --- remmina: fix GSettings schemas not found error Use gappWrapper to wrap the program so that remmina can find GSettings schemas. Commit: 20db0ac526adfdcb7cca1b256c1df741a0a7ac0b https://github.com/NixOS/nixpkgs/commit/20db0ac526adfdcb7cca1b256c1df741a0a7ac0b Author: Peter Simons Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/networking/remote/remmina/default.nix Log Message: --- Merge pull request #19748 from sifmelcara/remmina-fix remmina: fix GSettings schemas not found error Compare: https://github.com/NixOS/nixpkgs/compare/15dea1957789...20db0ac526ad___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b8e921: firefox-bin: 49.0 -> 49.0.2
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b8e9217c79da96647232997aaad25baa3632f1d2 https://github.com/NixOS/nixpkgs/commit/b8e9217c79da96647232997aaad25baa3632f1d2 Author: taku0Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/networking/browsers/firefox-bin/sources.nix Log Message: --- firefox-bin: 49.0 -> 49.0.2 Commit: 15dea1957789f3f34b1f149d7a23f146e9e2768f https://github.com/NixOS/nixpkgs/commit/15dea1957789f3f34b1f149d7a23f146e9e2768f Author: Eelco Dolstra Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/networking/browsers/firefox-bin/sources.nix Log Message: --- Merge pull request #19753 from taku0/firefox-bin-49.0.2 firefox-bin: 49.0 -> 49.0.2 Compare: https://github.com/NixOS/nixpkgs/compare/12212a0b13be...15dea1957789___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 12212a: firefox: 49.0.1 -> 49.0.2
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 12212a0b13be031eab9c0611bbfd35041fd70c5a https://github.com/NixOS/nixpkgs/commit/12212a0b13be031eab9c0611bbfd35041fd70c5a Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/networking/browsers/firefox/default.nix Log Message: --- firefox: 49.0.1 -> 49.0.2 CVE-2016-5287, CVE-2016-5288 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] d6f1c5: buku: 2.4 -> 2.5
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d6f1c52735cfe2e0cb7a7724dde18b06e5bdf184 https://github.com/NixOS/nixpkgs/commit/d6f1c52735cfe2e0cb7a7724dde18b06e5bdf184 Author: Edward TjörnhammarDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/misc/buku/default.nix Log Message: --- buku: 2.4 -> 2.5 Commit: 67053058269ab1cba1cd3c58f25068c85015e9f4 https://github.com/NixOS/nixpkgs/commit/67053058269ab1cba1cd3c58f25068c85015e9f4 Author: Tim Steinbach Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/misc/buku/default.nix Log Message: --- Merge pull request #19746 from edwtjo/buku-25 buku: 2.4 -> 2.5 Compare: https://github.com/NixOS/nixpkgs/compare/e6088f77bee7...67053058269a___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 2bc237: statsd: 0.7.2 -> 0.8.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 2bc237ebe24fe64eb5c3b2f42d23c5d77242007c https://github.com/NixOS/nixpkgs/commit/2bc237ebe24fe64eb5c3b2f42d23c5d77242007c Author: Tim SteinbachDate: 2016-10-20 (Thu, 20 Oct 2016) Changed paths: M pkgs/tools/networking/statsd/node-packages.nix M pkgs/top-level/all-packages.nix Log Message: --- statsd: 0.7.2 -> 0.8.0 Commit: bf46b99402b4a35ad6c36752623c665f2d1c8d74 https://github.com/NixOS/nixpkgs/commit/bf46b99402b4a35ad6c36752623c665f2d1c8d74 Author: Tim Steinbach Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/tools/networking/statsd/node-packages.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #19740 from NeQuissimus/statsd_0_8_0 statsd: 0.7.2 -> 0.8.0 Compare: https://github.com/NixOS/nixpkgs/compare/67053058269a...bf46b99402b4___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b3aba6: emby: 3.0.8200 -> 3.0.8300
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b3aba65b78f5ce255c3d9bedff1047b491367df2 https://github.com/NixOS/nixpkgs/commit/b3aba65b78f5ce255c3d9bedff1047b491367df2 Author: Tristan HelmichDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/servers/emby/default.nix Log Message: --- emby: 3.0.8200 -> 3.0.8300 Commit: 80c2920925fc79ea02ba864b7324bbf7d2bc016d https://github.com/NixOS/nixpkgs/commit/80c2920925fc79ea02ba864b7324bbf7d2bc016d Author: Joachim F Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/servers/emby/default.nix Log Message: --- Merge pull request #19751 from mayflower/emby_8300 emby: 3.0.8200 -> 3.0.8300 Compare: https://github.com/NixOS/nixpkgs/compare/321e07362990...80c2920925fc___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 321e07: Python: bootstrapped-pip: use `python.libPrefix` i...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 321e073629908e2d48a6f4020a2596797e60e645 https://github.com/NixOS/nixpkgs/commit/321e073629908e2d48a6f4020a2596797e60e645 Author: Frederik RietdijkDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/development/python-modules/bootstrapped-pip/default.nix Log Message: --- Python: bootstrapped-pip: use `python.libPrefix` in name See 4de7cbdf04940da9715925d6db25509e661c79c8 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] c1c048: initrd: Include i8042 kernel module
Branch: refs/heads/release-16.03 Home: https://github.com/NixOS/nixpkgs Commit: c1c0484041ab6f9c6858c8ade80a8477c9ae4442 https://github.com/NixOS/nixpkgs/commit/c1c0484041ab6f9c6858c8ade80a8477c9ae4442 Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/system/boot/kernel.nix Log Message: --- initrd: Include i8042 kernel module For some reason, between Linux 4.4.19 and 4.4.20, the atkbd and libps2 kernel modules lost their dependency on i8042 in modules.dep, causing i8042 not to be included in the initrd. This breaks keyboard in the initrd, in turn breaking LUKS. This only happens on the 16.03 branch; on 16.09, it appears i8042 is pulled into the initrd anyway (through some other dependency, presumably). But let's include it explicitly. http://hydra.nixos.org/build/40468431 (cherry picked from commit e6088f77bee79e2d202b3ded195648e77207bb21) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] e6088f: initrd: Include i8042 kernel module
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e6088f77bee79e2d202b3ded195648e77207bb21 https://github.com/NixOS/nixpkgs/commit/e6088f77bee79e2d202b3ded195648e77207bb21 Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/system/boot/kernel.nix Log Message: --- initrd: Include i8042 kernel module For some reason, between Linux 4.4.19 and 4.4.20, the atkbd and libps2 kernel modules lost their dependency on i8042 in modules.dep, causing i8042 not to be included in the initrd. This breaks keyboard in the initrd, in turn breaking LUKS. This only happens on the 16.03 branch; on 16.09, it appears i8042 is pulled into the initrd anyway (through some other dependency, presumably). But let's include it explicitly. http://hydra.nixos.org/build/40468431 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] d8f21b: acme: provide full nginx example
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d8f21b3ca3962c725eddc3d6513acaeca25c2e7f https://github.com/NixOS/nixpkgs/commit/d8f21b3ca3962c725eddc3d6513acaeca25c2e7f Author: Domen KožarDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/security/acme.xml Log Message: --- acme: provide full nginx example (cherry picked from commit 2af7382f76a6523f1220637b3ec49ad25a02b040) Signed-off-by: Domen Kožar ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 686bc9: acme: we do want to support ipv4 afterall
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 686bc9c5ccafbec2b6d2db61bd0803c2b7bc2b7d https://github.com/NixOS/nixpkgs/commit/686bc9c5ccafbec2b6d2db61bd0803c2b7bc2b7d Author: Domen KožarDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/security/acme.xml Log Message: --- acme: we do want to support ipv4 afterall (cherry picked from commit 41c490b75eddd121b10674cad53de8c299cc772b) Signed-off-by: Domen Kožar ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 41c490: acme: we do want to support ipv4 afterall
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 41c490b75eddd121b10674cad53de8c299cc772b https://github.com/NixOS/nixpkgs/commit/41c490b75eddd121b10674cad53de8c299cc772b Author: Domen KožarDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/security/acme.xml Log Message: --- acme: we do want to support ipv4 afterall ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 2af738: acme: provide full nginx example
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 2af7382f76a6523f1220637b3ec49ad25a02b040 https://github.com/NixOS/nixpkgs/commit/2af7382f76a6523f1220637b3ec49ad25a02b040 Author: Domen KožarDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixos/modules/security/acme.xml Log Message: --- acme: provide full nginx example ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Questions about ruby app nixpkg
Hi, I made a nix pkg for ruby web application. I used "bundix" and bundleEnv to handle dependencies. My "installPhase" looks like this: installPhase = '' mkdir -p $out/{bin,etc/apibox} cp . -r $out/etc/apibox makeWrapper ${env}/bin/pumactl $out/bin/pumactl ''; You can see the the derivation on github[1]. My systemd expression: { pkgs, ... }: { systemd.services.apibox = { description = "Start apibox"; serviceConfig = { Type = "forking"; ExecStart = "${pkgs.apibox}/bin/pumactl -F ${pkgs.apibox}/etc/config/puma.rb start"; ExecStop = "${pkgs.apibox}/bin/pumactl -F ${pkgs.apibox}/etc/config/puma.rb stop"; Restart = "on-failure"; }; wantedBy = [ "default.target" ]; }; systemd.services.apibox.enable = true; } Nix created the following 'ExecStart' line: /nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/bin/pumactl -F /nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/etc/config/puma.rb start The problem is that " /nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/etc/config/puma.rb" doesn't exist: --- [root@nixbox:~]# ls /nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/etc/config/puma.rb ls: cannot access '/nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/etc/config/puma.rb': No such file or directory [root@nixbox:~]# find /nix -name puma.rb /nix/store/jh9l7zzyy1xg3m49h98zk2lfx8ldvdff-apibox-v0.0.2-src/config/puma.rb /nix/store/9x4mwwwl5yniyr640rx7w9zm87dc2df7-ruby2.3.1-puma-3.6.0/lib/ruby/gems/2.3.0/gems/puma-3.6.0/lib/puma.rb /nix/store/9x4mwwwl5yniyr640rx7w9zm87dc2df7-ruby2.3.1-puma-3.6.0/lib/ruby/gems/2.3.0/gems/puma-3.6.0/lib/rack/handler/puma.rb [root@nixbox:~]# find /nix -name pumactl /nix/store/8w73j2wzwjamvm0ck55dh6s4jx0ky8dl-system-path/bin/pumactl /nix/store/9x4mwwwl5yniyr640rx7w9zm87dc2df7-ruby2.3.1-puma-3.6.0/bin/pumactl /nix/store/9x4mwwwl5yniyr640rx7w9zm87dc2df7-ruby2.3.1-puma-3.6.0/lib/ruby/gems/2.3.0/bin/pumactl /nix/store/9x4mwwwl5yniyr640rx7w9zm87dc2df7-ruby2.3.1-puma-3.6.0/lib/ruby/gems/2.3.0/gems/puma-3.6.0/bin/pumactl /nix/store/5a086wv9r988d40jnvp7rqlxzsy8nm2q-apibox-0.0.2/bin/pumactl /nix/store/5a086wv9r988d40jnvp7rqlxzsy8nm2q-apibox-0.0.2/lib/ruby/gems/2.3.0/bin/pumactl /nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/bin/pumactl --- So apparently "cp . -r $out/etc/apibox" and "makeWrapper ${env}/bin/pumactl $out/bin/pumactl" create two different paths. I have the following questions: 1) Why does nix create 2 paths for pumactl: a) /nix/store/a15kcwkchplhcy7cv5q570lbpr0fchq4-apibox-0.0.2/bin/pumactl b) /nix/store/5a086wv9r988d40jnvp7rqlxzsy8nm2q-apibox-0.0.2/bin/pumactl 2) What is the best way to point to the proper configuration file ? Thanks for your time! [1]: https://github.com/atmosx/nixpkgs/blob/399d81ac112495abbaaeedaabfe1a047b3c4c00b/pkgs/development/misc/apibox/default.nix Panagiotis (atmosx) Atmatzidis email: a...@convalesco.org URL:http://www.convalesco.org GnuPG ID: 0x1A7BFEC5 gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5 "Everyone thinks of changing the world, but no one thinks of changing himself.” - Leo Tolstoy ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixops] 5e2ff1: Don't recreate volumes that have been deleted and ...
Branch: refs/heads/master Home: https://github.com/NixOS/nixops Commit: 5e2ff127e052aa01e0755bc30067fec5d2362836 https://github.com/NixOS/nixops/commit/5e2ff127e052aa01e0755bc30067fec5d2362836 Author: Eelco DolstraDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M nixops/backends/ec2.py Log Message: --- Don't recreate volumes that have been deleted and are no longer in the spec ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] cbec6a: vmfs-tools: init at 2016-01-16
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cbec6a304a96908b35502c9e126b08968fc77ab2 https://github.com/NixOS/nixpkgs/commit/cbec6a304a96908b35502c9e126b08968fc77ab2 Author: Peter HoegDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: A pkgs/tools/filesystems/vmfs-tools/default.nix M pkgs/top-level/all-packages.nix Log Message: --- vmfs-tools: init at 2016-01-16 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 9b2fbb: eclipse: less heavy comments
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9b2fbb776b5a59be275271a6b45903b57f9cc3f0 https://github.com/NixOS/nixpkgs/commit/9b2fbb776b5a59be275271a6b45903b57f9cc3f0 Author: Robert HelgessonDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/applications/editors/eclipse/default.nix Log Message: --- eclipse: less heavy comments ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] bc6e35: linuxPackages_3_10_tuxonice: delete
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bc6e35cbe120e417c7598b690adc1b7241f488e1 https://github.com/NixOS/nixpkgs/commit/bc6e35cbe120e417c7598b690adc1b7241f488e1 Author: Joachim FastingDate: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/top-level/all-packages.nix Log Message: --- linuxPackages_3_10_tuxonice: delete The 3.10 tuxonice kernel was removed over 2 years ago in d2193736dbc22811f83e6e77e139ed938e4690ae Commit: 542b737d86ee37a646d7b3a1da71fce953406ae5 https://github.com/NixOS/nixpkgs/commit/542b737d86ee37a646d7b3a1da71fce953406ae5 Author: Domen Kožar Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #19747 from joachifm/remove-linuxPackages_tuxonice linuxPackages_3_10_tuxonice: delete Compare: https://github.com/NixOS/nixpkgs/compare/5400fb619b88...542b737d86ee___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Boost postFixup failing
Ok system memory is probably not the issue with 16GB, maybe it's the process itself who has some sort of ulimit. The next step would be to try to graph memory usage over time. Yes as long as the source and the target are on the same architecture you can use nixops easily. I think otherwise you'll require a remote builder. On Thu, 20 Oct 2016, 22:12 Ashley Gillman,wrote: > Thanks Zimbatm, > 16GB, and I retried with 32GB. > > Actually a very good idea with NixOps. I didn't realise you could use your > own pre-built stuff, that would really simplify things. As a data scientist > I am not so familiar with DevOps but it might be just the solution to get > the reproducibility I need. Guess I have my weekend project sorted :) > > Cheers, > Ash > > > > On 21 Oct 2016, at 3:47 am, zimbatm wrote: > > > > How much memory do you have available? 16MB is just for this process, > nix-env itself is probably taking another 200MB or more. > > > > One solution is to build things locally and then use nix-copy-closure or > nixops to deploy the changes. > > > > > > On Thu, 20 Oct 2016, 13:55 Ashley Gillman, wrote: > > Hi Nix Dev, > > > > I am having issues installing on an HPC cluster. My methodology has been > using PRoot to mount a directory to /nix. I am using Nix 1.11.2 > > > > Impurities seem to be creeping into the build process, that I don't get > when building locally. For example, when building Python Pillow, I had to > also mount an empty directory over /usr/include, because the builds were > including gcc flags for `-I/usr/include` and breaking the build. But this > shouldn't happen, should it? The hack of mounting over these directories > was a temporary fix. > > > > My current error is when building Boost with GCC49, which again works > locally (Ubuntu 14.04) but not on the cluster. > > > > nix-build -E 'with import { }; boost.override { stdenv = > overrideCC stdenv gcc49; }' > > ... > > post-installation fixup > > shrinking RPATHs of ELF executables and libraries in > /nix/store/fv2wsfc1g43m72xy0398lh8wgi6nsx1z-boost-1.59.0 > > gzipping man pages in > /nix/store/fv2wsfc1g43m72xy0398lh8wgi6nsx1z-boost-1.59.0 > > patching script interpreter paths in > /nix/store/fv2wsfc1g43m72xy0398lh8wgi6nsx1z-boost-1.59.0 > > shrinking RPATHs of ELF executables and libraries in > /nix/store/sgs6pcdj7c3xkmvh0s51hvs06ahan50l-boost-1.59.0-dev > > /nix/store/nkl8p82samb219yr5i7bdx4mm2mgg5ab-stdenv/setup: xmalloc: > subst.c:4911: cannot allocate 256 bytes (16777216 bytes allocated) > > builder for > ‘/nix/store/xqsq53xim1kbhk4zsdimmjxwc9s13n3b-boost-1.59.0.drv’ failed with > exit code 2 > > > > This looks like a memory error, but for 16MB? I certainly have much more > memory than that available, and increasing the allocated memory for the > compute nodes doesn't change the error. I am guessing it may be again due > to some impurity, how can these creep in? > > > > Any advise, even on how best to debug, is much appreciated. > > > > Kind regards, > > Ashley > > ___ > > 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] f98dac: pytestflakes: 1.0.0 -> 1.0.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f98dac2ac844bad44a940da6ec30368532e5af9b https://github.com/NixOS/nixpkgs/commit/f98dac2ac844bad44a940da6ec30368532e5af9b Author: Thilo UttendorferDate: 2016-10-18 (Tue, 18 Oct 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- pytestflakes: 1.0.0 -> 1.0.1 Commit: 5400fb619b885317ac33e4f2dd3510e7b0722082 https://github.com/NixOS/nixpkgs/commit/5400fb619b885317ac33e4f2dd3510e7b0722082 Author: Frederik Rietdijk Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- Merge pull request #19736 from sengaya/patch-1 pytestflakes: 1.0.0 -> 1.0.1 Compare: https://github.com/NixOS/nixpkgs/compare/9c52f56d6f06...5400fb619b88___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] cf8362: fleet: 0.11.5 -> 0.11.8
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cf8362ffeca1fa028cda5e4a4f93915c51d3e14f https://github.com/NixOS/nixpkgs/commit/cf8362ffeca1fa028cda5e4a4f93915c51d3e14f Author: Jascha GeerdsDate: 2016-10-19 (Wed, 19 Oct 2016) Changed paths: M pkgs/servers/fleet/default.nix Log Message: --- fleet: 0.11.5 -> 0.11.8 Commit: 9c52f56d6f063e55f7684a5c3f640d704e76bdd9 https://github.com/NixOS/nixpkgs/commit/9c52f56d6f063e55f7684a5c3f640d704e76bdd9 Author: Jascha Geerds Date: 2016-10-21 (Fri, 21 Oct 2016) Changed paths: M pkgs/servers/fleet/default.nix Log Message: --- Merge pull request #19686 from jgeerds/fleet fleet: 0.11.5 -> 0.11.8 Compare: https://github.com/NixOS/nixpkgs/compare/d442c5038057...9c52f56d6f06___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits