[Nix-commits] [NixOS/nixpkgs] aaac02: nixos/atd: unbreak after new security.wrappers
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: aaac02f6c47f509f9371be3b844c45ef779439b1 https://github.com/NixOS/nixpkgs/commit/aaac02f6c47f509f9371be3b844c45ef779439b1 Author: Bjørn ForsmanDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/services/scheduling/atd.nix Log Message: --- nixos/atd: unbreak after new security.wrappers * convert list -> attrset * 'atd' doesn't exist, 'at' does Commit: a45821e7a849db511ea4aa1f19040645c3e8d0b3 https://github.com/NixOS/nixpkgs/commit/a45821e7a849db511ea4aa1f19040645c3e8d0b3 Author: Bjørn Forsman Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/services/scheduling/cron.nix Log Message: --- nixos/cron: unbreak since new security.wrapper Compare: https://github.com/NixOS/nixpkgs/compare/b1bfe9d3db71...a45821e7a849___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 448acd: nixos: remove remaining reference to setuidProgram...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 448acd8e5e722bbd6396f6d069bf1b06993f72d0 https://github.com/NixOS/nixpkgs/commit/448acd8e5e722bbd6396f6d069bf1b06993f72d0 Author: Bjørn ForsmanDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/security/wrappers/default.nix Log Message: --- nixos: remove remaining reference to setuidPrograms The option doesn't exist anymore. Commit: 34c1b74421f2c158dfb9f54c2855fd7b74ba1bc7 https://github.com/NixOS/nixpkgs/commit/34c1b74421f2c158dfb9f54c2855fd7b74ba1bc7 Author: Bjørn Forsman Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/virtualisation/virtualbox-host.nix Log Message: --- nixos/virtualbox: unbreak wrt. new security.wrappers The new option takes an attrset, not a list. Commit: b1bfe9d3db71de1aa9524ec76b188cfe4cd7dd3e https://github.com/NixOS/nixpkgs/commit/b1bfe9d3db71de1aa9524ec76b188cfe4cd7dd3e Author: Bjørn Forsman Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/rename.nix Log Message: --- nixos: hint about security.setuidOwners/Programs -> security.wrappers Let users know about the option rename / change during nixos-rebuild with a useful message instead of an error (with no way forward). Compare: https://github.com/NixOS/nixpkgs/compare/195ca7393c42...b1bfe9d3db71___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 195ca7: widelands: 18 -> 19 (#22796)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 195ca7393c42a9d93d34ca8911082101cb8db642 https://github.com/NixOS/nixpkgs/commit/195ca7393c42a9d93d34ca8911082101cb8db642 Author: rardiolDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: A pkgs/games/widelands/bincmake.patch M pkgs/games/widelands/default.nix M pkgs/top-level/all-packages.nix Log Message: --- widelands: 18 -> 19 (#22796) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 01e5b8: dehydrated: 0.3.1 -> 0.4.0 (#22804)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 01e5b8527dacfb61319dcdc2178ec6aed7f7f3c5 https://github.com/NixOS/nixpkgs/commit/01e5b8527dacfb61319dcdc2178ec6aed7f7f3c5 Author: PhilippDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/tools/admin/dehydrated/default.nix Log Message: --- dehydrated: 0.3.1 -> 0.4.0 (#22804) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 7ee777: picard: 1.32. -> 1.4
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7ee777d784de06a088c5ec933bfb2383c7001d1f https://github.com/NixOS/nixpkgs/commit/7ee777d784de06a088c5ec933bfb2383c7001d1f Author: ProfpatschDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/applications/audio/picard/default.nix Log Message: --- picard: 1.32. -> 1.4 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 4d73cd: shotwell: 0.23.5 -> 0.25.2
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 4d73cd35ab1a115bd83805be91fa132d108f95fb https://github.com/NixOS/nixpkgs/commit/4d73cd35ab1a115bd83805be91fa132d108f95fb Author: mimadridDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/applications/graphics/shotwell/default.nix Log Message: --- shotwell: 0.23.5 -> 0.25.2 (cherry picked from commit 5e3c4b2bf70ff227ffb5c05a3005c7ac390c672e) Commit: 47fbc9cc7880bfa1181b2174603591bfdb8669a0 https://github.com/NixOS/nixpkgs/commit/47fbc9cc7880bfa1181b2174603591bfdb8669a0 Author: mimadrid Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/applications/graphics/shotwell/default.nix Log Message: --- shotwell: 0.25.2 -> 0.25.5 (cherry picked from commit e3d7ce842bfb72cf04cc4a512a78ff28491d4e63) Compare: https://github.com/NixOS/nixpkgs/compare/2fad5fefec8b...47fbc9cc7880___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] e3d7ce: shotwell: 0.25.2 -> 0.25.5
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e3d7ce842bfb72cf04cc4a512a78ff28491d4e63 https://github.com/NixOS/nixpkgs/commit/e3d7ce842bfb72cf04cc4a512a78ff28491d4e63 Author: mimadridDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/graphics/shotwell/default.nix Log Message: --- shotwell: 0.25.2 -> 0.25.5 Commit: 9ddaa71b6de982366e800e9b702f85a18bb7aad9 https://github.com/NixOS/nixpkgs/commit/9ddaa71b6de982366e800e9b702f85a18bb7aad9 Author: Franz Pletz Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/applications/graphics/shotwell/default.nix Log Message: --- Merge pull request #22809 from mimadrid/update/shotwell-0.25.5 shotwell: 0.25.2 -> 0.25.5 Compare: https://github.com/NixOS/nixpkgs/compare/9d8a0f8dd815...9ddaa71b6de9___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 6f998a: pin some packages to openssl 1.0.2 for now
Branch: refs/heads/openssl-1.1 Home: https://github.com/NixOS/nixpkgs Commit: 6f998a877a45e5537a7ccf276a3026d8924f1dd3 https://github.com/NixOS/nixpkgs/commit/6f998a877a45e5537a7ccf276a3026d8924f1dd3 Author: Robin GlosterDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/applications/version-management/git-and-tools/default.nix M pkgs/desktops/enlightenment/default.nix M pkgs/desktops/gnome-2/default.nix M pkgs/desktops/gnome-3/3.22/default.nix M pkgs/desktops/kde-5/applications/default.nix M pkgs/desktops/kde-5/applications/kdelibs/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/lua-packages.nix M pkgs/top-level/perl-packages.nix M pkgs/top-level/python-packages.nix Log Message: --- pin some packages to openssl 1.0.2 for now ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 9d8a0f: pax-utils: 1.1.7 -> 1.2.2
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9d8a0f8dd8153ea2f41104820b0c234b5aea9dba https://github.com/NixOS/nixpkgs/commit/9d8a0f8dd8153ea2f41104820b0c234b5aea9dba Author: Joachim FastingDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/os-specific/linux/pax-utils/default.nix Log Message: --- pax-utils: 1.1.7 -> 1.2.2 Fixes at least a few out-of-bounds reads[1][2] [1]: http://seclists.org/oss-sec/2017/q1/256 [2]: http://seclists.org/oss-sec/2017/q1/308 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 349050: nixos-container: support bridge.
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3490508ed1708a7dad1307a5739665b51df9b34d https://github.com/NixOS/nixpkgs/commit/3490508ed1708a7dad1307a5739665b51df9b34d Author: Ian-Woo KimDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/tools/virtualization/nixos-container/nixos-container.pl Log Message: --- nixos-container: support bridge. Commit: a238c8a575a0397861e75b9509ded670f9e6381b https://github.com/NixOS/nixpkgs/commit/a238c8a575a0397861e75b9509ded670f9e6381b Author: Ian-Woo Kim Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/virtualisation/containers.nix M pkgs/tools/virtualization/nixos-container/nixos-container.pl Log Message: --- nixos-container: add --port option for nixos-container (forward network ports to systemd-nspawn container) Commit: 86842852513a8e0132e5580802b0fa1d90ef5f9b https://github.com/NixOS/nixpkgs/commit/86842852513a8e0132e5580802b0fa1d90ef5f9b Author: Ian-Woo Kim Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/virtualisation/containers.nix Log Message: --- nixos-container: introduce hostPort in declarative container options. Commit: 0bfc631de20a351b23af571e80347df1a58a298a https://github.com/NixOS/nixpkgs/commit/0bfc631de20a351b23af571e80347df1a58a298a Author: Ian-Woo Kim Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/virtualisation/containers.nix Log Message: --- nixos-container: support multiple port forwarding. change type of hostPort from 'string' to 'listOf str' Commit: 4f0b663c2e3939981d2e254a3f1d93ea2901599b https://github.com/NixOS/nixpkgs/commit/4f0b663c2e3939981d2e254a3f1d93ea2901599b Author: Ian-Woo Kim Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/virtualisation/containers.nix Log Message: --- nixos-container: hostPort -> forwardPort and forwardPort is now a list of (protocol,hostPort,containerPort). Commit: 5ca0f72472a08ee42231410642a4928a3d58c61f https://github.com/NixOS/nixpkgs/commit/5ca0f72472a08ee42231410642a4928a3d58c61f Author: Ian-Woo Kim Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/virtualisation/containers.nix Log Message: --- nixos-container: break lines in description of forwardPorts. Commit: b7a24e0a2b540c0598fc3ff4056feb1208ec89f9 https://github.com/NixOS/nixpkgs/commit/b7a24e0a2b540c0598fc3ff4056feb1208ec89f9 Author: Ian-Woo Kim Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: A nixos/tests/containers-portforward.nix Log Message: --- nixos-container: added test for port forwarding ( nixos/tests/containers-portforward.nix ) Compare: https://github.com/NixOS/nixpkgs/compare/44c3bfbc109f...b7a24e0a2b54___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 1f83f1: security-wrapper: Wrap tags in a tag
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1f83f1c8789e4ad30f0242d4a8896324b8f9e89a https://github.com/NixOS/nixpkgs/commit/1f83f1c8789e4ad30f0242d4a8896324b8f9e89a Author: Parnell SpringmeyerDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixos/modules/security/wrappers/default.nix Log Message: --- security-wrapper: Wrap tags in a tag Commit: 44c3bfbc109f8f81a06eaa2ed8440ca052d47ea4 https://github.com/NixOS/nixpkgs/commit/44c3bfbc109f8f81a06eaa2ed8440ca052d47ea4 Author: Robin Gloster Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M nixos/modules/security/wrappers/default.nix Log Message: --- Merge pull request #22815 from awakenetworks/parnell/fix-wrappers-docs security-wrapper: Wrap tags in a tag Compare: https://github.com/NixOS/nixpkgs/compare/c34a52bf5da3...44c3bfbc109f___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3c1dd2: pin some packages to openssl 1.0.2 for now
Branch: refs/heads/openssl-1.1 Home: https://github.com/NixOS/nixpkgs Commit: 3c1dd2c5de5f9f3a0b5be60a916ff7b633967dc7 https://github.com/NixOS/nixpkgs/commit/3c1dd2c5de5f9f3a0b5be60a916ff7b633967dc7 Author: Robin GlosterDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/applications/version-management/git-and-tools/default.nix M pkgs/desktops/enlightenment/default.nix M pkgs/desktops/gnome-2/default.nix M pkgs/desktops/gnome-3/3.22/default.nix M pkgs/desktops/kde-5/applications/default.nix M pkgs/desktops/kde-5/applications/kdelibs/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/lua-packages.nix M pkgs/top-level/perl-packages.nix M pkgs/top-level/python-packages.nix Log Message: --- pin some packages to openssl 1.0.2 for now ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] c34a52: mozart: prefer local builds
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c34a52bf5da351a13211a87ebc1a7a32ef2af6ba https://github.com/NixOS/nixpkgs/commit/c34a52bf5da351a13211a87ebc1a7a32ef2af6ba Author: Joachim FastingDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/development/compilers/mozart/binary.nix Log Message: --- mozart: prefer local builds The build essentially unpacks a tarball and generates a few wrappers. No need to use hydra for that. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 0637f8: update xmonad nix patch to apply to new xmonad
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 0637f83fb8fc8b7eb7090d75dce42ca9e8058b75 https://github.com/NixOS/nixpkgs/commit/0637f83fb8fc8b7eb7090d75dce42ca9e8058b75 Author: Jude TaylorDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/haskell-modules/patches/xmonad-nix.patch Log Message: --- update xmonad nix patch to apply to new xmonad ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f56fa4: mnemosyne: move generated locale files to correct ...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f56fa4824a3ebb79c797e83dda4eb6fb3f0dcee0 https://github.com/NixOS/nixpkgs/commit/f56fa4824a3ebb79c797e83dda4eb6fb3f0dcee0 Author: Laverne SchrockDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/games/mnemosyne/default.nix Log Message: --- mnemosyne: move generated locale files to correct location It feels like a bit of a hack to move them after the install rather than generating them in the correct spot in the first place, but this fixes #12763. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 736fde: grafana: 4.1.1 -> 4.1.2
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 736fde5be36eff8bfd62d392f2912e1b55998c89 https://github.com/NixOS/nixpkgs/commit/736fde5be36eff8bfd62d392f2912e1b55998c89 Author: Franz PletzDate: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/servers/monitoring/grafana/default.nix Log Message: --- grafana: 4.1.1 -> 4.1.2 Commit: f87eb8920c1aa665b71f386b7bdc674827c43931 https://github.com/NixOS/nixpkgs/commit/f87eb8920c1aa665b71f386b7bdc674827c43931 Author: Franz Pletz Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: R pkgs/development/tools/misc/grafana/default.nix M pkgs/top-level/all-packages.nix Log Message: --- grafana-old: outdated, probably without users Commit: e18bec1e3c902d6ae8ce84f8d5586fc3e784aed0 https://github.com/NixOS/nixpkgs/commit/e18bec1e3c902d6ae8ce84f8d5586fc3e784aed0 Author: Franz Pletz Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/servers/http/nginx/mainline.nix Log Message: --- nginxMainline: 1.11.9 -> 1.11.10 Compare: https://github.com/NixOS/nixpkgs/compare/af13a5b3b36e...e18bec1e3c90___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 0280d3: fzf: 0.16.2 -> 0.16.4
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 0280d327f44a8f084520793bf30ab66f263bc936 https://github.com/NixOS/nixpkgs/commit/0280d327f44a8f084520793bf30ab66f263bc936 Author: mimadridDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/tools/misc/fzf/default.nix Log Message: --- fzf: 0.16.2 -> 0.16.4 Commit: af13a5b3b36ef6085a19b08219314a50be4c4070 https://github.com/NixOS/nixpkgs/commit/af13a5b3b36ef6085a19b08219314a50be4c4070 Author: Daiderd Jordan Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M pkgs/tools/misc/fzf/default.nix Log Message: --- Merge pull request #22808 from mimadrid/update/fzf-0.16.4 fzf: 0.16.2 -> 0.16.4 Compare: https://github.com/NixOS/nixpkgs/compare/c2a21d4d7b57...af13a5b3b36e___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a93c2f: gitlab service: fix database creation
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: a93c2f865eeb4b5c44d6bf901d2377919f5307f4 https://github.com/NixOS/nixpkgs/commit/a93c2f865eeb4b5c44d6bf901d2377919f5307f4 Author: Franz PletzDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixos/modules/services/misc/gitlab.nix Log Message: --- gitlab service: fix database creation Providing custom a username and database name was broken. They were hardcoded to "gitlab". (cherry picked from commit f5a82e4714371a65ed5ccc5ae46c5f106c953f83) Commit: 2fad5fefec8b5abb484b8251cc072a7b4fa9d208 https://github.com/NixOS/nixpkgs/commit/2fad5fefec8b5abb484b8251cc072a7b4fa9d208 Author: Tristan Helmich Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/version-management/gitlab/default.nix Log Message: --- gitlab: 8.16.3 -> 8.16.4 (cherry picked from commit 8d853d0190b90695f8324c509285d651204d2313) Compare: https://github.com/NixOS/nixpkgs/compare/f3481d6686d7...2fad5fefec8b___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Which option replaces security.setuidOwners?
There are some docs here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/security/wrappers/default.nix#L111 Though I agree that we should probably also add something to the manual about how to elevate privileges in NixOS. ~ On 14 February 2017 at 22:12, Tomasz Czyżwrote: > Actually, very strange that such a huge change has no documentation > changes at all. > > Good thing is, there were some tests :) > > 2017-02-14 22:07 GMT+00:00 Bjørn Forsman : > >> On 14 February 2017 at 23:04, Bjørn Forsman >> wrote: >> > On 14 February 2017 at 22:51, Domen Kožar wrote: >> >> We need to use renames for backwards compatibility then :) >> > >> > A rename implies same signature under different namespace (AFAICS). >> > This is not the case here, because the option types are different. >> > >> > I've got a local change that is about to be pushed: >> > >> > +(mkRemovedOptionModule [ "security" "setuidOwners" ] "Use >> > security.wrappers instead") >> > +(mkRemovedOptionModule [ "security" "setuidPrograms" ] "Use >> > security.wrappers instead") >> > >> > (I also do some other fixups that was wrt. new security.wrapper to >> > make my NixOS build.) >> >> I created PR: https://github.com/NixOS/nixpkgs/pull/22806 >> >> Best regards, >> Bjørn Forsman >> ___ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> > > > > -- > Tomasz Czyż > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] c2a21d: gcalcli: init at 3.4.0 (#22725)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c2a21d4d7b5780664a1c356244b97801f663ad01 https://github.com/NixOS/nixpkgs/commit/c2a21d4d7b5780664a1c356244b97801f663ad01 Author: Tom DoggettDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M lib/maintainers.nix M pkgs/applications/misc/gcalcli/default.nix Log Message: --- gcalcli: init at 3.4.0 (#22725) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Which option replaces security.setuidOwners?
Actually, very strange that such a huge change has no documentation changes at all. Good thing is, there were some tests :) 2017-02-14 22:07 GMT+00:00 Bjørn Forsman: > On 14 February 2017 at 23:04, Bjørn Forsman > wrote: > > On 14 February 2017 at 22:51, Domen Kožar wrote: > >> We need to use renames for backwards compatibility then :) > > > > A rename implies same signature under different namespace (AFAICS). > > This is not the case here, because the option types are different. > > > > I've got a local change that is about to be pushed: > > > > +(mkRemovedOptionModule [ "security" "setuidOwners" ] "Use > > security.wrappers instead") > > +(mkRemovedOptionModule [ "security" "setuidPrograms" ] "Use > > security.wrappers instead") > > > > (I also do some other fixups that was wrt. new security.wrapper to > > make my NixOS build.) > > I created PR: https://github.com/NixOS/nixpkgs/pull/22806 > > Best regards, > Bjørn Forsman > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > -- Tomasz Czyż ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Which option replaces security.setuidOwners?
On 14 February 2017 at 23:04, Bjørn Forsmanwrote: > On 14 February 2017 at 22:51, Domen Kožar wrote: >> We need to use renames for backwards compatibility then :) > > A rename implies same signature under different namespace (AFAICS). > This is not the case here, because the option types are different. > > I've got a local change that is about to be pushed: > > +(mkRemovedOptionModule [ "security" "setuidOwners" ] "Use > security.wrappers instead") > +(mkRemovedOptionModule [ "security" "setuidPrograms" ] "Use > security.wrappers instead") > > (I also do some other fixups that was wrt. new security.wrapper to > make my NixOS build.) I created PR: https://github.com/NixOS/nixpkgs/pull/22806 Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Which option replaces security.setuidOwners?
On 14 February 2017 at 22:51, Domen Kožarwrote: > We need to use renames for backwards compatibility then :) A rename implies same signature under different namespace (AFAICS). This is not the case here, because the option types are different. I've got a local change that is about to be pushed: +(mkRemovedOptionModule [ "security" "setuidOwners" ] "Use security.wrappers instead") +(mkRemovedOptionModule [ "security" "setuidPrograms" ] "Use security.wrappers instead") (I also do some other fixups that was wrt. new security.wrapper to make my NixOS build.) Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Which option replaces security.setuidOwners?
We need to use renames for backwards compatibility then :) On Tue, Feb 14, 2017, 21:52 Thomas Hungerwrote: > Hi, > > The option is now called `wrappers`. You can look at e.g. [1] for how to > update the code (more complex examples can be found in that same diff). The > assert is a great idea! > > ~ > > [1] > > https://github.com/NixOS/nixpkgs/pull/16654/files#diff-83d20e45a7ca489ef290ee1ee57543c7L28 > > (forgot reply all) > > On 14 February 2017 at 20:20, Bjørn Forsman > wrote: > > Hi all, > > Now that security.setuiOwners is removed in master branch, which > option replaces it? > > This is what users are faced with currently: > > $ nixos-rebuild build -I nixpkgs=. > building Nix... > error: The option `security.setuidOwners' defined in > `/etc/nixos/config/base-small.nix' does not exist. > (use ‘--show-trace’ to show detailed location information) > error: The option `security.setuidOwners' defined in > `/etc/nixos/config/base-small.nix' does not exist. > (use ‘--show-trace’ to show detailed location information) > building the system configuration... > error: The option `security.setuidOwners' defined in > `/etc/nixos/config/base-small.nix' does not exist. > (use ‘--show-trace’ to show detailed location information) > > $ git grep setuidOwners > (nothing) > > I think we need an assert here telling which option to use instead. > > Best regards, > Bjørn Forsman > ___ > 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] d95868: geogebra: 5-0-320-0 -> 5-0-328-0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d95868e9809b84f1c743ca1218a1b5dc6b521470 https://github.com/NixOS/nixpkgs/commit/d95868e9809b84f1c743ca1218a1b5dc6b521470 Author: Maximilian BoschDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/science/math/geogebra/default.nix Log Message: --- geogebra: 5-0-320-0 -> 5-0-328-0 Commit: 544ac40ab3315066b3481b4a30cf571d6973a7a7 https://github.com/NixOS/nixpkgs/commit/544ac40ab3315066b3481b4a30cf571d6973a7a7 Author: Franz Pletz Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/science/math/geogebra/default.nix Log Message: --- Merge pull request #22798 from Ma27/update/geogebra geogebra: 5-0-320-0 -> 5-0-328-0 Compare: https://github.com/NixOS/nixpkgs/compare/7929888e8da9...544ac40ab331___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Which option replaces security.setuidOwners?
Hi, The option is now called `wrappers`. You can look at e.g. [1] for how to update the code (more complex examples can be found in that same diff). The assert is a great idea! ~ [1] https://github.com/NixOS/nixpkgs/pull/16654/files#diff- 83d20e45a7ca489ef290ee1ee57543c7L28 (forgot reply all) On 14 February 2017 at 20:20, Bjørn Forsmanwrote: > Hi all, > > Now that security.setuiOwners is removed in master branch, which > option replaces it? > > This is what users are faced with currently: > > $ nixos-rebuild build -I nixpkgs=. > building Nix... > error: The option `security.setuidOwners' defined in > `/etc/nixos/config/base-small.nix' does not exist. > (use ‘--show-trace’ to show detailed location information) > error: The option `security.setuidOwners' defined in > `/etc/nixos/config/base-small.nix' does not exist. > (use ‘--show-trace’ to show detailed location information) > building the system configuration... > error: The option `security.setuidOwners' defined in > `/etc/nixos/config/base-small.nix' does not exist. > (use ‘--show-trace’ to show detailed location information) > > $ git grep setuidOwners > (nothing) > > I think we need an assert here telling which option to use instead. > > Best regards, > Bjørn Forsman > ___ > 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] 0fe9b1: vim-plugins: use ycmd package for youcompleteme
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 0fe9b1e2033ac78b6ac6b4ded8179effee8cf592 https://github.com/NixOS/nixpkgs/commit/0fe9b1e2033ac78b6ac6b4ded8179effee8cf592 Author: Charles StrahanDate: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M pkgs/misc/vim-plugins/default.nix R pkgs/misc/vim-plugins/patches/youcompleteme/2-ycm-cmake.patch M pkgs/misc/vim-plugins/vim2nix/additional-nix-code/youcompleteme Log Message: --- vim-plugins: use ycmd package for youcompleteme Commit: 07c21bfaf72b54c3bcc1649c635d95fdc900a5ed https://github.com/NixOS/nixpkgs/commit/07c21bfaf72b54c3bcc1649c635d95fdc900a5ed Author: Daiderd Jordan Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/tools/misc/ycmd/2-ycm-cmake.patch M pkgs/top-level/all-packages.nix Log Message: --- ycmd: fix darwin build Commit: 7929888e8da9271d307c2692a28251a1552c577a https://github.com/NixOS/nixpkgs/commit/7929888e8da9271d307c2692a28251a1552c577a Author: Daiderd Jordan Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/tools/misc/ycmd/2-ycm-cmake.patch M pkgs/misc/vim-plugins/default.nix R pkgs/misc/vim-plugins/patches/youcompleteme/2-ycm-cmake.patch M pkgs/misc/vim-plugins/vim2nix/additional-nix-code/youcompleteme M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #22614 from cstrahan/ycm YouCompleteMe: use ycmd package Compare: https://github.com/NixOS/nixpkgs/compare/a5b8d468a504...7929888e8da9___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Which option replaces security.setuidOwners?
Hi all, Now that security.setuiOwners is removed in master branch, which option replaces it? This is what users are faced with currently: $ nixos-rebuild build -I nixpkgs=. building Nix... error: The option `security.setuidOwners' defined in `/etc/nixos/config/base-small.nix' does not exist. (use ‘--show-trace’ to show detailed location information) error: The option `security.setuidOwners' defined in `/etc/nixos/config/base-small.nix' does not exist. (use ‘--show-trace’ to show detailed location information) building the system configuration... error: The option `security.setuidOwners' defined in `/etc/nixos/config/base-small.nix' does not exist. (use ‘--show-trace’ to show detailed location information) $ git grep setuidOwners (nothing) I think we need an assert here telling which option to use instead. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 9d5547: add .overrideDerivation and .overrideAttrs to pack...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9d55479e07421d1c02c4bbab9508bf5d0913c21b https://github.com/NixOS/nixpkgs/commit/9d55479e07421d1c02c4bbab9508bf5d0913c21b Author: danbstDate: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M lib/customisation.nix Log Message: --- add .overrideDerivation and .overrideAttrs to packages created with `callPackages`/`callPackagesWith` nix/nixUnstable, tomcatN and postgresqlNN use `callPackages` pattern, they have .override attribute, but lack .overrideDerivation and recent .overrideAttrs. Packages created with `callPackage` have all of those. Because .overrideDerivation function is used in public, without this we can break code when refactoring callPackage -> callPackages. Commit: a5b8d468a504e0eedcda71de1694201806fb921d https://github.com/NixOS/nixpkgs/commit/a5b8d468a504e0eedcda71de1694201806fb921d Author: Thomas Tuegel Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M lib/customisation.nix Log Message: --- Merge pull request #18455 from danbst/override add .overrideDerivation and .overrideAttrs to packages created with callPackages Compare: https://github.com/NixOS/nixpkgs/compare/7483ba093222...a5b8d468a504___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 7483ba: Revert "nix-daemon: default useSandbox to true"
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7483ba093222371e33d5daa22269992104f401c6 https://github.com/NixOS/nixpkgs/commit/7483ba093222371e33d5daa22269992104f401c6 Author: Graham ChristensenDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixos/doc/manual/release-notes/rl-1703.xml M nixos/modules/services/misc/nix-daemon.nix Log Message: --- Revert "nix-daemon: default useSandbox to true" This reverts commit d0a086770a1be8c1f3175c195587052c5a5bfe1c. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 8d8bd3: ddrescue: 1.21 -> 1.22
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8d8bd31e5f24227eb4d955c6085fc400b18a5d0a https://github.com/NixOS/nixpkgs/commit/8d8bd31e5f24227eb4d955c6085fc400b18a5d0a Author: Lancelot SIXDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/tools/system/ddrescue/default.nix Log Message: --- ddrescue: 1.21 -> 1.22 See https://lists.gnu.org/archive/html/info-gnu/2017-02/msg3.html for release note. Commit: 1ab91b2cea031f732596778819f7a8d8a1d6c86d https://github.com/NixOS/nixpkgs/commit/1ab91b2cea031f732596778819f7a8d8a1d6c86d Author: Franz Pletz Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/tools/system/ddrescue/default.nix Log Message: --- Merge pull request #22801 from lsix/update_ddrescue ddrescue: 1.21 -> 1.22 Compare: https://github.com/NixOS/nixpkgs/compare/c5c43802056c...1ab91b2cea03___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] nix-shell (was: Python 3 as default)
Point 4 is really the biggest problem for me because the user loses control. Especially when combined with direnv the user might be surprised with a big update by just changing directory. I think that this can be solved using a profile. The user would load the profile with nix-shell and use nix-build to switch profiles. On Tue, 14 Feb 2017, 17:45 Peter Simons,wrote: > Hi Profpatsch, > > >> I hardly ever use nix-shell and I don't want to, to be honest. > > > > Why is that? > > 1. I don't need it. Adding those Haskell/Python/LaTeX/R modules that I >need into my global user environment works just fine. I suppose there >might be occasions where versions conflict in a way that makes it >impossible to add them into the same environment, but I haven't >actually encountered that problem yet. Since I don't need more than >one shell environment, I don't have to bother will shell.nix files, >and I don't have to remember which open shell window is running which >environment either. > > 2. nix-shells don't nest. And even if they would, many things you'll >define inside of a nix-shell won't nest. Thus, you cannot easily >compose shell environments, which makes it hard to define accurate >environments in a modular and re-usable fashion. > > 3. nix-shell interacts poorly with long-running processes. I work on all >my projects with Emacs, but I don't want to start Emacs inside of a >nix-shell created for one particular project. My Emacs is up and >running from the moment I log in and then I don't ever quit it unless >I absolutely have to. So having a proper build environment in "some >other window" isn't very useful to me. I want to compile by hitting >C-c C-c or C-c C-l. > > 4. When I update my copy of the Nixpkgs repository, I run "nix-env -u >--always" and afterwards everything I'll need to work on all of my >projects is available locally in my /nix store. If I see that Nix >needs to compile hundreds of packages to do the update, then I may or >may not decide to postpone the update. When using nix-shell, I won't >know whether it needs to compile for an hour until I've actually run >it, i.e. I'll notice that I can't start hacking on some project only >after I've decided I want to do that. With one global environment, I >have that information for all my projects at the time I decide >whether to update or not. > > 5. The default nix-shell prompt in bash does not distinguish between >"root" and normal users. ;-) > > Having said all that, I believe that nix-shell is genuinely useful and I > do use it every now and then. I wouldn't want to get along without it. I > just wouldn't want to use it as much as some people apparently do. > > Best regards, > Peter > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 4efd10: digikam: Add patch to fix compilation against Lens...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4efd108e60ea56f13d3ff3c35a30432787a3a3d8 https://github.com/NixOS/nixpkgs/commit/4efd108e60ea56f13d3ff3c35a30432787a3a3d8 Author: Sebastian HagenDate: 2016-12-23 (Fri, 23 Dec 2016) Changed paths: M pkgs/applications/graphics/digikam/default.nix Log Message: --- digikam: Add patch to fix compilation against Lensfun 0.3.2 Commit: c5c43802056ca8babe08d520a3ac9607c6f9f6ff https://github.com/NixOS/nixpkgs/commit/c5c43802056ca8babe08d520a3ac9607c6f9f6ff Author: Thomas Tuegel Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/graphics/digikam/default.nix Log Message: --- Merge pull request #21366 from sh01/digikam_patch_lensfun_0.3.2 digikam: Add patch to fix compilation against Lensfun 0.3.2 Compare: https://github.com/NixOS/nixpkgs/compare/3be13889633d...c5c43802056c___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] d0a086: nix-daemon: default useSandbox to true
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d0a086770a1be8c1f3175c195587052c5a5bfe1c https://github.com/NixOS/nixpkgs/commit/d0a086770a1be8c1f3175c195587052c5a5bfe1c Author: Graham ChristensenDate: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M nixos/doc/manual/release-notes/rl-1703.xml M nixos/modules/services/misc/nix-daemon.nix Log Message: --- nix-daemon: default useSandbox to true Commit: 3be13889633df6413cea1f2fdeed34ecee01d598 https://github.com/NixOS/nixpkgs/commit/3be13889633df6413cea1f2fdeed34ecee01d598 Author: Graham Christensen Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixos/doc/manual/release-notes/rl-1703.xml M nixos/modules/services/misc/nix-daemon.nix Log Message: --- Merge pull request #22767 from grahamc/sandbox-by-default nix-daemon: default useSandbox to true Compare: https://github.com/NixOS/nixpkgs/compare/d440052b64ef...3be13889633d___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 71812b: kwooty: kde-apps url's have changed
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: 71812be9ef75612e489379de7110978811c2229c https://github.com/NixOS/nixpkgs/commit/71812be9ef75612e489379de7110978811c2229c Author: Frederik RietdijkDate: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/applications/networking/newsreaders/kwooty/default.nix Log Message: --- kwooty: kde-apps url's have changed Commit: d375d7b354a8f7839154cd53f207e4bcb65bfbd7 https://github.com/NixOS/nixpkgs/commit/d375d7b354a8f7839154cd53f207e4bcb65bfbd7 Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/applications/video/kmplayer/default.nix Log Message: --- kmplayer: file not available via new mirror either Commit: 63bff03f97620faa92ca8b44c7a5ac897eee6750 https://github.com/NixOS/nixpkgs/commit/63bff03f97620faa92ca8b44c7a5ac897eee6750 Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/tools/misc/kronometer/default.nix Log Message: --- kronometer: 2.1.0 -> 2.1.3 Commit: a35ffe3c01e087896adab5c58f63306d427841e3 https://github.com/NixOS/nixpkgs/commit/a35ffe3c01e087896adab5c58f63306d427841e3 Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/development/libraries/kde-frameworks/fetch.sh M pkgs/development/libraries/kde-frameworks/kpackage/allow-external-paths.patch M pkgs/development/libraries/kde-frameworks/srcs.nix Log Message: --- kde frameworks: 5.30 -> 5.31 Commit: dce2202d535a5fa1f1881f45363dbd954b5c8c7d https://github.com/NixOS/nixpkgs/commit/dce2202d535a5fa1f1881f45363dbd954b5c8c7d Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/desktops/kde-5/applications/fetch.sh M pkgs/desktops/kde-5/applications/srcs.nix Log Message: --- kde applications: 16.12.1 -> 16.12.2 Commit: b71985256866d6c119d4101f52c9e0c102250af3 https://github.com/NixOS/nixpkgs/commit/b71985256866d6c119d4101f52c9e0c102250af3 Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/desktops/kde-5/plasma/khotkeys.nix Log Message: --- kde5.khotkeys: fix for new frameworks Commit: 5de48cc3ed3e7a695d58c0c743e23c4a2b5b96d6 https://github.com/NixOS/nixpkgs/commit/5de48cc3ed3e7a695d58c0c743e23c4a2b5b96d6 Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/applications/graphics/digikam/default.nix Log Message: --- kde4.digikam: mark as broken Commit: 7e55c3cfc7de189679cc6a3c16052712e01a0b7f https://github.com/NixOS/nixpkgs/commit/7e55c3cfc7de189679cc6a3c16052712e01a0b7f Author: Frederik Rietdijk Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/applications/networking/newsreaders/kwooty/default.nix Log Message: --- kde4.kwooty: broken Commit: f228ea5215c4db3ab9607a07a371f39443eea371 https://github.com/NixOS/nixpkgs/commit/f228ea5215c4db3ab9607a07a371f39443eea371 Author: Thomas Tuegel Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/graphics/digikam/default.nix M pkgs/applications/networking/newsreaders/kwooty/default.nix M pkgs/applications/video/kmplayer/default.nix M pkgs/desktops/kde-5/applications/fetch.sh M pkgs/desktops/kde-5/applications/srcs.nix M pkgs/desktops/kde-5/plasma/khotkeys.nix M pkgs/development/libraries/kde-frameworks/fetch.sh M pkgs/development/libraries/kde-frameworks/kpackage/allow-external-paths.patch M pkgs/development/libraries/kde-frameworks/srcs.nix M pkgs/tools/misc/kronometer/default.nix Log Message: --- Merge pull request #22698 from FRidh/kde KDE: update frameworks and applications Compare: https://github.com/NixOS/nixpkgs/compare/c5fb67259e4e...f228ea5215c4___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 5ebf37: org-packages: 2017-02-13
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5ebf37f749d8567262aed1ed3ec3bb19cf2a0e86 https://github.com/NixOS/nixpkgs/commit/5ebf37f749d8567262aed1ed3ec3bb19cf2a0e86 Author: Michael Alan DormanDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/editors/emacs-modes/org-generated.nix Log Message: --- org-packages: 2017-02-13 Commit: 58b5c49ddd73c763583f4a274395ff6838f5d5d3 https://github.com/NixOS/nixpkgs/commit/58b5c49ddd73c763583f4a274395ff6838f5d5d3 Author: Michael Alan Dorman Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/editors/emacs-modes/elpa-generated.nix Log Message: --- elpa-packages: 2017-02-13 Commit: cd90c7fe7997b0cf36e555c3a08d9b21df7981fb https://github.com/NixOS/nixpkgs/commit/cd90c7fe7997b0cf36e555c3a08d9b21df7981fb Author: Michael Alan Dorman Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix Log Message: --- melpa-stable-packages: 2017-02-13 Commit: 25a2f9073142d7bedfab17cfa4ba3ecb831ddc31 https://github.com/NixOS/nixpkgs/commit/25a2f9073142d7bedfab17cfa4ba3ecb831ddc31 Author: Michael Alan Dorman Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/editors/emacs-modes/melpa-generated.nix Log Message: --- melpa-packages: 2017-02-13 Removals: - ebib-handy: removed from melpa - goose-theme: repository removed Commit: d440052b64ef54479299b0ed24c11f078bef5536 https://github.com/NixOS/nixpkgs/commit/d440052b64ef54479299b0ed24c11f078bef5536 Author: Thomas Tuegel Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/editors/emacs-modes/elpa-generated.nix M pkgs/applications/editors/emacs-modes/melpa-generated.nix M pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix M pkgs/applications/editors/emacs-modes/org-generated.nix Log Message: --- Merge pull request #22787 from mdorman/emacs-updates Automated emacs package updates Compare: https://github.com/NixOS/nixpkgs/compare/3a0efcc4ca59...d440052b64ef___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3a0efc: configuration-common: http-api-data is now at vers...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3a0efcc4ca59cc3ebb3676e47b05f05dfbc6c9d2 https://github.com/NixOS/nixpkgs/commit/3a0efcc4ca59cc3ebb3676e47b05f05dfbc6c9d2 Author: John WiegleyDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- configuration-common: http-api-data is now at version 0.3.5 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] ce8592: offlineimap: install man pages
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb https://github.com/NixOS/nixpkgs/commit/ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb Author: Thomas TuegelDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/tools/networking/offlineimap/default.nix Log Message: --- offlineimap: install man pages ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 7ab448: qca2: explicitly require openssl_1_0_2
Branch: refs/heads/openssl-1.1 Home: https://github.com/NixOS/nixpkgs Commit: 7ab448ce16a05dc043f27c8fc8ebbd23df3c51dc https://github.com/NixOS/nixpkgs/commit/7ab448ce16a05dc043f27c8fc8ebbd23df3c51dc Author: Robin GlosterDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/libraries/qca2/default.nix Log Message: --- qca2: explicitly require openssl_1_0_2 Commit: c86df0e27a2f0ff8446b25ac06f0999464e71ace https://github.com/NixOS/nixpkgs/commit/c86df0e27a2f0ff8446b25ac06f0999464e71ace Author: Robin Gloster Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/version-management/git-and-tools/default.nix M pkgs/desktops/enlightenment/default.nix M pkgs/desktops/gnome-2/default.nix M pkgs/desktops/gnome-3/3.22/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/lua-packages.nix M pkgs/top-level/perl-packages.nix M pkgs/top-level/python-packages.nix Log Message: --- pin some packages to openssl 1.0.2 for now Compare: https://github.com/NixOS/nixpkgs/compare/fe059393b9ed...c86df0e27a2f___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f3481d: Merge #22792: flashplayer: 24.0.0.194 -> 24.0.0.22...
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: f3481d6686d7804c7f2a2a148de7da3ae227b9b7 https://github.com/NixOS/nixpkgs/commit/f3481d6686d7804c7f2a2a148de7da3ae227b9b7 Author: Vladimír ČunátDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix M pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix Log Message: --- Merge #22792: flashplayer: 24.0.0.194 -> 24.0.0.221 Critical security + bugfix update! (cherry picked from commit 7b32b8a47429663f63a23f64acee38520e9dd918) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] adcd9b: flashplayer: 24.0.0.194 -> 24.0.0.221
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: adcd9bc884d9518ee41f3d763742e725f8d34c08 https://github.com/NixOS/nixpkgs/commit/adcd9bc884d9518ee41f3d763742e725f8d34c08 Author: taku0Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix M pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix Log Message: --- flashplayer: 24.0.0.194 -> 24.0.0.221 Commit: 7b32b8a47429663f63a23f64acee38520e9dd918 https://github.com/NixOS/nixpkgs/commit/7b32b8a47429663f63a23f64acee38520e9dd918 Author: Vladimír Čunát Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix M pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix Log Message: --- Merge #22792: flashplayer: 24.0.0.194 -> 24.0.0.221 Critical security + bugfix update! Compare: https://github.com/NixOS/nixpkgs/compare/40dc5e698282...7b32b8a47429___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] nix-shell (was: Python 3 as default)
Hi Profpatsch, >> I hardly ever use nix-shell and I don't want to, to be honest. > > Why is that? 1. I don't need it. Adding those Haskell/Python/LaTeX/R modules that I need into my global user environment works just fine. I suppose there might be occasions where versions conflict in a way that makes it impossible to add them into the same environment, but I haven't actually encountered that problem yet. Since I don't need more than one shell environment, I don't have to bother will shell.nix files, and I don't have to remember which open shell window is running which environment either. 2. nix-shells don't nest. And even if they would, many things you'll define inside of a nix-shell won't nest. Thus, you cannot easily compose shell environments, which makes it hard to define accurate environments in a modular and re-usable fashion. 3. nix-shell interacts poorly with long-running processes. I work on all my projects with Emacs, but I don't want to start Emacs inside of a nix-shell created for one particular project. My Emacs is up and running from the moment I log in and then I don't ever quit it unless I absolutely have to. So having a proper build environment in "some other window" isn't very useful to me. I want to compile by hitting C-c C-c or C-c C-l. 4. When I update my copy of the Nixpkgs repository, I run "nix-env -u --always" and afterwards everything I'll need to work on all of my projects is available locally in my /nix store. If I see that Nix needs to compile hundreds of packages to do the update, then I may or may not decide to postpone the update. When using nix-shell, I won't know whether it needs to compile for an hour until I've actually run it, i.e. I'll notice that I can't start hacking on some project only after I've decided I want to do that. With one global environment, I have that information for all my projects at the time I decide whether to update or not. 5. The default nix-shell prompt in bash does not distinguish between "root" and normal users. ;-) Having said all that, I believe that nix-shell is genuinely useful and I do use it every now and then. I wouldn't want to get along without it. I just wouldn't want to use it as much as some people apparently do. Best regards, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixops] 3c01d4: release notes: update
Branch: refs/heads/master Home: https://github.com/NixOS/nixops Commit: 3c01d4e5760ba9cb2ec26b182e4aa389dc37fd65 https://github.com/NixOS/nixops/commit/3c01d4e5760ba9cb2ec26b182e4aa389dc37fd65 Author: Domen KožarDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M doc/manual/release-notes.xml Log Message: --- release notes: update ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixops] 20d4a8: garden
Branch: refs/heads/master Home: https://github.com/NixOS/nixops Commit: 20d4a8dbec559ab0ec63e3781eb3bf2c57300e48 https://github.com/NixOS/nixops/commit/20d4a8dbec559ab0ec63e3781eb3bf2c57300e48 Author: Domen KožarDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M doc/manual/release-notes.xml Log Message: --- garden ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a50b4d: docker: 1.13.0 -> 1.13.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a50b4d0e03df781d081a492bd292a34a81e059e1 https://github.com/NixOS/nixpkgs/commit/a50b4d0e03df781d081a492bd292a34a81e059e1 Author: Vincent DemeesterDate: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/applications/virtualization/docker/default.nix Log Message: --- docker: 1.13.0 -> 1.13.1 Signed-off-by: Vincent Demeester Commit: b42f820bdc683c50b021eee4ddf976cec1a64476 https://github.com/NixOS/nixpkgs/commit/b42f820bdc683c50b021eee4ddf976cec1a64476 Author: Benjamin Staffin Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/virtualization/docker/default.nix Log Message: --- Merge pull request #22745 from vdemeester/docker_1_13_1 docker: 1.13.0 -> 1.13.1 Compare: https://github.com/NixOS/nixpkgs/compare/14c47bd54623...b42f820bdc68___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 25121d: bazel: 0.3.2 -> 0.4.4
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 25121d4350b8e0deb552575a9377cb2e899fc7c9 https://github.com/NixOS/nixpkgs/commit/25121d4350b8e0deb552575a9377cb2e899fc7c9 Author: Itai ZukermanDate: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/development/tools/build-managers/bazel/default.nix Log Message: --- bazel: 0.3.2 -> 0.4.4 Commit: 40dc5e698282bd8fefb8dd225810e4c8b6865260 https://github.com/NixOS/nixpkgs/commit/40dc5e698282bd8fefb8dd225810e4c8b6865260 Author: Benjamin Staffin Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/tools/build-managers/bazel/default.nix Log Message: --- Merge pull request #22771 from izuk/bazel bazel: 0.3.2 -> 0.4.4 Compare: https://github.com/NixOS/nixpkgs/compare/b42f820bdc68...40dc5e698282___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
I would also vote for not changing "default" python as it will break stuff. I was going to propose what Eelco already wrote here, just to have explicit sets like python27Packages, python35Packages without any "default". But I would leave symlink as it is for compatibility reasons. 2017-02-14 15:54 GMT+00:00 Kevin Cox: > > > On Feb 14, 2017 07:49, "Freddy Rietdijk" wrote: > > It would two mean things: > >1. alias `python3 to `python` >2. add a symlink that points to the `python` program, as discussed >before in this thread. > > For what it is worth I would prefer that we have a python executable in > the path (if it is "installed"), but the nix expressions only have the > version suffixed attributes to increase explicitness and improve > readability. > > Plus then we will be ready for python 4 > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > -- Tomasz Czyż ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Python 3 as default
It would two mean things: 1. alias `python3 to `python` 2. add a symlink that points to the `python` program, as discussed before in this thread. Just removing the `python` attribute is indeed perhaps a better solution than 1). It's explicit, and like you said, it won't silently break people's expressions. If anyone is willing to contribute their sed-fu to do such mass-replacement then I don't see any reason why not. On Tue, Feb 14, 2017 at 4:22 PM, Eelco Dolstrawrote: > Hi, > > On 02/13/2017 10:08 AM, Freddy Rietdijk wrote: > > > As you may be aware the plan is to change to Python 3.5 as default for > 17.03. > > What does it mean to make Python 3 the default? If it's changing the > "python" > attribute or command to alias "python3", I don't really see the advantage > in > doing that. It will just unnecessarily and silently break stuff (like user > scripts that have "#!/usr/bin/env python"). > > We could remove the "python" and "pythonPackages" attributes from Nixpkgs, > forcing use of "python2" or "python3". Then at least people's Nix > expressions > won't change meaning silently. > > -- > Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ > ___ > 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] Python 3 as default
On Feb 14, 2017 07:49, "Freddy Rietdijk"wrote: It would two mean things: 1. alias `python3 to `python` 2. add a symlink that points to the `python` program, as discussed before in this thread. For what it is worth I would prefer that we have a python executable in the path (if it is "installed"), but the nix expressions only have the version suffixed attributes to increase explicitness and improve readability. Plus then we will be ready for python 4 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Python 3 as default
Hi, On 02/14/2017 04:28 PM, Denis wrote: > The same would have sense for "jdk" and "jre". > There are "jre7" and "jre8" and just "jre" which is "jre7" on darwin > and "jre8" on linux. It is nothing but confusion. Well, Java has better backwards compatibility (though obviously it's bad to have "jre" point to different versions on different platforms). Python 2 and Python 3 are really different languages, so we should not quietly replace one with the other. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 23fee8: nixos-rebuild: Support passing e.g. '-j8'
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 23fee8bfbddd8ce4c0a38ff4cbdd3cc9481232bd https://github.com/NixOS/nixpkgs/commit/23fee8bfbddd8ce4c0a38ff4cbdd3cc9481232bd Author: Tuomas TynkkynenDate: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M nixos/modules/installer/tools/nixos-rebuild.sh Log Message: --- nixos-rebuild: Support passing e.g. '-j8' Where there is no space between '-j' and the number. Commit: 2000f0941e5de5ce62ede09f2003ff3ccfcd26ac https://github.com/NixOS/nixpkgs/commit/2000f0941e5de5ce62ede09f2003ff3ccfcd26ac Author: Tuomas Tynkkynen Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M nixos/modules/installer/tools/nixos-rebuild.sh Log Message: --- nixos-rebuild: Don't build nixos-rebuild with --fast Commit: 14c47bd546231ec3b454a994cc1db8e770e807b5 https://github.com/NixOS/nixpkgs/commit/14c47bd546231ec3b454a994cc1db8e770e807b5 Author: Eelco Dolstra Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixos/modules/installer/tools/nixos-rebuild.sh Log Message: --- Merge pull request #22758 from dezgeg/pr-nixos-rebuild nixos-rebuild: Don't rebuild nixos-rebuild when --fast is used Compare: https://github.com/NixOS/nixpkgs/compare/314dd9215b3d...14c47bd54623___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Hi, On 02/13/2017 10:08 AM, Freddy Rietdijk wrote: > As you may be aware the plan is to change to Python 3.5 as default for 17.03. What does it mean to make Python 3 the default? If it's changing the "python" attribute or command to alias "python3", I don't really see the advantage in doing that. It will just unnecessarily and silently break stuff (like user scripts that have "#!/usr/bin/env python"). We could remove the "python" and "pythonPackages" attributes from Nixpkgs, forcing use of "python2" or "python3". Then at least people's Nix expressions won't change meaning silently. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] af09e7: spideroak: enable it to appear in the application ...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: af09e72d52d9b9918f7b2e2397181f87d0e148fd https://github.com/NixOS/nixpkgs/commit/af09e72d52d9b9918f7b2e2397181f87d0e148fd Author: Neil MayhewDate: 2017-02-07 (Tue, 07 Feb 2017) Changed paths: M pkgs/applications/networking/spideroak/default.nix Log Message: --- spideroak: enable it to appear in the application menus Put files in $out/share instead of $out/usr/share Commit: 943951ff53f122109f6417032bff4dbd473d2d2b https://github.com/NixOS/nixpkgs/commit/943951ff53f122109f6417032bff4dbd473d2d2b Author: Joachim F Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/networking/spideroak/default.nix Log Message: --- Merge pull request #22529 from neilmayhew/fix/spideroak spideroak: enable it to appear in the application menus Compare: https://github.com/NixOS/nixpkgs/compare/79476a956cd1...943951ff53f1___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] acce1d: ngspice: Add XSpice and Cider support
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: acce1d9ad26bbec08b9e8621e9afdd66da4475ef https://github.com/NixOS/nixpkgs/commit/acce1d9ad26bbec08b9e8621e9afdd66da4475ef Author: Rongcui DongDate: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M pkgs/applications/science/electronics/ngspice/default.nix Log Message: --- ngspice: Add XSpice and Cider support Commit: 79476a956cd1ac9e267ba1b419843fac7cd9dcc8 https://github.com/NixOS/nixpkgs/commit/79476a956cd1ac9e267ba1b419843fac7cd9dcc8 Author: Joachim F Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/science/electronics/ngspice/default.nix Log Message: --- Merge pull request #22510 from rongcuid/fix/ngspice-update Fix/ngspice add XSPICE and CIDER support Compare: https://github.com/NixOS/nixpkgs/compare/d43738ae9314...79476a956cd1___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Profpatschwrites: > On 17-02-14 01:18pm, Peter Simons wrote: >> I hardly ever use nix-shell and I don't want to, to >> be honest > > Completely off-discussion: Why is that? > Convenience? nix-shell does too many strange things? > > Personally I use nix-shell for nearly everything I do > nowadays because it’s so convenient. > Even a buildFHSUserEnv is quickly set up for strange software. I do the same, and I never want to work on a project without it. No more incompatible versions between project-A needs foo-1.x and project-B needs foo-2.x. And in addition to using `shell.nix` + `nix-shell` I add `direnv` which automatically applies the shell environments to the current shell when `cd`ing into a directory with a `shell.nix` (or some subdirectory.) signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] d43738: notmuch: don't double-compress man pages
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d43738ae931475cc456e556c52e2b57a357b1a2d https://github.com/NixOS/nixpkgs/commit/d43738ae931475cc456e556c52e2b57a357b1a2d Author: Thomas TuegelDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/networking/mailreaders/notmuch/default.nix Log Message: --- notmuch: don't double-compress man pages ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] d8e39b: Python 2.7: set higher priority
Branch: refs/heads/python3 Home: https://github.com/NixOS/nixpkgs Commit: d8e39b8f4150d103793bb6942f59ba52b15220d4 https://github.com/NixOS/nixpkgs/commit/d8e39b8f4150d103793bb6942f59ba52b15220d4 Author: Frederik RietdijkDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/interpreters/python/cpython/2.7/default.nix Log Message: --- Python 2.7: set higher priority Even though Python 3 is now the default interpreter, we would like to have `/bin/python` refer to 2 in case both 2 and 3 are installed in one profile. This automatically applies to python27.buildEnv as well since buildEnv inherits the meta from Python. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Hi, from this and some of the discussion above I see that the situation in NixOS may be a little different to most other distros. I agree that you probably don't want to have to patch all shebangs manually, but making python2 take priority over python3 in the case of a collision seems like a good solution. Anyway I really just wanted to raise the point for discussion, having done that I can go back to lurking on this list! :) Thanks, Richard On Tue, Feb 14, 2017 at 01:17:07PM +0100, Freddy Rietdijk wrote: > Sure. As I said the PEP doesn't provide any method for distributions that > would already like to make the switch. In an ideal scenario all developers > would update their requirements/shebangs. That just doesn't happen. > > What we perhaps ought to do is instead fix all those shebangs ourselves, > before we run `patchShebang/wrapPythonPrograms`. Considering the amount of > (boring) work that takes I don't see anyone stepping up doing that. > Therefore, symlinking `python` *also* to `python3` is a pragmatic solution. > > As Moritz described, we already pass a specific interpreter as a buildInput > to a package. Therefore, there shouldn't be any issues with our programs. > The only issue that could arise is when one installs both interpreters in > one profile. In that case a collision occurs. Maybe we should set a > priority here so that in that case `python` will refer to `python2`. > > > > > > > > > > > > > > On Tue, Feb 14, 2017 at 12:11 PM, Richard Ipsum> wrote: > > > On Tue, Feb 14, 2017 at 11:29:32AM +0100, Freddy Rietdijk wrote: > > > Hi Richard, > > > > > > Thanks for sharing the PEP. > > > > > > Actually, we, or at least I, chose to ignore that PEP, and so we do > > > symlink. > > > > > > > Out of interest can I ask what the rationale for that decision is? > > > > I'd like to try to persuade you not to symlink python to python3, > > because doing so potentially breaks existing python2 programs. > > > > But since I'm not an active contributor to this project it's not my place > > to argue here really. :) > > > > Thanks, > > Richard > > > > [snip] > > > > > > > > > On Tue, Feb 14, 2017 at 10:40 AM, Richard Ipsum < > > richardip...@fastmail.co.uk > > > > wrote: > > > > > > > On Mon, Feb 13, 2017 at 10:08:07AM +0100, Freddy Rietdijk wrote: > > > > > Hi, > > > > > > > > > > As you may be aware the plan is to change to Python 3.5 as default > > for > > > > > 17.03. There were a couple of things that had to be done, and I think > > > > we're > > > > > ready now to make the change. Packages that require Python 2 are now > > > > pinned > > > > > to do so. > > > > > > > > > > Now, obviously I haven't been able to test all packages myself, but > > > > judging > > > > > from what Hydra reports and from working from the `python3` branch I > > > > don't > > > > > expect any major issues. > > > > > > > > > > The Python 2.7 interpreter had quite some patches, among one to make > > the > > > > > interpreter and Python packages more deterministic. I say more, > > because > > > > > they're not fully deterministic yet. I have some patches lining up > > for > > > > the > > > > > 3.5 interpreter to improvement determinism there as well. > > > > > > > > > > In any case, I would like to merge this as soon as possible. Any > > > > objections? > > > > > > > > > > Freddy > > > > > > > > Hi, I'm not really an active contributor here but I follow NixOS > > because > > > > I think it's a really cool project. > > > > > > > > Am I to understand that NixOS is considering replacing the python2 > > > > interpreter with the python3 interpreter, as arch did? > > > > > > > > If that's the case it may be worth considering this pep[1] first. > > > > > > > > If I've misunderstood and there's no intention to symlink 'python' to > > > > 'python3' > > > > then please ignore this. :) > > > > > > > > [1]: http://legacy.python.org/dev/peps/pep-0394/#id5 > > > > ___ > > > > 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] Python 3 as default
Hi At some point, the migration will have to be done. According to PEP373[1], python2 will not be maintained after 2020. Therefore, we have a 3 year window to do this change, and I do not think we should wait the last moment. There will be difficulties for the users when this change will be done. I have no doubt about that. I do not know if there will be a `good' moment to do it. As far as I know, the main distros still use python2 (except for arch) and I do not know what are their schedules for such migration. Personally, I have no objection to use python3 as default for 17.03 (and I will continue to rely on python2 for some time, but this will be a good motivation to migrate our legacy code bases!). Lancelot. On 14/02/2017 14:05, Freddy Rietdijk wrote: > > As to your question what the advantages are. Well, aside from the fact > that upstream wants everyone to move away from Python 2, there aren't > any, really. It makes sense for them, they don't want to support old > code. Sure, the Python 3 interpreter can be faster, but then again, > the closure is somewhat bigger. Furthermore, there's a good chance you > need now both 2 and 3 on your system. If you want to develop with 3, > you already can (and should), so there isn't any advantage there either. > > [1] https://www.python.org/dev/peps/pep-0373/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] c86798: amoeba: init at 1.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c86798125b85a6c4fc49520e79b59ed2299f2885 https://github.com/NixOS/nixpkgs/commit/c86798125b85a6c4fc49520e79b59ed2299f2885 Author: Tuomas TynkkynenDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: A pkgs/games/amoeba/data.nix A pkgs/games/amoeba/default.nix A pkgs/games/amoeba/include-string-h.patch M pkgs/top-level/all-packages.nix Log Message: --- amoeba: init at 1.1 This uses all the patches from Debian since otherwise it would work on i686 among other things. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
On 17-02-14 01:18pm, Peter Simons wrote: > I hardly ever use nix-shell and I don't want to, to > be honest Completely off-discussion: Why is that? Convenience? nix-shell does too many strange things? Personally I use nix-shell for nearly everything I do nowadays because it’s so convenient. Even a buildFHSUserEnv is quickly set up for strange software. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nix] 9ff9c3: Add support for s3:// URIs
Branch: refs/heads/master Home: https://github.com/NixOS/nix Commit: 9ff9c3f2f80ba4108e9c945bbfda2c64735f987b https://github.com/NixOS/nix/commit/9ff9c3f2f80ba4108e9c945bbfda2c64735f987b Author: Eelco DolstraDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M src/libstore/download.cc M src/libstore/download.hh M src/libstore/s3-binary-cache-store.cc A src/libstore/s3.hh M src/libutil/logging.hh Log Message: --- Add support for s3:// URIs This adds support for s3:// URIs in all places where Nix allows URIs, e.g. in builtins.fetchurl, builtins.fetchTarball, and NIX_PATH. It allows fetching resources from private S3 buckets, using credentials obtained from the standard places (i.e. AWS_* environment variables, ~/.aws/credentials and the EC2 metadata server). This may not be super-useful in general, but since we already depend on aws-sdk-cpp, it's a cheap feature to add. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f88032: wireguard: 2016-08-08 -> 2016-10-01
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: f88032f1ea460eb2ed214e00cfc37369ae63e0f8 https://github.com/NixOS/nixpkgs/commit/f88032f1ea460eb2ed214e00cfc37369ae63e0f8 Author: Eric SagnesDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 2016-08-08 -> 2016-10-01 (cherry picked from commit 58d44a376e08874f17dc54d0f5ce508f1a7f5f2a) Commit: efdcb44fd44173f681d227cba993c5cdf7d2c162 https://github.com/NixOS/nixpkgs/commit/efdcb44fd44173f681d227cba993c5cdf7d2c162 Author: Franz Pletz Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 2016-10-01 -> 2016-10-25 (cherry picked from commit 6e17ee638c631a4b036dd80a68e7d8ade8a32b29) Commit: 8d799c622db9583fa3a0ade1ad884ddc6a093798 https://github.com/NixOS/nixpkgs/commit/8d799c622db9583fa3a0ade1ad884ddc6a093798 Author: Jörg Thalheim Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 2016-10-25 -> 0.0.20161110 (cherry picked from commit c0f9bc9b4eca7c4d58235d62dc886dc04f5abded) Commit: 72e628f55a38764c9364124aa05db83edcb62cd8 https://github.com/NixOS/nixpkgs/commit/72e628f55a38764c9364124aa05db83edcb62cd8 Author: Franz Pletz Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20161110 -> 0.0.20161116.1 (cherry picked from commit 94731510c42c3d443790f8c8af68a62aac23ccd0) Commit: e32f0df7fc05e6f030d2ccd31d3b35b584a874fa https://github.com/NixOS/nixpkgs/commit/e32f0df7fc05e6f030d2ccd31d3b35b584a874fa Author: Jörg Thalheim Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20161116.1 -> 0.0.20161129 (cherry picked from commit 7c8d4cd9a9ab721c6bf7909315a9130b6d7a9f75) Commit: c5eb4f1f88c9152e246e3d86b73925b8372b378e https://github.com/NixOS/nixpkgs/commit/c5eb4f1f88c9152e246e3d86b73925b8372b378e Author: Franz Pletz Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 20161129 -> 20161209 (cherry picked from commit a4586f87dcee247bd7ede15b2114782cefd8f2dd) Commit: ea45f205bb8d48c503e1043bf0a238bb43a646ee https://github.com/NixOS/nixpkgs/commit/ea45f205bb8d48c503e1043bf0a238bb43a646ee Author: Jason A. Donenfeld Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 20161209 -> 20161218 (#21288) (cherry picked from commit 77588ca4428875e5d04bd470a6b68556950c3981) Commit: 9e7f7f4b8aa516b1b3afb19c925e8a865238c4b3 https://github.com/NixOS/nixpkgs/commit/9e7f7f4b8aa516b1b3afb19c925e8a865238c4b3 Author: Jörg Thalheim Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20161218 -> 0.0.20161223 (cherry picked from commit c98f3ffea867f31d1781ba7a4e3fd93a2780db0b) Commit: be0a84783b6e5022bebad8ad683fc083100b6065 https://github.com/NixOS/nixpkgs/commit/be0a84783b6e5022bebad8ad683fc083100b6065 Author: Jörg Thalheim Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20161223 -> 0.0.20161230 fixes #21572 (cherry picked from commit f3052035ee758b853adbb4c218e90e39db72538f) Commit: e5147841486568efe99ada04a4c0d92f9c389782 https://github.com/NixOS/nixpkgs/commit/e5147841486568efe99ada04a4c0d92f9c389782 Author: Jason A. Donenfeld Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20161230 -> 0.0.20170105 Version bump that contains some new tools. fixes #21666 (cherry picked from commit 1ba9a3cd9bc745f76ea79928e02687105cb38dd0) Commit: 865a1b94288cb34ac7e2a2551314f3c130311c9e https://github.com/NixOS/nixpkgs/commit/865a1b94288cb34ac7e2a2551314f3c130311c9e Author: Jörg Thalheim Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20170105 -> 0.0.20170115 (cherry picked from commit 12b283044612c5336638fd3a825e15799c7394aa) Commit:
[Nix-commits] [NixOS/nixpkgs] 1a9707: wireguard: update description to describe its curr...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1a9707de24dd8c8d09cec8e18f4bab7465b2e424 https://github.com/NixOS/nixpkgs/commit/1a9707de24dd8c8d09cec8e18f4bab7465b2e424 Author: Graham ChristensenDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: update description to describe its current state ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 36d509: wireguard: 0.0.20170213 -> 0.0.20170214
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 36d50978b275f0986ed805c42471feb0f6d2cc0f https://github.com/NixOS/nixpkgs/commit/36d50978b275f0986ed805c42471feb0f6d2cc0f Author: Jason A. DonenfeldDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- wireguard: 0.0.20170213 -> 0.0.20170214 This has a quick fix for old bash. Commit: cc442cbdba0d7f4139c3e31b10d407a38bf71c7b https://github.com/NixOS/nixpkgs/commit/cc442cbdba0d7f4139c3e31b10d407a38bf71c7b Author: Graham Christensen Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/os-specific/linux/wireguard/default.nix Log Message: --- Merge pull request #22786 from zx2c4/patch-4 wireguard: 0.0.20170213 -> 0.0.20170214 Compare: https://github.com/NixOS/nixpkgs/compare/1a9707de24dd...cc442cbdba0d___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 67bd8d: sabnzbd: fix dependencies
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 67bd8d552fc79f127b1fc89c27e1acb4af9bf37f https://github.com/NixOS/nixpkgs/commit/67bd8d552fc79f127b1fc89c27e1acb4af9bf37f Author: Frederik RietdijkDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/servers/sabnzbd/default.nix Log Message: --- sabnzbd: fix dependencies ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 51a338: sabnzbd: 1.1.0 -> 1.2.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 51a338a601150a01e958ed004e622ca7328aed99 https://github.com/NixOS/nixpkgs/commit/51a338a601150a01e958ed004e622ca7328aed99 Author: Frederik RietdijkDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/servers/sabnzbd/default.nix Log Message: --- sabnzbd: 1.1.0 -> 1.2.0 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Peter, that issue we can fix by setting the priority for Python 2 higher. That should also be done in `python.buildEnv`. So aside from symlinking, there are I think two other methods. One, fixing all the shebangs ourselves. Two, modify `patchShebangs` to have an exception for Python so it will rewrite to whatever `python{X}` is on PATH. The first option is likely what we ought to do, and the second option won't happen. As to your question what the advantages are. Well, aside from the fact that upstream wants everyone to move away from Python 2, there aren't any, really. It makes sense for them, they don't want to support old code. Sure, the Python 3 interpreter can be faster, but then again, the closure is somewhat bigger. Furthermore, there's a good chance you need now both 2 and 3 on your system. If you want to develop with 3, you already can (and should), so there isn't any advantage there either. So when you just want to have your system with your programs and services, there aren't any real advantages. But for those developing and maintaining Python packages there definitely are: not having to keep supporting both 2 and 3 because users/distro's don't want to change. On Tue, Feb 14, 2017 at 1:25 PM, Peter Simonswrote: > Hi Freddy, > > > Peter, could you explain how it broke your setup? > > I have plenty of scripts that run "python" expecting to get python2. > > I can fix those scripts, of course. I probably should, and I will. > Still, from a user's point of view, the experience of them suddenly > misbehaving was not a nice one. Especially since it's not quite > obviously to me what the *benefits* that change are. > > Best regards, > Peter > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixops] 8293dd: Atomically set permissions on nixops state file cr...
Branch: refs/heads/master Home: https://github.com/NixOS/nixops Commit: 8293ddfbc457b24128a925a5574aef948cd81e7d https://github.com/NixOS/nixops/commit/8293ddfbc457b24128a925a5574aef948cd81e7d Author: Niklas HambüchenDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixops/statefile.py Log Message: --- Atomically set permissions on nixops state file creation. (See #594) This ensures that there's no time window between the creation of the file and the `chmod` during which the state file would be world-readable. Commit: 3a8410e0567f86c9a5b9e00749d86d095a5d8a21 https://github.com/NixOS/nixops/commit/3a8410e0567f86c9a5b9e00749d86d095a5d8a21 Author: Rob Vermaas Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixops/statefile.py Log Message: --- Merge pull request #604 from nh2/statefile-atomic-create-permissions Atomically set permissions on nixops state file creation. (See #594) Compare: https://github.com/NixOS/nixops/compare/fcc63522deb3...3a8410e0567f___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 232639: haskellPackages: Remove jailbreak for xxhash and G...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 232639ccbba0e45ee526fac47e59c5dcab344d3e https://github.com/NixOS/nixpkgs/commit/232639ccbba0e45ee526fac47e59c5dcab344d3e Author: Rickard NilssonDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix Log Message: --- haskellPackages: Remove jailbreak for xxhash and Glob (fixed upstream) Commit: 866525084463de9b36662c9fa7c4c6805e2ffc56 https://github.com/NixOS/nixpkgs/commit/866525084463de9b36662c9fa7c4c6805e2ffc56 Author: Rickard Nilsson Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskellPackages.dirstream: jailbreak Compare: https://github.com/NixOS/nixpkgs/compare/3508b4832fbe...866525084463___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Problem with nixos-rebuild and Setup Virtual Console
Hi x1n4u, please see https://github.com/NixOS/nixpkgs/issues/22470. Best regards, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Problem with nixos-rebuild and Setup Virtual Console
See https://github.com/NixOS/nixpkgs/issues/22470, we are investigating this currently. Sorry for the trouble! On 02/14/2017 03:05 PM, x1n4u wrote: Hello Again, i forgot to append the journalctl -xe so here it is: Feb 14 12:59:23 citadel sudo[14517]:x1n4u : TTY=pts/1 ; PWD=/home/x1n4u ; USER=root ; COMMAND=/run/current-system/sw/bin/systemctl restart systemd-vconsole-setup.service Feb 14 12:59:23 citadel sudo[14517]: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 14 12:59:23 citadel systemd[1]: Starting Setup Virtual Console... -- Subject: Unit systemd-vconsole-setup.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-vconsole-setup.service has begun starting up. Feb 14 12:59:23 citadel systemd-vconsole-setup[14548]: Virtual console /dev/tty0 is not in K_XLATE or K_UNICODE. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE Feb 14 12:59:23 citadel systemd[1]: Failed to start Setup Virtual Console. -- Subject: Unit systemd-vconsole-setup.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-vconsole-setup.service has failed. -- -- The result is failed. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Unit entered failed state. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'. Feb 14 12:59:23 citadel sudo[14517]: pam_unix(sudo:session): session closed for user root the red highlighted line being: Feb 14 12:59:23 citadel systemd-vconsole-setup[14548]: Virtual console /dev/tty0 is not in K_XLATE or K_UNICODE. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE Feb 14 12:59:23 citadel systemd[1]: Failed to start Setup Virtual Hope this helps some more Greez Felix On 02/14/2017 09:25 AM, x1n4u wrote: Hi Folks, i have a problem with my nixos-rebuild, i am not able to to switch after rebuild due to systemd-vconsole-setup.service failing. I get following error message from the nixos-rebuild : sudo nixos-rebuild switch created 5 symlinks in user environment building Nix... building the system configuration... activating the configuration... setting up /etc... readlink: missing operand Try 'readlink --help' for more information. warning: the following units failed: systemd-vconsole-setup.service ● systemd-vconsole-setup.service - Setup Virtual Console Loaded: loaded (/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/example/systemd/system/systemd-vconsole-setup.service; enabled; vendor preset: enabled) Drop-In: /nix/store/7p8cfjzzm845f262gxm1ix21sy3jah4v-system-units/systemd-vconsole-setup.service.d └─overrides.conf Active: failed (Result: exit-code) since Tue 2017-02-14 09:13:21 CET; 16ms ago Docs: man:systemd-vconsole-setup.service(8) man:vconsole.conf(5) Process: 32176 ExecStart=/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE) Main PID: 32176 (code=exited, status=1/FAILURE) CPU: 2ms Feb 14 09:13:21 citadel systemd[1]: Starting Setup Virtual Console... Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE Feb 14 09:13:21 citadel systemd[1]: Failed to start Setup Virtual Console. Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Unit entered failed state. Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'. warning: error(s) occurred while switching to the new configuration I'm using the nixos-unstable channel. I hope someone can help me, cause i've got no clue whats going on. Greez Felix ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Python 3 as default
Hi Freddy, > Peter, could you explain how it broke your setup? I have plenty of scripts that run "python" expecting to get python2. I can fix those scripts, of course. I probably should, and I will. Still, from a user's point of view, the experience of them suddenly misbehaving was not a nice one. Especially since it's not quite obviously to me what the *benefits* that change are. Best regards, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Python 3 as default
Hi Moritz, > You almost never have python installed globally. I absolutely do. I have both python 2 and 3 in my ~/.nix-profile and I have all kinds of scripts that run "/usr/bin/env python" to find their interpreter. > All packaged programs refer to one *specific* instance of python of > their choosing and it's only availale for themself, not anywhere > else. This is true for builds running inside of Nix, but its oftentimes false for scripts that users run outside of Nix, e.g. in their shell. > Also note that it's generally discouraged to "globally" install a > package for development needs. Instead of globally installing > python3, firefox and gdb you write a `shell.nix` file in the project > directory. I'm not sure what you mean by "globally discouraged", but I certainly don't buy into that. I hardly ever use nix-shell and I don't want to, to be honest, and I'd respond rather angrily to attempts from other people to impose their preferred development style onto me. Best regards, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Python 3 as default
Peter, could you explain how it broke your setup? On Tue, Feb 14, 2017 at 1:14 PM, Peter Simonswrote: > Hi Richard, > > > Out of interest can I ask what the rationale for that decision is? > > > > I'd like to try to persuade you not to symlink python to python3, > > because doing so potentially breaks existing python2 programs. > > I, too, wonder why we sym-link "python" to "python3". I'm not sure what > the benefits are, but this change certainly broke my setup, so I am well > aware of the disadvantages. > > Best regards, > Peter > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Python 3 as default
Sure. As I said the PEP doesn't provide any method for distributions that would already like to make the switch. In an ideal scenario all developers would update their requirements/shebangs. That just doesn't happen. What we perhaps ought to do is instead fix all those shebangs ourselves, before we run `patchShebang/wrapPythonPrograms`. Considering the amount of (boring) work that takes I don't see anyone stepping up doing that. Therefore, symlinking `python` *also* to `python3` is a pragmatic solution. As Moritz described, we already pass a specific interpreter as a buildInput to a package. Therefore, there shouldn't be any issues with our programs. The only issue that could arise is when one installs both interpreters in one profile. In that case a collision occurs. Maybe we should set a priority here so that in that case `python` will refer to `python2`. On Tue, Feb 14, 2017 at 12:11 PM, Richard Ipsumwrote: > On Tue, Feb 14, 2017 at 11:29:32AM +0100, Freddy Rietdijk wrote: > > Hi Richard, > > > > Thanks for sharing the PEP. > > > > Actually, we, or at least I, chose to ignore that PEP, and so we do > > symlink. > > > > Out of interest can I ask what the rationale for that decision is? > > I'd like to try to persuade you not to symlink python to python3, > because doing so potentially breaks existing python2 programs. > > But since I'm not an active contributor to this project it's not my place > to argue here really. :) > > Thanks, > Richard > > [snip] > > > > > > On Tue, Feb 14, 2017 at 10:40 AM, Richard Ipsum < > richardip...@fastmail.co.uk > > > wrote: > > > > > On Mon, Feb 13, 2017 at 10:08:07AM +0100, Freddy Rietdijk wrote: > > > > Hi, > > > > > > > > As you may be aware the plan is to change to Python 3.5 as default > for > > > > 17.03. There were a couple of things that had to be done, and I think > > > we're > > > > ready now to make the change. Packages that require Python 2 are now > > > pinned > > > > to do so. > > > > > > > > Now, obviously I haven't been able to test all packages myself, but > > > judging > > > > from what Hydra reports and from working from the `python3` branch I > > > don't > > > > expect any major issues. > > > > > > > > The Python 2.7 interpreter had quite some patches, among one to make > the > > > > interpreter and Python packages more deterministic. I say more, > because > > > > they're not fully deterministic yet. I have some patches lining up > for > > > the > > > > 3.5 interpreter to improvement determinism there as well. > > > > > > > > In any case, I would like to merge this as soon as possible. Any > > > objections? > > > > > > > > Freddy > > > > > > Hi, I'm not really an active contributor here but I follow NixOS > because > > > I think it's a really cool project. > > > > > > Am I to understand that NixOS is considering replacing the python2 > > > interpreter with the python3 interpreter, as arch did? > > > > > > If that's the case it may be worth considering this pep[1] first. > > > > > > If I've misunderstood and there's no intention to symlink 'python' to > > > 'python3' > > > then please ignore this. :) > > > > > > [1]: http://legacy.python.org/dev/peps/pep-0394/#id5 > > > ___ > > > 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] 3508b4: haskellPackages: fgl, fgl-arbitrary: jailbreak (w....
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3508b4832fbed06db1d0dd6bbf6ca9c1c3c3ed8e https://github.com/NixOS/nixpkgs/commit/3508b4832fbed06db1d0dd6bbf6ca9c1c3c3ed8e Author: Michael Raskin <7c6f4...@mail.ru> Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/haskell-modules/configuration-common.nix Log Message: --- haskellPackages: fgl, fgl-arbitrary: jailbreak (w.r.t. hspec for tests) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Hi Richard, > Out of interest can I ask what the rationale for that decision is? > > I'd like to try to persuade you not to symlink python to python3, > because doing so potentially breaks existing python2 programs. I, too, wonder why we sym-link "python" to "python3". I'm not sure what the benefits are, but this change certainly broke my setup, so I am well aware of the disadvantages. Best regards, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixops] fcc635: Update releasenotes for 1.5
Branch: refs/heads/master Home: https://github.com/NixOS/nixops Commit: fcc63522deb337b20aedc0c2ef6b77cd8216e074 https://github.com/NixOS/nixops/commit/fcc63522deb337b20aedc0c2ef6b77cd8216e074 Author: Rob VermaasDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M doc/manual/release-notes.xml Log Message: --- Update releasenotes for 1.5 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Problem with nixos-rebuild and Setup Virtual Console
Hello Again, i forgot to append the journalctl -xe so here it is: Feb 14 12:59:23 citadel sudo[14517]:x1n4u : TTY=pts/1 ; PWD=/home/x1n4u ; USER=root ; COMMAND=/run/current-system/sw/bin/systemctl restart systemd-vconsole-setup.service Feb 14 12:59:23 citadel sudo[14517]: pam_unix(sudo:session): session opened for user root by (uid=0) Feb 14 12:59:23 citadel systemd[1]: Starting Setup Virtual Console... -- Subject: Unit systemd-vconsole-setup.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-vconsole-setup.service has begun starting up. Feb 14 12:59:23 citadel systemd-vconsole-setup[14548]: Virtual console /dev/tty0 is not in K_XLATE or K_UNICODE. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE Feb 14 12:59:23 citadel systemd[1]: Failed to start Setup Virtual Console. -- Subject: Unit systemd-vconsole-setup.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-vconsole-setup.service has failed. -- -- The result is failed. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Unit entered failed state. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'. Feb 14 12:59:23 citadel sudo[14517]: pam_unix(sudo:session): session closed for user root the red highlighted line being: Feb 14 12:59:23 citadel systemd-vconsole-setup[14548]: Virtual console /dev/tty0 is not in K_XLATE or K_UNICODE. Feb 14 12:59:23 citadel systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE Feb 14 12:59:23 citadel systemd[1]: Failed to start Setup Virtual Hope this helps some more Greez Felix On 02/14/2017 09:25 AM, x1n4u wrote: > Hi Folks, > i have a problem with my nixos-rebuild, > i am not able to to switch after rebuild due to > systemd-vconsole-setup.service failing. > > I get following error message from the nixos-rebuild : >> sudo nixos-rebuild switch > created 5 symlinks in user environment > building Nix... > building the system configuration... > activating the configuration... > setting up /etc... > readlink: missing operand > Try 'readlink --help' for more information. > warning: the following units failed: systemd-vconsole-setup.service > > ● systemd-vconsole-setup.service - Setup Virtual Console >Loaded: loaded > (/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/example/systemd/system/systemd-vconsole-setup.service; > enabled; vendor preset: enabled) > Drop-In: > /nix/store/7p8cfjzzm845f262gxm1ix21sy3jah4v-system-units/systemd-vconsole-setup.service.d >└─overrides.conf >Active: failed (Result: exit-code) since Tue 2017-02-14 09:13:21 CET; > 16ms ago > Docs: man:systemd-vconsole-setup.service(8) >man:vconsole.conf(5) > Process: 32176 > ExecStart=/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/lib/systemd/systemd-vconsole-setup > (code=exited, status=1/FAILURE) > Main PID: 32176 (code=exited, status=1/FAILURE) > CPU: 2ms > > Feb 14 09:13:21 citadel systemd[1]: Starting Setup Virtual Console... > Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Main > process exited, code=exited, status=1/FAILURE > Feb 14 09:13:21 citadel systemd[1]: Failed to start Setup Virtual Console. > Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Unit > entered failed state. > Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: > Failed with result 'exit-code'. > warning: error(s) occurred while switching to the new configuration > > I'm using the nixos-unstable channel. > > I hope someone can help me, cause i've got no clue whats going on. > > > Greez Felix > ___ > 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] 1a9cf9: Revert "opensubdiv: Remove cudatoolkit from the cl...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1a9cf94ba2ddd169f15e751cacd1847f97cdc8d3 https://github.com/NixOS/nixpkgs/commit/1a9cf94ba2ddd169f15e751cacd1847f97cdc8d3 Author: Eelco DolstraDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/libraries/opensubdiv/default.nix Log Message: --- Revert "opensubdiv: Remove cudatoolkit from the closure" This reverts commit 6a472cf4c1b78580de79c79ca7d7b714f4d8d36e. On second thought, this is not a good idea, because it means that a CUDA-enabled Blender doesn't work on non-CUDA systems anymore (since they don't have libOpenCL.so in /run/opengl-driver). I guess a better solution will be to split cudatoolkit into multiple outputs. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] c9d822: Perl::CGI: 4.31 -> 4.35
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: c9d822b51803504056cbc49365c950b0f1e8f832 https://github.com/NixOS/nixpkgs/commit/c9d822b51803504056cbc49365c950b0f1e8f832 Author: Jean-Pierre PRUNARETDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/top-level/perl-packages.nix Log Message: --- Perl::CGI: 4.31 -> 4.35 Commit: c5fb67259e4ed8efa2fde452bf4ff5be7ebe846e https://github.com/NixOS/nixpkgs/commit/c5fb67259e4ed8efa2fde452bf4ff5be7ebe846e Author: Eelco Dolstra Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/top-level/perl-packages.nix Log Message: --- Merge pull request #22785 from jpierre03/pr-cpan-cgi Perl::CGI: 4.31 -> 4.35 Compare: https://github.com/NixOS/nixpkgs/compare/62ca214d4a0d...c5fb67259e4e___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Hey Richard, Richard Ipsumwrites: > On Tue, Feb 14, 2017 at 11:29:32AM +0100, Freddy Rietdijk wrote: > Out of interest can I ask what the rationale for that decision is? > > I'd like to try to persuade you not to symlink python to python3, > because doing so potentially breaks existing python2 programs. Please note that the situation in NixOS is a bit different to other distributions. You almost never have python installed globally. All packaged programs refer to one *specific* instance of python of their choosing and it's only availale for themself, not anywhere else. For example, if you install program A which depends on python3, and another program B which depends on python2, they will happily work, but your system *won't* have neither `python2` nor `python3` nor `python` in PATH. The only situation that will change is if a package depends on (or a user installs) "python" instead of either "python3" or "python2". This is then easily fixed by choosing the correct one. Also note that it's generally discouraged to "globally" install a package for development needs. Instead of globally installing python3, firefox and gdb you write a `shell.nix` file in the project directory, run `nix-shell`, and you will get dropped into a shell with the mentioned packages available, *without* having to install anything of it in a global. Other packages (and even your whole system outside that shell) is unaffected. signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 30e8d5: ccid: 1.4.23 -> 1.4.26
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 30e8d577f10048526e92d15dd3d547d2fd975b9c https://github.com/NixOS/nixpkgs/commit/30e8d577f10048526e92d15dd3d547d2fd975b9c Author: Bjørn ForsmanDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/tools/security/ccid/default.nix Log Message: --- ccid: 1.4.23 -> 1.4.26 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 8493a2: heaptrack: init at 2017-02-14
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8493a2d0609b1ba4fa5be36f4542ad6d55ecf54c https://github.com/NixOS/nixpkgs/commit/8493a2d0609b1ba4fa5be36f4542ad6d55ecf54c Author: Gabriel EbnerDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: A pkgs/development/tools/profiling/heaptrack/default.nix M pkgs/top-level/all-packages.nix Log Message: --- heaptrack: init at 2017-02-14 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
On Tue, Feb 14, 2017 at 11:29:32AM +0100, Freddy Rietdijk wrote: > Hi Richard, > > Thanks for sharing the PEP. > > Actually, we, or at least I, chose to ignore that PEP, and so we do > symlink. > Out of interest can I ask what the rationale for that decision is? I'd like to try to persuade you not to symlink python to python3, because doing so potentially breaks existing python2 programs. But since I'm not an active contributor to this project it's not my place to argue here really. :) Thanks, Richard [snip] > > > On Tue, Feb 14, 2017 at 10:40 AM, Richard Ipsum> wrote: > > > On Mon, Feb 13, 2017 at 10:08:07AM +0100, Freddy Rietdijk wrote: > > > Hi, > > > > > > As you may be aware the plan is to change to Python 3.5 as default for > > > 17.03. There were a couple of things that had to be done, and I think > > we're > > > ready now to make the change. Packages that require Python 2 are now > > pinned > > > to do so. > > > > > > Now, obviously I haven't been able to test all packages myself, but > > judging > > > from what Hydra reports and from working from the `python3` branch I > > don't > > > expect any major issues. > > > > > > The Python 2.7 interpreter had quite some patches, among one to make the > > > interpreter and Python packages more deterministic. I say more, because > > > they're not fully deterministic yet. I have some patches lining up for > > the > > > 3.5 interpreter to improvement determinism there as well. > > > > > > In any case, I would like to merge this as soon as possible. Any > > objections? > > > > > > Freddy > > > > Hi, I'm not really an active contributor here but I follow NixOS because > > I think it's a really cool project. > > > > Am I to understand that NixOS is considering replacing the python2 > > interpreter with the python3 interpreter, as arch did? > > > > If that's the case it may be worth considering this pep[1] first. > > > > If I've misunderstood and there's no intention to symlink 'python' to > > 'python3' > > then please ignore this. :) > > > > [1]: http://legacy.python.org/dev/peps/pep-0394/#id5 > > ___ > > 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/nixops] 519b28: Set permission on nixops state file on initial cre...
Branch: refs/heads/master Home: https://github.com/NixOS/nixops Commit: 519b286c54e7776b2a8d4bd1f7d643704b9d0be8 https://github.com/NixOS/nixops/commit/519b286c54e7776b2a8d4bd1f7d643704b9d0be8 Author: Rob VermaasDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M nixops/statefile.py Log Message: --- Set permission on nixops state file on initial creation. Fixes #594. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
Hi Richard, Thanks for sharing the PEP. Actually, we, or at least I, chose to ignore that PEP, and so we do symlink. The PEP describes what distributions should do > for the time being, all distributions should ensure that python refers to the same target as python2. > The more general python command should be installed whenever any version of Python 2 is installed and should invoke the same version of Python as the python2 command and what script maintainers should do > in preparation for an eventual change in the default version of Python, Python 2 only scripts should either be updated to be source compatible with Python 3 or else to use python2 in the shebang line. We have a lot of packages that are compatible with both Python 2 and 3. The PEP says about such case > One exception to this is scripts that are deliberately written to be source compatible with both Python 2.x and 3.x. Such scripts may continue to use python on their shebang line without affecting their portability. So now we have `python2` for Python 2 only, `python3` for Python3 only, `python` for packages that support only Python 2, or both 2 and 3. The PEP however doesn't provide any method for distributions that already would like to make the switch to Python 3, which is the reason this PEP came to being > however, end users should be aware that python refers to python3 on at least Arch Linux (that change is what prompted the creation of this PEP), so python should be used in the shebang line only for scripts that are source compatible with both Python 2 and 3. Freddy On Tue, Feb 14, 2017 at 10:40 AM, Richard Ipsumwrote: > On Mon, Feb 13, 2017 at 10:08:07AM +0100, Freddy Rietdijk wrote: > > Hi, > > > > As you may be aware the plan is to change to Python 3.5 as default for > > 17.03. There were a couple of things that had to be done, and I think > we're > > ready now to make the change. Packages that require Python 2 are now > pinned > > to do so. > > > > Now, obviously I haven't been able to test all packages myself, but > judging > > from what Hydra reports and from working from the `python3` branch I > don't > > expect any major issues. > > > > The Python 2.7 interpreter had quite some patches, among one to make the > > interpreter and Python packages more deterministic. I say more, because > > they're not fully deterministic yet. I have some patches lining up for > the > > 3.5 interpreter to improvement determinism there as well. > > > > In any case, I would like to merge this as soon as possible. Any > objections? > > > > Freddy > > Hi, I'm not really an active contributor here but I follow NixOS because > I think it's a really cool project. > > Am I to understand that NixOS is considering replacing the python2 > interpreter with the python3 interpreter, as arch did? > > If that's the case it may be worth considering this pep[1] first. > > If I've misunderstood and there's no intention to symlink 'python' to > 'python3' > then please ignore this. :) > > [1]: http://legacy.python.org/dev/peps/pep-0394/#id5 > ___ > 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] 62ca21: guile: fix include path in guile-2.0.pc
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: 62ca214d4a0dee898d6fa931d849031dfaaf417a https://github.com/NixOS/nixpkgs/commit/62ca214d4a0dee898d6fa931d849031dfaaf417a Author: Vladimír ČunátDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/interpreters/guile/default.nix Log Message: --- guile: fix include path in guile-2.0.pc I forgot to /cc maintainer @civodul about the output-splitting. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 8d853d: gitlab: 8.16.3 -> 8.16.4
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8d853d0190b90695f8324c509285d651204d2313 https://github.com/NixOS/nixpkgs/commit/8d853d0190b90695f8324c509285d651204d2313 Author: Tristan HelmichDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/version-management/gitlab/default.nix Log Message: --- gitlab: 8.16.3 -> 8.16.4 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 61236e: lmdb on Darwin: fix bogus library name
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 61236eb7ee816259178eba718cfcadad283ae300 https://github.com/NixOS/nixpkgs/commit/61236eb7ee816259178eba718cfcadad283ae300 Author: Vladimír ČunátDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/libraries/lmdb/default.nix Log Message: --- lmdb on Darwin: fix bogus library name ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Python 3 as default
On Mon, Feb 13, 2017 at 10:08:07AM +0100, Freddy Rietdijk wrote: > Hi, > > As you may be aware the plan is to change to Python 3.5 as default for > 17.03. There were a couple of things that had to be done, and I think we're > ready now to make the change. Packages that require Python 2 are now pinned > to do so. > > Now, obviously I haven't been able to test all packages myself, but judging > from what Hydra reports and from working from the `python3` branch I don't > expect any major issues. > > The Python 2.7 interpreter had quite some patches, among one to make the > interpreter and Python packages more deterministic. I say more, because > they're not fully deterministic yet. I have some patches lining up for the > 3.5 interpreter to improvement determinism there as well. > > In any case, I would like to merge this as soon as possible. Any objections? > > Freddy Hi, I'm not really an active contributor here but I follow NixOS because I think it's a really cool project. Am I to understand that NixOS is considering replacing the python2 interpreter with the python3 interpreter, as arch did? If that's the case it may be worth considering this pep[1] first. If I've misunderstood and there's no intention to symlink 'python' to 'python3' then please ignore this. :) [1]: http://legacy.python.org/dev/peps/pep-0394/#id5 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] "Monitoring" NixOS?
It would be useful to know how far behind a machine is given a specific channel. Especially if you care about security updates. A "needs reboot" flag for when the kernel is updated. GC state or just store size. And the the common Linux monitoring metrics apply for vmm, CPU, net, io, entropy pool, ... On Mon, 13 Feb 2017, 14:29 Daniel Peebles,wrote: > Hi all, > > I just packaged up the AWS SSM agent [1], which is a cool system for > automated management of fleets of machines both in AWS and outside of it, > allowing you to run commands on all of them, check "inventory" across all > of them automatically, set policies on disparate types of machines, and so > on. > > NixOS seems to work fine with it and I can run commands on it and keep an > eye on the current NixOS release by injecting a fake lsb_release into its > path. But one of the features of SSM is the ability to take an inventory of > "installed" packages on a system. Of course, that notion doesn't directly > make sense in NixOS, but it got me wondering what sorts of metrics might > make sense from a "keep an eye on your fleet of NixOS systems" perspective. > > Some possibilities: > >1. Track runtime dependencies of the system root, and ideally maintain >an external mapping of all of those hashes to expressions that produce >them. The first part I know how to do, but the second part seems tricky. >2. Monitor "GC state" of your NixOS system: count how many >unreferenced derivations are in the store and how much disk space past >system generations retain (factoring in hard linking and such) >3. Dump current systemd unit state (broader than just NixOS, obviously) >4. Track total time spent building derivations and downloading >substitutes: could be helpful to understand that some of your machines >aren't accessing your binary cache properly. Perhaps also a "binary cache >hit rate" metric. > > Does anyone have others? If you manage a large fleet of NixOS machines > (and possibly other types of OSes too, so NixOps might not be suitable), > which metrics do you find useful? Even if you do use NixOps to manage the > state of your machines, ongoing metrics can still be useful for assessing > the health of your systems. You don't want to be surprised by a machine's > drive filling up because its store is full of junk :) > > Thanks, > Dan > > [1] https://aws.amazon.com/ec2/systems-manager/ > ___ > 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] d7d0e2: aws-sdk-cpp: add patch to build with openssl 1.1.0
Branch: refs/heads/openssl-1.1 Home: https://github.com/NixOS/nixpkgs Commit: d7d0e2e183081a163ff85f9b49eff3baf69fc150 https://github.com/NixOS/nixpkgs/commit/d7d0e2e183081a163ff85f9b49eff3baf69fc150 Author: Robin GlosterDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/libraries/aws-sdk-cpp/default.nix Log Message: --- aws-sdk-cpp: add patch to build with openssl 1.1.0 Commit: fe059393b9ed3535f81919e181dcef732955 https://github.com/NixOS/nixpkgs/commit/fe059393b9ed3535f81919e181dcef732955 Author: Robin Gloster Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/version-management/git-and-tools/default.nix M pkgs/desktops/enlightenment/default.nix M pkgs/desktops/gnome-2/default.nix M pkgs/desktops/gnome-3/3.22/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/lua-packages.nix M pkgs/top-level/perl-packages.nix M pkgs/top-level/python-packages.nix Log Message: --- pin some packages to openssl 1.0.2 for now Compare: https://github.com/NixOS/nixpkgs/compare/68751cc0f665...fe059393b9ed___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a73626: twinkle: remove
Branch: refs/heads/openssl-1.1 Home: https://github.com/NixOS/nixpkgs Commit: a736266b6a101833d57c2b0cf5c538d3eb8e6620 https://github.com/NixOS/nixpkgs/commit/a736266b6a101833d57c2b0cf5c538d3eb8e6620 Author: Robin GlosterDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: R pkgs/applications/networking/instant-messengers/twinkle/boost_regex.patch R pkgs/applications/networking/instant-messengers/twinkle/default.nix R pkgs/applications/networking/instant-messengers/twinkle/libgsm.patch R pkgs/applications/networking/instant-messengers/twinkle/localetime_r_conflict.diff R pkgs/applications/networking/instant-messengers/twinkle/newer-libccrtp.diff M pkgs/top-level/all-packages.nix Log Message: --- twinkle: remove Commit: 7a22ee536618265b0056e24b9cf02edb738bb249 https://github.com/NixOS/nixpkgs/commit/7a22ee536618265b0056e24b9cf02edb738bb249 Author: Robin Gloster Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: R pkgs/applications/networking/instant-messengers/sflphone/default.nix R pkgs/applications/networking/instant-messengers/sflphone/libzrtpcpp-cflags.patch M pkgs/top-level/all-packages.nix Log Message: --- sflphone: remove Commit: 3911a486147d9d856a5b0b87347941b2fa3186e0 https://github.com/NixOS/nixpkgs/commit/3911a486147d9d856a5b0b87347941b2fa3186e0 Author: Robin Gloster Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/servers/sip/freeswitch/default.nix M pkgs/top-level/all-packages.nix Log Message: --- freeswitch: 1.6.9 -> 1.6.15 Commit: 6c7688c5a793c12af835c253837ef84e8ed21b8e https://github.com/NixOS/nixpkgs/commit/6c7688c5a793c12af835c253837ef84e8ed21b8e Author: Robin Gloster Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: R pkgs/development/libraries/libzrtpcpp/default.nix M pkgs/top-level/all-packages.nix Log Message: --- libzrtpcpp: remove Commit: 68751cc0f665b0eaba6d0c656ad830671ee88c06 https://github.com/NixOS/nixpkgs/commit/68751cc0f665b0eaba6d0c656ad830671ee88c06 Author: Robin Gloster Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/applications/version-management/git-and-tools/default.nix M pkgs/desktops/enlightenment/default.nix M pkgs/desktops/gnome-2/default.nix M pkgs/desktops/gnome-3/3.22/default.nix M pkgs/development/libraries/aws-sdk-cpp/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/lua-packages.nix M pkgs/top-level/perl-packages.nix M pkgs/top-level/python-packages.nix Log Message: --- pin some packages to openssl 1.0.2 for now Compare: https://github.com/NixOS/nixpkgs/compare/48446d105b1d...68751cc0f665___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 6a472c: opensubdiv: Remove cudatoolkit from the closure
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6a472cf4c1b78580de79c79ca7d7b714f4d8d36e https://github.com/NixOS/nixpkgs/commit/6a472cf4c1b78580de79c79ca7d7b714f4d8d36e Author: Eelco DolstraDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/libraries/opensubdiv/default.nix Log Message: --- opensubdiv: Remove cudatoolkit from the closure This reduces Blender's closure size by around ~2 GiB when CUDA support is enabled. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 868d30: openconnect: add support for stoken
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 868d30f97574c50f2cfd272aa047cae683bfe1f8 https://github.com/NixOS/nixpkgs/commit/868d30f97574c50f2cfd272aa047cae683bfe1f8 Author: Cillian de RoisteDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/tools/networking/openconnect/default.nix Log Message: --- openconnect: add support for stoken Tested with a Juniper Network Connect VPN ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Problem with nixos-rebuild and Setup Virtual Console
Hi Folks, i have a problem with my nixos-rebuild, i am not able to to switch after rebuild due to systemd-vconsole-setup.service failing. I get following error message from the nixos-rebuild : > sudo nixos-rebuild switch created 5 symlinks in user environment building Nix... building the system configuration... activating the configuration... setting up /etc... readlink: missing operand Try 'readlink --help' for more information. warning: the following units failed: systemd-vconsole-setup.service ● systemd-vconsole-setup.service - Setup Virtual Console Loaded: loaded (/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/example/systemd/system/systemd-vconsole-setup.service; enabled; vendor preset: enabled) Drop-In: /nix/store/7p8cfjzzm845f262gxm1ix21sy3jah4v-system-units/systemd-vconsole-setup.service.d └─overrides.conf Active: failed (Result: exit-code) since Tue 2017-02-14 09:13:21 CET; 16ms ago Docs: man:systemd-vconsole-setup.service(8) man:vconsole.conf(5) Process: 32176 ExecStart=/nix/store/06qsviqz8c0d268jgjan3lf34mmrzrf2-systemd-232/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE) Main PID: 32176 (code=exited, status=1/FAILURE) CPU: 2ms Feb 14 09:13:21 citadel systemd[1]: Starting Setup Virtual Console... Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE Feb 14 09:13:21 citadel systemd[1]: Failed to start Setup Virtual Console. Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Unit entered failed state. Feb 14 09:13:21 citadel systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'. warning: error(s) occurred while switching to the new configuration I'm using the nixos-unstable channel. I hope someone can help me, cause i've got no clue whats going on. Greez Felix ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] dc2262: pythonPackages.urllib3: 1.12 -> 1.20
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: dc2262b41cac98ef2b6a4de064e2a6df40ec6b63 https://github.com/NixOS/nixpkgs/commit/dc2262b41cac98ef2b6a4de064e2a6df40ec6b63 Author: Frederik RietdijkDate: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- pythonPackages.urllib3: 1.12 -> 1.20 Commit: 9ac753323d5b16a774eb71c3a7cdcc5703aeaff5 https://github.com/NixOS/nixpkgs/commit/9ac753323d5b16a774eb71c3a7cdcc5703aeaff5 Author: Frederik Rietdijk Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/python-modules/llvmlite/default.nix Log Message: --- pythonPackages.llvmlite: 0.14.0 -> 0.15.0 Commit: 8a4730642fbf44e09fcf88c3fb87195e2d550a2e https://github.com/NixOS/nixpkgs/commit/8a4730642fbf44e09fcf88c3fb87195e2d550a2e Author: Frederik Rietdijk Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/python-modules/numba/default.nix Log Message: --- pythonPackages.numba: 0.29.0 -> 0.30.1 Commit: 12285d162c95fd6c59de09c0f871fa5224565487 https://github.com/NixOS/nixpkgs/commit/12285d162c95fd6c59de09c0f871fa5224565487 Author: Frederik Rietdijk Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/development/interpreters/python/pypy/2.7/default.nix Log Message: --- pypy: inherit pythonVersion Commit: 58175843b13d01534e60f8827695e31187ec9f53 https://github.com/NixOS/nixpkgs/commit/58175843b13d01534e60f8827695e31187ec9f53 Author: Frederik Rietdijk Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- pythonPackages: python.majorVersion -> python.pythonVersion ...because we're interested in the version of the language, not of the interpreter. This is important for PyPy packages. Commit: 733dc656b17d52ac9a8d73e5c65817941969f67d https://github.com/NixOS/nixpkgs/commit/733dc656b17d52ac9a8d73e5c65817941969f67d Author: Frederik Rietdijk Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- pythonPackages.enum34: 1.0.4 -> 1.1.6 Compare: https://github.com/NixOS/nixpkgs/compare/218713aa3d05...733dc656b17d___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits