Re: [Nix-dev] How can I boot into nixos from a grub installed on other drive ? (chroot problem)
On 6 April 2017 at 10:35, Matt wrote: > > hi, > > My macbook SATA wire broke, I plugged its harddrive with nixos (16.XX) > installed into my workstation and now I would like to boot on it. My > main workstation harddrive is ubuntu with grub. > I would like to add a grub entry to boot on it (the grub is on the > ubuntu harddrive). > > From Ubuntu, I mounted the nixos hardrive in /mnt/nixos I played a bit > with os-prober to have grub-update generate the nixos entry but it > fails to do so. > > Finally I stumbled upon: > http://lists.science.uu.nl/pipermail/nix-dev/2015-August/017932.html > which seems like a good idea ?! i.e., have nixos generate its own grub > entries (without installing grub) and then have the grub ony my ubuntu > drive include those config file. > > The problem I now have is to be able to generate the nixos grub > entries, which require to run "nixos-rebuild switch" from my ubuntu > partition. > > I've tried to chroot but it fails miserably ? How can I circumvent that ? > === > LANG=C sudo chroot . nix/store/*-nixos-system-*/init > <<< NixOS Stage 2 >>> > > running activation script... > setting up /etc... > starting systemd... > Trying to run as user instance, but the system has not been booted with > systemd. > === > > Here is the content of /mnt/nixos/boot , I don't know much about EFI > but I wonder if it can be a problem, ie., if I can boot those kernels > on a different laptop. > == > ubuntu$ ls -R /mnt/nixos/boot > > ./boot: > efi/ loader/ > > ./boot/efi: > nixos/ > > ./boot/efi/nixos: > 8ii7mf9a1c7d9g09p176z7682smyrg96-initrd-initrd.efi > mjy1zi0iygs5d676yplrdckjhw011prm-linux-4.4.39-bzImage.efi > hjbgyi20c2w17vsdcxpprgyzvzp528pp-initrd-initrd.efi > v440b1as5dpbwv5id2ijkwip5qv6c3mz-initrd-initrd.efi > jhhfsg8lpvnf16xryk6xdb18mdv52ggd-initrd-initrd.efi > y10bb973l89wl5n3gwx8zl0ml4h24hg6-linux-4.4.45-bzImage.efi > jxiz0q5q98yi5bw8hajzdnwrjkx5m6iz-linux-4.4.47-bzImage.efi > ywrjsjk0l5rak4qmhww3n7fs2gb9kxrn-initrd-initrd.efi > > ./boot/loader: > entries/ loader.conf > > ./boot/loader/entries: > nixos-generation-10.conf nixos-generation-16.conf > nixos-generation-21.conf nixos-generation-27.conf > nixos-generation-6.conf > nixos-generation-11.conf nixos-generation-17.conf > nixos-generation-22.conf nixos-generation-28.conf > nixos-generation-7.conf > nixos-generation-12.conf nixos-generation-18.conf > nixos-generation-23.conf nixos-generation-2.conf > nixos-generation-8.conf > nixos-generation-13.conf nixos-generation-19.conf > nixos-generation-24.conf nixos-generation-3.conf > nixos-generation-9.conf > nixos-generation-14.conf nixos-generation-1.conf > nixos-generation-25.conf nixos-generation-4.conf > nixos-generation-15.conf nixos-generation-20.conf > nixos-generation-26.conf nixos-generation-5.conf Hi Matt, Did you ever solve your problem? Have you tried a chroot without running the init script? E.g. set up the correct mount points (/proc, /dev, etc) using mount -o bind, and then start nix-daemon and run nixos-rebuild. NB: I haven't tried installing NixOS on a mac. Just trying to generate ideas. James ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] ea2d55: docker: improve reproducibility of layers
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: ea2d55d5f754cd0320ee4d1aa785e9b23a842739 https://github.com/NixOS/nixpkgs/commit/ea2d55d5f754cd0320ee4d1aa785e9b23a842739 Author: Tim Stewart Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/build-support/docker/default.nix Log Message: --- docker: improve reproducibility of layers This patch fixes file modification times to $SOURCE_DATE_EPOCH, and ensures that files originating from the store are owned by root:root. Both changes improve reproducibility, and the latter allows proper building on a host where the store is owned by a non-root user. (cherry picked from commit 5ca1646bb0404a21dcfc4b3842f0651c1d19b3cc) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 5ca164: docker: improve reproducibility of layers
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5ca1646bb0404a21dcfc4b3842f0651c1d19b3cc https://github.com/NixOS/nixpkgs/commit/5ca1646bb0404a21dcfc4b3842f0651c1d19b3cc Author: Tim Stewart Date: 2017-04-16 (Sun, 16 Apr 2017) Changed paths: M pkgs/build-support/docker/default.nix Log Message: --- docker: improve reproducibility of layers This patch fixes file modification times to $SOURCE_DATE_EPOCH, and ensures that files originating from the store are owned by root:root. Both changes improve reproducibility, and the latter allows proper building on a host where the store is owned by a non-root user. Commit: 8cf393bf481b1b11be6491787a1efce21414a990 https://github.com/NixOS/nixpkgs/commit/8cf393bf481b1b11be6491787a1efce21414a990 Author: Benjamin Staffin Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/build-support/docker/default.nix Log Message: --- Merge pull request #24947 from timclassic/docker-repro docker: improve reproducibility of layers Compare: https://github.com/NixOS/nixpkgs/compare/9239bc6c9680...8cf393bf481b___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 5c91dc: release-cross: Fix more typos---this is embarrisin...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5c91dc9bcf654fc7f476cf3d56bd257b4fd13668 https://github.com/NixOS/nixpkgs/commit/5c91dc9bcf654fc7f476cf3d56bd257b4fd13668 Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/top-level/release-cross.nix Log Message: --- release-cross: Fix more typos---this is embarrising Commit: 9239bc6c9680950abf49ace083f64590aff97bed https://github.com/NixOS/nixpkgs/commit/9239bc6c9680950abf49ace083f64590aff97bed Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/top-level/release-cross.nix Log Message: --- Merge pull request #24982 from Ericson2314/fix release-cross: Fix more typos---this is embarrising Compare: https://github.com/NixOS/nixpkgs/compare/1832a34a9a6a...9239bc6c9680___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 9169f3: release-cross: Fix typo preventing evaluation
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9169f3c92471702b48a9553f7438a1b3018339de https://github.com/NixOS/nixpkgs/commit/9169f3c92471702b48a9553f7438a1b3018339de Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/top-level/release-cross.nix Log Message: --- release-cross: Fix typo preventing evaluation Commit: 1832a34a9a6a6f6c9bdac1993805d591c9b0d9d8 https://github.com/NixOS/nixpkgs/commit/1832a34a9a6a6f6c9bdac1993805d591c9b0d9d8 Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/top-level/release-cross.nix Log Message: --- Merge pull request #24981 from Ericson2314/fix release-cross: Fix typo preventing evaluation Compare: https://github.com/NixOS/nixpkgs/compare/6b7c5ba5353e...1832a34a9a6a___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 40a549: display-manager: fix argument handling of sddm
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 40a5498c3f9558b1f033e17ebd65c21c56e4f0ba https://github.com/NixOS/nixpkgs/commit/40a5498c3f9558b1f033e17ebd65c21c56e4f0ba Author: Jörg Thalheim Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M nixos/modules/services/x11/display-managers/default.nix Log Message: --- display-manager: fix argument handling of sddm previously session type was not correctly set. fixes #23264 (cherry picked from commit 6b7c5ba5353e2a81255879173de758fc5f08be62) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 6b7c5b: display-manager: fix argument handling of sddm
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6b7c5ba5353e2a81255879173de758fc5f08be62 https://github.com/NixOS/nixpkgs/commit/6b7c5ba5353e2a81255879173de758fc5f08be62 Author: Jörg Thalheim Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M nixos/modules/services/x11/display-managers/default.nix Log Message: --- display-manager: fix argument handling of sddm previously session type was not correctly set. fixes #23264 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 57a29c: instead-launcher: init at 0.6.3
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 57a29cab6a3955e2f8795aed8142e51d73f7d26d https://github.com/NixOS/nixpkgs/commit/57a29cab6a3955e2f8795aed8142e51d73f7d26d Author: Orivej Desh Date: 2017-04-01 (Sat, 01 Apr 2017) Changed paths: A pkgs/games/instead-launcher/default.nix A pkgs/games/instead-launcher/path.patch M pkgs/top-level/all-packages.nix Log Message: --- instead-launcher: init at 0.6.3 Commit: 81e6e211750eca8760b57b184ac00b66db710f85 https://github.com/NixOS/nixpkgs/commit/81e6e211750eca8760b57b184ac00b66db710f85 Author: Jörg Thalheim Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: A pkgs/games/instead-launcher/default.nix A pkgs/games/instead-launcher/path.patch M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #24521 from orivej/instead-launcher instead-launcher: init at 0.6.3 Compare: https://github.com/NixOS/nixpkgs/compare/ae49647e9cbc...81e6e211750e___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] d6b42b: perl: 5.22.2 -> 5.22.3
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: d6b42b4008b64eac3a99c4ed5a6c2b197fc1abdc https://github.com/NixOS/nixpkgs/commit/d6b42b4008b64eac3a99c4ed5a6c2b197fc1abdc Author: Maksim Bronsky Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M pkgs/development/interpreters/perl/default.nix Log Message: --- perl: 5.22.2 -> 5.22.3 Commit: f78c0329340172aa0819d7a2fdc36b0a8fbb6d2a https://github.com/NixOS/nixpkgs/commit/f78c0329340172aa0819d7a2fdc36b0a8fbb6d2a Author: Maksim Bronsky Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M pkgs/development/interpreters/perl/default.nix Log Message: --- perl: init 5.24.1 and set as default perl Compare: https://github.com/NixOS/nixpkgs/compare/5c8ffe0311ca...f78c03293401___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 457bc9: inkscape: add potrace
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 457bc9bdc4b187c384b75ba61e38cdd6ebca5c7a https://github.com/NixOS/nixpkgs/commit/457bc9bdc4b187c384b75ba61e38cdd6ebca5c7a Author: Linus Heckemann Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/graphics/inkscape/default.nix Log Message: --- inkscape: add potrace This allows vectorising bitmap images in inkscape. Commit: ae49647e9cbcbaa56231232137c210a710222c47 https://github.com/NixOS/nixpkgs/commit/ae49647e9cbcbaa56231232137c210a710222c47 Author: Jörg Thalheim Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M pkgs/applications/graphics/inkscape/default.nix Log Message: --- Merge pull request #24975 from lheckemann/inkscape-potrace inkscape: add potrace Compare: https://github.com/NixOS/nixpkgs/compare/6e63f4108107...ae49647e9cbc___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 452f64: grub module: fix efiInstallAsRemovable description
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 452f64cdff7381f99dbbf7698b0580e712482e11 https://github.com/NixOS/nixpkgs/commit/452f64cdff7381f99dbbf7698b0580e712482e11 Author: zraexy Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M nixos/modules/system/boot/loader/grub/grub.nix Log Message: --- grub module: fix efiInstallAsRemovable description (cherry picked from commit c2b56626f1a872d06642777193b72d6473c8b97c) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] c2b566: grub module: fix efiInstallAsRemovable description
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c2b56626f1a872d06642777193b72d6473c8b97c https://github.com/NixOS/nixpkgs/commit/c2b56626f1a872d06642777193b72d6473c8b97c Author: zraexy Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M nixos/modules/system/boot/loader/grub/grub.nix Log Message: --- grub module: fix efiInstallAsRemovable description Commit: 6e63f4108107f0c92f7fe4e51eab2b18f39ba511 https://github.com/NixOS/nixpkgs/commit/6e63f4108107f0c92f7fe4e51eab2b18f39ba511 Author: Jörg Thalheim Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M nixos/modules/system/boot/loader/grub/grub.nix Log Message: --- Merge pull request #24978 from zraexy/zraexy-grub grub module: fix efiInstallAsRemovable description Compare: https://github.com/NixOS/nixpkgs/compare/f0b634c7e838...6e63f4108107___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] NixOps failes to deploy: bash: Argument list too long
Hi Philip, You're totally right on that! I've basically hacked myself a system configuration together based on what I could find online and with the help of you guys here. I'm doing this all by myself and I know practically no one in real life using Nix as well. Understanding Nix still seems daunting to me. Besides all that, Nix is just a small part of my life since the application code is my main responsibility and requires my full attention. Anyway, I'll give both manuals a good long hard look and will resort to getting in touch with you for consultancy if I can't get it to work as intended. I'm probably doing a lot of things wrong or inefficient anyway and could use a professional look at my efforts. Kind regards, Erik On Tue, 18 Apr 2017, 00:10 Profpatsch, wrote: > On 17-04-15 10:14am, 4levels wrote: > > Hi Profpatsch, > > > > the name nixos-system-secure comes from one machine called "secure". > > I'm using various nix files to separate / group some parts of the machine > > configurations we're using. > > We're deploying +10 servers for our application code (mancloud) and the > > machine with name "secure" is supposed to have all keys from all other > > machines on it. > > > > I don't see where I should add the mentioned `set -x` > > We're usually calling nixops as follows > > nixops deploy --include secure --build-only -I nixpkgs= > > https://github.com/NixOS/nixpkgs-channels/archive/nixos-16.09.tar.gz > > > > … > > I’m pretty sure you are not well-versed with nix and nixos yet. > nixops builds on these two blocks. > > https://nixos.org/nix/manual/ > https://nixos.org/nixos/manual/ > > Once you work through these manuals > most of your questions will be answered. > > > -- > 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 https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] NixOps failes to deploy: bash: Argument list too long
On 17-04-15 10:14am, 4levels wrote: > Hi Profpatsch, > > the name nixos-system-secure comes from one machine called "secure". > I'm using various nix files to separate / group some parts of the machine > configurations we're using. > We're deploying +10 servers for our application code (mancloud) and the > machine with name "secure" is supposed to have all keys from all other > machines on it. > > I don't see where I should add the mentioned `set -x` > We're usually calling nixops as follows > nixops deploy --include secure --build-only -I nixpkgs= > https://github.com/NixOS/nixpkgs-channels/archive/nixos-16.09.tar.gz > > … I’m pretty sure you are not well-versed with nix and nixos yet. nixops builds on these two blocks. https://nixos.org/nix/manual/ https://nixos.org/nixos/manual/ Once you work through these manuals most of your questions will be answered. -- 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 https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 213d29: release-cross: For fuloong, just use the predefine...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 213d29f6b7c44cdc5182dacad78de047063845fa https://github.com/NixOS/nixpkgs/commit/213d29f6b7c44cdc5182dacad78de047063845fa Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/top-level/release-cross.nix Log Message: --- release-cross: For fuloong, just use the predefined platform This is a semantic change, but probably a safe one. In any event, this is very old hardware that probably no one uses anymore anyways. Commit: b477851f3427e3353d530ab0d47b63fe2686dd4b https://github.com/NixOS/nixpkgs/commit/b477851f3427e3353d530ab0d47b63fe2686dd4b Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/top-level/release-cross.nix M pkgs/top-level/release-lib.nix M pkgs/top-level/release-python.nix M pkgs/top-level/release-small.nix M pkgs/top-level/release.nix Log Message: --- top-level: Less indirection for lib in release*.nix Commit: 22277893923cdf26004d83b608b7e1c3ca7030fb https://github.com/NixOS/nixpkgs/commit/22277893923cdf26004d83b608b7e1c3ca7030fb Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/default.nix R lib/platforms.nix R lib/systems.nix A lib/systems/default.nix A lib/systems/doubles.nix A lib/systems/parse.nix A lib/systems/platforms.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/default.nix R pkgs/top-level/platforms.nix M pkgs/top-level/release-cross.nix Log Message: --- lib: Collect system/platform related files Previously, platforms was a random thing in top-level Commit: fffcee35f9b2042d4edc5dccb3379972e03ffd84 https://github.com/NixOS/nixpkgs/commit/fffcee35f9b2042d4edc5dccb3379972e03ffd84 Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/attrsets.nix Log Message: --- lib: Fix `matchAttrs` Commit: 8c99aab3ea4a9ddbd3918282da7861e674b4e7c4 https://github.com/NixOS/nixpkgs/commit/8c99aab3ea4a9ddbd3918282da7861e674b4e7c4 Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/systems/doubles.nix M lib/systems/parse.nix M lib/tests/release.nix A lib/tests/systems.nix M pkgs/top-level/release-cross.nix M pkgs/top-level/release-lib.nix M pkgs/top-level/release.nix Log Message: --- lib: Fix system parsing, and use for doubles lists The old hard-coded lists are now used to test system parsing. In the process, make an `assertTrue` in release lib for eval tests; also use it in release-cross Commit: d86caa3216dce17f54c1505a751cf5b403fd8bcf https://github.com/NixOS/nixpkgs/commit/d86caa3216dce17f54c1505a751cf5b403fd8bcf Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/tests/systems.nix Log Message: --- lib: Fix preexisting bugs in old platforms code (now bugs in tests) Warning, this changes the compatibility claims of existing packages! Commit: 3efc661a1de6a2ce9b98aa39283e68914297b8d7 https://github.com/NixOS/nixpkgs/commit/3efc661a1de6a2ce9b98aa39283e68914297b8d7 Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/systems/default.nix M lib/systems/platforms.nix M pkgs/top-level/default.nix Log Message: --- Elaborate `localSystem` and `crossSystem` in a consistent manner Commit: f0b634c7e838cdd65ac6f73933c99af3f38d0fa8 https://github.com/NixOS/nixpkgs/commit/f0b634c7e838cdd65ac6f73933c99af3f38d0fa8 Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/attrsets.nix M lib/default.nix R lib/platforms.nix R lib/systems.nix A lib/systems/default.nix A lib/systems/doubles.nix A lib/systems/parse.nix A lib/systems/platforms.nix M lib/tests/release.nix A lib/tests/systems.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/default.nix R pkgs/top-level/platforms.nix M pkgs/top-level/release-cross.nix M pkgs/top-level/release-lib.nix M pkgs/top-level/release-python.nix M pkgs/top-level/release-small.nix M pkgs/top-level/release.nix Log Message: --- Merge pull request #24610 from Ericson2314/platform-normalization Platform normalization Compare: https://github.com/NixOS/nixpkgs/compare/37e5e71fdf09...f0b634c7e838___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 85aa50: Introduce `mapNullable` into lib and use it in a f...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 85aa5005af530fef199cc41148e374e54d70e01e https://github.com/NixOS/nixpkgs/commit/85aa5005af530fef199cc41148e374e54d70e01e Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/trivial.nix M nixos/modules/services/monitoring/graphite.nix M nixos/modules/services/monitoring/prometheus/default.nix M pkgs/development/libraries/wiredtiger/default.nix M pkgs/os-specific/linux/nvidia-x11/generic.nix M pkgs/servers/shishi/default.nix M pkgs/tools/filesystems/ceph/generic.nix Log Message: --- Introduce `mapNullable` into lib and use it in a few places Also simply some configure flag logic my grep also alerted me too. Commit: 37e5e71fdf098a45471537e9961672592ef6f72a https://github.com/NixOS/nixpkgs/commit/37e5e71fdf098a45471537e9961672592ef6f72a Author: John Ericson Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M lib/trivial.nix M nixos/modules/services/monitoring/graphite.nix M nixos/modules/services/monitoring/prometheus/default.nix M pkgs/development/libraries/wiredtiger/default.nix M pkgs/os-specific/linux/nvidia-x11/generic.nix M pkgs/servers/shishi/default.nix M pkgs/tools/filesystems/ceph/generic.nix Log Message: --- Merge pull request #24974 from Ericson2314/mapNullable Introduce `mapNullable` into lib and use it in a few places Compare: https://github.com/NixOS/nixpkgs/compare/383706f36db1...37e5e71fdf09___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 383706: digikam: add video support through libqtav (#24866...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 383706f36db17307b7c2650ad35773f6c5b410d1 https://github.com/NixOS/nixpkgs/commit/383706f36db17307b7c2650ad35773f6c5b410d1 Author: jraygauthier Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/graphics/digikam/default.nix A pkgs/development/libraries/libqtav/default.nix M pkgs/top-level/all-packages.nix Log Message: --- digikam: add video support through libqtav (#24866) * libqtav: init at unstable-2017-03-30 * digikam: add video support through `libqtav` dependency Issue #24426. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 228f33: osm2pgsql: init at 0.92.1-unstable
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 228f33b21d21860566825331f7dc455f3b624ca8 https://github.com/NixOS/nixpkgs/commit/228f33b21d21860566825331f7dc455f3b624ca8 Author: Chris Hodapp Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/tools/misc/osm2pgsql/default.nix M pkgs/top-level/all-packages.nix Log Message: --- osm2pgsql: init at 0.92.1-unstable Commit: e223191da684ed6e3b59f571e9bf784afd85cc5b https://github.com/NixOS/nixpkgs/commit/e223191da684ed6e3b59f571e9bf784afd85cc5b Author: Michael Raskin <7c6f4...@mail.ru> Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/tools/misc/osm2pgsql/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #24972 from Hodapp87/osm2pgsql osm2pgsql: init at 0.92.1-unstable Compare: https://github.com/NixOS/nixpkgs/compare/00fa9c7a5342...e223191da684___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 974799: vivaldi: 1.6.689.34-1 -> 1.8.770.56-1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9747994a7b0be071c5f242cb8424abb190279c68 https://github.com/NixOS/nixpkgs/commit/9747994a7b0be071c5f242cb8424abb190279c68 Author: romildo Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/networking/browsers/vivaldi/default.nix Log Message: --- vivaldi: 1.6.689.34-1 -> 1.8.770.56-1 Add $out/opt/vivaldi/lib to RPATH so that libffmpeg.so distributed with Vivaldi can be found. Otherwise launching Vivaldi fails. Commit: 00fa9c7a534210e8419fde74b72612a56c3b8fa2 https://github.com/NixOS/nixpkgs/commit/00fa9c7a534210e8419fde74b72612a56c3b8fa2 Author: Jörg Thalheim Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/networking/browsers/vivaldi/default.nix Log Message: --- Merge pull request #24970 from romildo/upd.vivaldi vivaldi: 1.6.689.34-1 -> 1.8.770.56-1 Compare: https://github.com/NixOS/nixpkgs/compare/aeaa79dc8298...00fa9c7a5342___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] aeaa79: ratpoison: 1.4.8 -> 1.4.9
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: aeaa79dc82980869a88a5955ea3cd3e1944b7d80 https://github.com/NixOS/nixpkgs/commit/aeaa79dc82980869a88a5955ea3cd3e1944b7d80 Author: Joachim Fasting Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/window-managers/ratpoison/default.nix Log Message: --- ratpoison: 1.4.8 -> 1.4.9 Contains changes that require updating user configs: - command `compat' and the various def* compat commands were removed - `msgwait', `rudeness', `startupmessage', `warp' are now variables See http://git.savannah.nongnu.org/cgit/ratpoison.git/tree/NEWS ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 376bda: logcheck: 1.3.17 -> 1.3.18
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 376bda65fddeab3fc1cebc112a54a46c4abc84d6 https://github.com/NixOS/nixpkgs/commit/376bda65fddeab3fc1cebc112a54a46c4abc84d6 Author: ndowens Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/tools/system/logcheck/default.nix Log Message: --- logcheck: 1.3.17 -> 1.3.18 logcheck: Added hyphen (cherry picked from commit 1dcb0bbc39b1b58484c8aad7e0748c3fdb8423ab) Commit: d55d1ff1998d27013ba71933e1a63339f8a7be3b https://github.com/NixOS/nixpkgs/commit/d55d1ff1998d27013ba71933e1a63339f8a7be3b Author: Joachim Fasting Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/tools/system/logcheck/default.nix Log Message: --- logcheck: point homepage to alioth.debian.org The page at logcheck dot org contains questionable links and it is unclear whether it is controlled by the logcheck project at all. Fix by using the homepage debian points to instead. Fixes https://github.com/NixOS/nixpkgs/issues/24952 (cherry picked from commit c2130eca44633d716aa005c566b63a6952b2600d) Commit: 058b89992b801a590dea0cc282b52da3783f5680 https://github.com/NixOS/nixpkgs/commit/058b89992b801a590dea0cc282b52da3783f5680 Author: Tobias Pflug Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/os-specific/linux/broadcom-sta/default.nix Log Message: --- broadcom-sta: fix linux-4.8 patch sha (cherry picked from commit d857b2d2fa2fb35969e3be087d776dfb3287ec55) Note also the change to a stable url. Commit: 67c6638b089a5766435e07057ff73b35c82440cc https://github.com/NixOS/nixpkgs/commit/67c6638b089a5766435e07057ff73b35c82440cc Author: Peter Jones Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M nixos/modules/services/misc/plex.nix Log Message: --- plex: Don't overwrite primary database on restart This change fixes two major issues: 1. If you don't use SIGQUIT to stop Plex it will corrupt its own database :( 2. Newer versions of Plex keep metadata in the `com.plexapp.plugins.library.db` database. This is the file that we copy into `/var/lib/plex/.skeleton`. If we copy the empty database on top of this one the user will lose their entire library metadata. This change skips the copy if the file already exists. (cherry picked from commit 5a50b266624bceee5243c6eadf86d958768bfa6c) See https://github.com/NixOS/nixpkgs/pull/24900#issuecomment-294513707 Compare: https://github.com/NixOS/nixpkgs/compare/24ce0db06a72...67c6638b089a___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a0466f: fsharp: 4.0.1.1 -> 4.1.7
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a0466f7f226b82dd22863b6dc222c9a13d16abd5 https://github.com/NixOS/nixpkgs/commit/a0466f7f226b82dd22863b6dc222c9a13d16abd5 Author: Roman Kuznetsov Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/development/compilers/fsharp41/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/dotnet-packages.nix Log Message: --- fsharp: 4.0.1.1 -> 4.1.7 Build F# with default mono version Introduce separate fsharp41 packages Commit: 1d84a914f56c297288be7d4edee428b74006aa64 https://github.com/NixOS/nixpkgs/commit/1d84a914f56c297288be7d4edee428b74006aa64 Author: Jörg Thalheim Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/development/compilers/fsharp41/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/dotnet-packages.nix Log Message: --- Merge pull request #24385 from kuznero/master fsharp: init at 4.1.7 Compare: https://github.com/NixOS/nixpkgs/compare/e8f2046abc41...1d84a914f56c___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] da9a14: dale: init at 20170416
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: da9a147b7bf851644f8809fea99ae9b2f6b3cdeb https://github.com/NixOS/nixpkgs/commit/da9a147b7bf851644f8809fea99ae9b2f6b3cdeb Author: Andrew Miloradovsky Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/development/compilers/dale/default.nix M pkgs/top-level/all-packages.nix Log Message: --- dale: init at 20170416 Lisp-flavoured C. Dale is a system (no GC) programming language that uses S-expressions for syntax and supports syntactic macros. Commit: e8f2046abc415bb51e2c6a8aadcb6a8c530a5120 https://github.com/NixOS/nixpkgs/commit/e8f2046abc415bb51e2c6a8aadcb6a8c530a5120 Author: Jörg Thalheim Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/development/compilers/dale/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #24941 from amiloradovsky/dale dale: init at 20170416 Compare: https://github.com/NixOS/nixpkgs/compare/b47e0227bcf3...e8f2046abc41___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b47e02: elm-format: symlink latest version to `bin/elm-for...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b47e0227bcf33fc8900c7513b7785210dd859cee https://github.com/NixOS/nixpkgs/commit/b47e0227bcf33fc8900c7513b7785210dd859cee Author: Nick Novitski Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/development/compilers/elm/packages/elm-format.nix Log Message: --- elm-format: symlink latest version to `bin/elm-format` (#24971) * elm-format: symlink latest version to `bin/elm-format` * elm-format: nitpick: indentation ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Managing /home during system activation
David Izquierdo writes: > That's stupid genius in my eyes. What I'd been doing is to find a way > to make software look in /etc/xdg before ~/.config, with... varying > degrees of success. Is there anywhere we could read your > implementation? I haven't actually written any code yet. I wanted to make sure there weren't any obvious problems with my idea first. The biggest obstacle I see right now is that I'm going to have to override home directories for users. If I use overlayfs then I need to have two source directories and a destination directory. I was thinking of creating fake home directories in /var/lib/home. So, for example, the following directories would be overlaid on /var/lib/home/pjones: /nix/store/xxx-home-pjones # Symlinks to config files /home/pjones # Real home directory And then I would override the home directory for pjones to be /var/lib/home/pjones where the overlay is. If you have any other suggestions I'd love to hear them. > > On 15/04/17 19:36, Peter Jones wrote: >> I'd like to manage files in my home directory during system activation. >> Sort of like nix-home[1] but during activation so NixOps can also deploy >> things such as my shell configuration. I have an idea, and I'm >> wondering how terrible it is. >> >> Based on the way etc activation works, I would build a directory in the >> nix store and fill it with symlinks to other parts of the store: >> >> /nix/store/xxx-home-pjones/.zshrc -> /nix/store/xxx-zshrc/zshrc >> >> Then, set up a UnionFS mount so that /nix/store/xxx-home-pjones gets >> overlaid on top of /home/pjones. This means I don't have to search >> through /home looking for links to an old generation to deactivate it, >> and rolling back just mounts a previous generation on top of /home. >> >> So, how bad is this idea? >> >> Thanks! >> >> >> [1]: https://github.com/sheenobu/nix-home> > -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] d857b2: broadcom-sta: fix linux-4.8 patch sha
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d857b2d2fa2fb35969e3be087d776dfb3287ec55 https://github.com/NixOS/nixpkgs/commit/d857b2d2fa2fb35969e3be087d776dfb3287ec55 Author: Tobias Pflug Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/os-specific/linux/broadcom-sta/default.nix Log Message: --- broadcom-sta: fix linux-4.8 patch sha Commit: 15d60bcb53adf5c490fcb73e8d84093ab2d51ffd https://github.com/NixOS/nixpkgs/commit/15d60bcb53adf5c490fcb73e8d84093ab2d51ffd Author: Jörg Thalheim Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/os-specific/linux/broadcom-sta/default.nix Log Message: --- Merge pull request #24969 from holidaycheck/fix-broadcom-hash broadcom-sta: fix linux-4.8 patch sha Compare: https://github.com/NixOS/nixpkgs/compare/4f5391e8c4c0...15d60bcb53ad___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 24ce0d: dropbox: 23.4.18 -> 23.4.19
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 24ce0db06a7261fa735ae6a77021501bd5fd30a6 https://github.com/NixOS/nixpkgs/commit/24ce0db06a7261fa735ae6a77021501bd5fd30a6 Author: Thomas Tuegel Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/networking/dropbox/default.nix Log Message: --- dropbox: 23.4.18 -> 23.4.19 Dropbox is again updated without a release announcement. I noticed on Friday that the client was malfunctioning. I was waiting for a release announcement with the new version number, but as one was not forthcoming, I simply guessed at it. (cherry picked from commit 4f5391e8c4c063ca5bb3df7ad0c4dd28cb393001) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 4f5391: dropbox: 23.4.18 -> 23.4.19
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4f5391e8c4c063ca5bb3df7ad0c4dd28cb393001 https://github.com/NixOS/nixpkgs/commit/4f5391e8c4c063ca5bb3df7ad0c4dd28cb393001 Author: Thomas Tuegel Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/networking/dropbox/default.nix Log Message: --- dropbox: 23.4.18 -> 23.4.19 Dropbox is again updated without a release announcement. I noticed on Friday that the client was malfunctioning. I was waiting for a release announcement with the new version number, but as one was not forthcoming, I simply guessed at it. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 10eef8: rustup: init at 1.2.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 10eef8c19687bac5628054a129044db9807c468e https://github.com/NixOS/nixpkgs/commit/10eef8c19687bac5628054a129044db9807c468e Author: Jörg Thalheim Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M doc/languages-frameworks/rust.md A pkgs/development/tools/rust/rustup/0001-use-hardcoded-dynamic-linker.patch A pkgs/development/tools/rust/rustup/default.nix M pkgs/top-level/all-packages.nix Log Message: --- rustup: init at 1.2.0 Commit: c7ac0f39b56135cc47734c60d73b97688cae9071 https://github.com/NixOS/nixpkgs/commit/c7ac0f39b56135cc47734c60d73b97688cae9071 Author: Jörg Thalheim Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M doc/languages-frameworks/rust.md A pkgs/development/tools/rust/rustup/0001-use-hardcoded-dynamic-linker.patch A pkgs/development/tools/rust/rustup/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #24927 from Mic92/rustup rustup: init at 1.2.0 Compare: https://github.com/NixOS/nixpkgs/compare/e9f1d8693a66...c7ac0f39b561___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs]
Branch: refs/heads/copumpkin/nixos-install-refactor Home: https://github.com/NixOS/nixpkgs ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] d990aa: Refactor nixos-install to separate out filesystem ...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d990aa716327abb018e8352dcf7ba2fcfb4fc34c https://github.com/NixOS/nixpkgs/commit/d990aa716327abb018e8352dcf7ba2fcfb4fc34c Author: Dan Peebles Date: 2017-04-16 (Sun, 16 Apr 2017) Changed paths: M nixos/modules/installer/tools/nixos-install.sh A nixos/modules/installer/tools/nixos-prepare-root.sh M nixos/modules/installer/tools/tools.nix M nixos/tests/installer.nix M pkgs/tools/package-management/nix/default.nix Log Message: --- Refactor nixos-install to separate out filesystem build logic The key distinction I'm drawing is that there's a component that deals with the store of the machine being built, and another component for the store building it. The inner part of it assumes nothing from the builder (doesn't need chroot or root powers) so it can run comfortably inside a Nix build, as well as nixos-rebuild. I have some upcoming work that will use that to significantly speed up and streamline image builds for NixOS, especially on virtualized hosts like EC2, but it's also a reasonable speedup on native hosts. Commit: e9f1d8693a666af293d690fabe561eea29c748a1 https://github.com/NixOS/nixpkgs/commit/e9f1d8693a666af293d690fabe561eea29c748a1 Author: Daniel Peebles Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M nixos/modules/installer/tools/nixos-install.sh A nixos/modules/installer/tools/nixos-prepare-root.sh M nixos/modules/installer/tools/tools.nix M nixos/tests/installer.nix M pkgs/tools/package-management/nix/default.nix Log Message: --- Merge pull request #23026 from copumpkin/nixos-install-wip Refactor nixos-install to separate out filesystem build logic Compare: https://github.com/NixOS/nixpkgs/compare/5a7b029fa97b...e9f1d8693a66___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Darwin on Hydra.nixos.org
Jude Taylor might know what's going on; otherwise we'll need to get in and poke around. On Mon, Apr 17, 2017 at 4:05 AM, Vladimír Čunát wrote: > Hi, > I see that there are lots of failures in recent Darwin builds, all saying: > > > Aborted: program > ‘/nix/store/ny0pf6qlq28pjpncn79lr5a6w5i63fyc-nix-1.11.8/libexec/nix/reso > lve-system-dependencies.pl’ > failed due to signal 11 (Segmentation fault: 11) > > It might be just the "mac2" machine, eating through all the builds quickly. > > --Vladimir > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] cba47b: spotify: 1.0.52.717 -> 1.0.53.758
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: cba47bc398d82a07dfc44a8ab53f35e2eb0ebb09 https://github.com/NixOS/nixpkgs/commit/cba47bc398d82a07dfc44a8ab53f35e2eb0ebb09 Author: Peter Hoeg Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/audio/spotify/default.nix Log Message: --- spotify: 1.0.52.717 -> 1.0.53.758 Additionally: - some minor cleanups - define meta.platforms so hydra doesn't try to evaluate at all on i686 instead of waiting for "assert" to fail. As spotify is distributing a i686 version, there really is no reason not to support that. Someone just has to add support for it. (cherry picked from commit 58db2099b4daf5c0d96913f639307e9494fc504b) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 1d4568: nixos/lighttpd: set $HOME for gitweb sub-service
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 1d45682ca095234f6cee805a08aeebafd98e659e https://github.com/NixOS/nixpkgs/commit/1d45682ca095234f6cee805a08aeebafd98e659e Author: Bjørn Forsman Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M nixos/modules/services/web-servers/lighttpd/gitweb.nix Log Message: --- nixos/lighttpd: set $HOME for gitweb sub-service This allows gitweb to expand '~' in /etc/gitconfig. Without a $HOME variable, it fails to list any projects and instead show the text "No such projects found" in the UI. Setting $HOME to the gitweb project root seems like a sensible value. (cherry picked from commit d916ce2ef40e412c361805531eff5966a309da1d) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 764f69: keepass: 2.34 -> 2.35
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 764f69efa5c27f43125797a658432c3705253aff https://github.com/NixOS/nixpkgs/commit/764f69efa5c27f43125797a658432c3705253aff Author: obadz Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/applications/misc/keepass/default.nix Log Message: --- keepass: 2.34 -> 2.35 (cherry picked from commit 0c488ed8f0d1af52c219f0632d4752d3d9ebb9d9) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 5a7b02: linux: 4.11-rc6 -> 4.11-rc7
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5a7b029fa97bed4831684d4038b509fb9f3fa9b1 https://github.com/NixOS/nixpkgs/commit/5a7b029fa97bed4831684d4038b509fb9f3fa9b1 Author: Tim Steinbach Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/os-specific/linux/kernel/linux-testing.nix Log Message: --- linux: 4.11-rc6 -> 4.11-rc7 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] ab88d3: nixos/lighttpd: set $HOME for gitweb sub-service
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: ab88d3fe96d3022e91dc52cc376445a0fe2ace5e https://github.com/NixOS/nixpkgs/commit/ab88d3fe96d3022e91dc52cc376445a0fe2ace5e Author: Bjørn Forsman Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M nixos/modules/services/web-servers/lighttpd/gitweb.nix Log Message: --- nixos/lighttpd: set $HOME for gitweb sub-service This allows gitweb to expand '~' in /etc/gitconfig. Without a $HOME variable, it fails to list any projects and instead show the text "No such projects found" in the UI. Setting $HOME to the gitweb project root seems like a sensible value. (cherry picked from commit d916ce2ef40e412c361805531eff5966a309da1d) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3069f7: ntpd: Allow additional syscalls in seccomp filter.
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 3069f721ece8156d0b41ac3b9b577f78e74b8eaa https://github.com/NixOS/nixpkgs/commit/3069f721ece8156d0b41ac3b9b577f78e74b8eaa Author: Ambroz Bizjak Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/tools/networking/ntp/default.nix A pkgs/tools/networking/ntp/seccomp.patch Log Message: --- ntpd: Allow additional syscalls in seccomp filter. Fixes issue #21136. The problem is that the seccomp system call filter configured by ntpd did not include some system calls that were apparently needed. For example the program hanged in getpid just after the filter was installed: prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0 seccomp(SECCOMP_SET_MODE_STRICT, 1, NULL) = -1 EINVAL (Invalid argument) seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=41, filter=0x5620d7f0bd90}) = 0 getpid()= ? I do not know exactly why this is a problem on NixOS only, perhaps we have getpid caching disabled. The fcntl and setsockopt system calls also had to be added. (cherry picked from commit 35e0eea053d81f7aa933cd2747f43d3b4524c326) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Rust prebuilt package overlay.
On Sun, Apr 16, 2017 at 2:57 PM, William Casarin wrote: > Nicolas Pierron writes: > >> On Fri, Apr 14, 2017 at 4:40 PM, William Casarin wrote: >>> >>> $ nix-shell -p rustChannels.stable.rust >>> >>> [...] >>> while evaluating ‘tokenizer_rec’ at >>> /Users/jb55/etc/nixpkgs-mozilla/lib/parseTOML.nix:6:46, called from >>> /Users/jb55/etc/nixpkgs-mozilla/lib/parseTOML.nix:41:20: >>> compiling pattern ‘([ >>> ]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[ >>> [... same line repeated 4094 times ...] >>> ]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")).*’: >>> out of memory >>> >>> Looks like some kind of infinite recursion bug? >>> Seems to work fine on my nixos box though 🤔 >> >> There is a constant[1] that you can modify in the overlay, by >> increasing it, it would make a smaller pattern and consume less >> memory, but it would make take more time to parse the content of the >> file. > > This worked. Increasing it to 180 fixed it. Thanks for testing, feel free to submit a patch ;) > I was watching activity > monitor and noticed spikes of 14GB memory usage (12GB compressed) so > about ~2-3GB real. It looks like generatePatterns is creating 14GB+ > of strings!? No, it generates a string which is a few ~100KB, but apparently the C++ std::regex_match implementation probably do so when compiling the string into an automaton. -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 2d1115: sensu: 0.28.0 -> 0.29.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 2d1115b9de1326f6b3359f796f773e15a46ed09e https://github.com/NixOS/nixpkgs/commit/2d1115b9de1326f6b3359f796f773e15a46ed09e Author: Peter Hoeg Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: M pkgs/servers/monitoring/sensu/Gemfile.lock M pkgs/servers/monitoring/sensu/gemset.nix Log Message: --- sensu: 0.28.0 -> 0.29.0 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3efdf2: htmlmin: init at 0.1.10 (#24945)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3efdf24584774b85237ce7c7c99009a291464af6 https://github.com/NixOS/nixpkgs/commit/3efdf24584774b85237ce7c7c99009a291464af6 Author: Taahir Ahmed Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/development/python-modules/htmlmin.nix M pkgs/top-level/python-packages.nix Log Message: --- htmlmin: init at 0.1.10 (#24945) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f029fc: csscompressor: init at 0.9.4 (#24946)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f029fc8cdc10dc8648761c3fa1aac128c55586f5 https://github.com/NixOS/nixpkgs/commit/f029fc8cdc10dc8648761c3fa1aac128c55586f5 Author: Taahir Ahmed Date: 2017-04-17 (Mon, 17 Apr 2017) Changed paths: A pkgs/development/python-modules/csscompressor.nix M pkgs/top-level/python-packages.nix Log Message: --- csscompressor: init at 0.9.4 (#24946) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Darwin on Hydra.nixos.org
Hi, I see that there are lots of failures in recent Darwin builds, all saying: > Aborted: program ‘/nix/store/ny0pf6qlq28pjpncn79lr5a6w5i63fyc-nix-1.11.8/libexec/nix/resolve-system-dependencies.pl’ failed due to signal 11 (Segmentation fault: 11) It might be just the "mac2" machine, eating through all the builds quickly. --Vladimir ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev