[Nix-dev] Polkit action files installed via nix-env don't appear to be recognised by Polkit/Pkexec/Pkaction
Hi all, Normally a polkit action file on a non-NixOS system would be installed in /usr/share/polkit-1/actions. On NixOS this location is instead at /run/current-system/sw/share/polkit-1/actions. The action files stored here are recognised by polkit, which can be demonstrated by running `pkaction`, this results in showing the titles of each action id. However some packages may supply action files, and are installed via nix-env. The action files in this case are instead stored in ~/.nix-profile/share/polkit-1/actions. My tests show that these action files are not being recognised by polkit. Running pkaction does not show any package the action files that are inside ~/.nix-profile/... Is there a work around here? Browsing the polkit docs doesn't mention anything about looking up user-specific action files, they all just say action files are to be at /usr/share/polkit-1/actions. If polkit only looks up 1 location, then should nix-env be symlinking action files into /run/current/system/sw/share/polkit-1/actions? Thanks, Roger -- Founder of Matrix AI https://matrix.ai/ +61420925975 ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 9f680d: lib and doc: Use "libSystem" as identifier for tha...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9f680d30f4a8bac670932255caa4d39e7fb39f09 https://github.com/NixOS/nixpkgs/commit/9f680d30f4a8bac670932255caa4d39e7fb39f09 Author: John EricsonDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M doc/cross-compilation.xml M lib/systems/examples.nix Log Message: --- lib and doc: Use "libSystem" as identifier for that libc in platforms Commit: 4e376cce7ecca2aa184c701e3d2cf3a1f3298d82 https://github.com/NixOS/nixpkgs/commit/4e376cce7ecca2aa184c701e3d2cf3a1f3298d82 Author: John Ericson Date: 2017-05-31 (Wed, 31 May 2017) Changed paths: M doc/cross-compilation.xml M lib/systems/examples.nix Log Message: --- Merge pull request #26269 from obsidiansystems/libSystem lib and doc: Use "libSystem" as identifier for that libc in platforms Compare: https://github.com/NixOS/nixpkgs/compare/cfe6bd47ed64...4e376cce7ecc___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 786388: elpa-packages: 2017-05-30
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 786388b85b512fc2d9b6e3b45e91c71405490861 https://github.com/NixOS/nixpkgs/commit/786388b85b512fc2d9b6e3b45e91c71405490861 Author: Michael Alan DormanDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/editors/emacs-modes/elpa-generated.nix Log Message: --- elpa-packages: 2017-05-30 Commit: 60cc275ace8053e00fecad8bf0f0382c2074a8b6 https://github.com/NixOS/nixpkgs/commit/60cc275ace8053e00fecad8bf0f0382c2074a8b6 Author: Michael Alan Dorman Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/editors/emacs-modes/melpa-stable-generated.nix Log Message: --- melpa-stable-packages: 2017-05-30 Commit: fdb3617888a95f8e23c20907b74f113c62c06df4 https://github.com/NixOS/nixpkgs/commit/fdb3617888a95f8e23c20907b74f113c62c06df4 Author: Michael Alan Dorman Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/editors/emacs-modes/melpa-generated.nix Log Message: --- melpa-packages: 2017-05-30 Commit: cfe6bd47ed64e29c4e17c4362cb4cf1b1029e415 https://github.com/NixOS/nixpkgs/commit/cfe6bd47ed64e29c4e17c4362cb4cf1b1029e415 Author: Joachim F Date: 2017-05-31 (Wed, 31 May 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 Log Message: --- Merge pull request #26257 from mdorman/emacs-updates Automated emacs package updates Compare: https://github.com/NixOS/nixpkgs/compare/102a85a486b1...cfe6bd47ed64___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Auto-generated expressions for applications
On 17-05-30 08:02am, Wout Mertens wrote: > This actually ties into my question about nodePackages. It seems to me that > for these large packaging systems, we should have separate repos that > update from their source, and you can then include them into your nixpkgs > configuration. nodePackages is a bad example, because “node dependencies” make no sense on their own. Each application brings with it its own set of dependencies. > > Only packages that are useful by themselves should get a derivation in > nixpkgs, the rest would be in these add-on repos. For nodejs, that would be > e.g. yarn. > No idea how to accomplish this though. Exactly. As long as we keep generated formats in nice, diffable formats they shouldn’t impose too much noise to the system. Unfortunalely, the current output of node2nix is quite verbose. As far as CVEs go, one would have to integrate sites like https://snyk.io/vuln somehow. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 6a27b4: terraform: 0.9.4 -> 0.9.6.
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6a27b46deef753202bf11cdbd0e823733e2418d1 https://github.com/NixOS/nixpkgs/commit/6a27b46deef753202bf11cdbd0e823733e2418d1 Author: Diego PontorieroDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/networking/cluster/terraform/default.nix M pkgs/top-level/all-packages.nix Log Message: --- terraform: 0.9.4 -> 0.9.6. Commit: 102a85a486b18322e020b789f9ecf03817b6db7b https://github.com/NixOS/nixpkgs/commit/102a85a486b18322e020b789f9ecf03817b6db7b Author: Peter Hoeg Date: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/applications/networking/cluster/terraform/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #26260 from diegs/terraform terraform: 0.9.4 -> 0.9.6. Compare: https://github.com/NixOS/nixpkgs/compare/0dd5e832f044...102a85a486b1___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 0dd5e8: kati: init at 2017-05-23 (#26168)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 0dd5e832f044fbee0c9eacf23af925dafef028a5 https://github.com/NixOS/nixpkgs/commit/0dd5e832f044fbee0c9eacf23af925dafef028a5 Author: Gabriel GonzalezDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: A pkgs/development/tools/build-managers/kati/default.nix A pkgs/development/tools/build-managers/kati/version.patch M pkgs/top-level/all-packages.nix Log Message: --- kati: init at 2017-05-23 (#26168) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 47d038: elasticsearch: add 5.x package, service
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 47d038c21d9ba99230d0c2f36a8174e24128258e https://github.com/NixOS/nixpkgs/commit/47d038c21d9ba99230d0c2f36a8174e24128258e Author: Albert PescharDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M nixos/modules/services/search/elasticsearch.nix A pkgs/servers/search/elasticsearch/5.x.nix A pkgs/servers/search/elasticsearch/es-classpath-5.x.patch A pkgs/servers/search/elasticsearch/es-home-5.x.patch M pkgs/top-level/all-packages.nix Log Message: --- elasticsearch: add 5.x package, service ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 6a2932: pachyderm: 1.3.0 -> 1.4.6 (#26248)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6a2932717585f58867fce4376434eaf54cf604b8 https://github.com/NixOS/nixpkgs/commit/6a2932717585f58867fce4376434eaf54cf604b8 Author: Stefhen HovlandDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/applications/networking/cluster/pachyderm/default.nix Log Message: --- pachyderm: 1.3.0 -> 1.4.6 (#26248) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 39a121: services.graphite: chmod -R entire dataDir
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 39a121303f9d8c63cddcefe5ef8618f11098d5b7 https://github.com/NixOS/nixpkgs/commit/39a121303f9d8c63cddcefe5ef8618f11098d5b7 Author: Albert PescharDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M nixos/modules/services/monitoring/graphite.nix Log Message: --- services.graphite: chmod -R entire dataDir ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 45bb3f: iasl: 20130117 -> 20170303
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 45bb3fcbbe48304ac6603649ce45dbdb98175cdd https://github.com/NixOS/nixpkgs/commit/45bb3fcbbe48304ac6603649ce45dbdb98175cdd Author: Kranium Gikos MendozaDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/development/compilers/iasl/default.nix Log Message: --- iasl: 20130117 -> 20170303 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b5a363: eventstat: 0.03.03 -> 03.03.04
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b5a36300501026cedede2087eaeddfbfa909e2f9 https://github.com/NixOS/nixpkgs/commit/b5a36300501026cedede2087eaeddfbfa909e2f9 Author: Kranium Gikos MendozaDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/os-specific/linux/eventstat/default.nix Log Message: --- eventstat: 0.03.03 -> 03.03.04 Commit: 2c53d5dea05b214ea291aeb0a3c065a926770d67 https://github.com/NixOS/nixpkgs/commit/2c53d5dea05b214ea291aeb0a3c065a926770d67 Author: Kranium Gikos Mendoza Date: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/os-specific/linux/fnotifystat/default.nix Log Message: --- fnotifystat: 0.01.16 -> 0.01.17 Commit: 87a800d494f679d795131c153063539d19d88260 https://github.com/NixOS/nixpkgs/commit/87a800d494f679d795131c153063539d19d88260 Author: Kranium Gikos Mendoza Date: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/os-specific/linux/forkstat/default.nix Log Message: --- forkstat: 0.01.16 -> 0.01.17 Commit: 153e900b394fb6c79cf411ddadb681a0a4ba86cf https://github.com/NixOS/nixpkgs/commit/153e900b394fb6c79cf411ddadb681a0a4ba86cf Author: Kranium Gikos Mendoza Date: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/os-specific/linux/smemstat/default.nix Log Message: --- smemstat: 0.01.16 -> 0.01.17 Compare: https://github.com/NixOS/nixpkgs/compare/54a73d7d8e7c...153e900b394f___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 083b2c: ammonite: 0.9.3 -> 0.9.5
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 083b2c89d469d2713162be59b69910719650c1b3 https://github.com/NixOS/nixpkgs/commit/083b2c89d469d2713162be59b69910719650c1b3 Author: Tim SteinbachDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/tools/ammonite/default.nix Log Message: --- ammonite: 0.9.3 -> 0.9.5 (cherry picked from commit 8d689482b9b6fc44a73351f4f045a37598e0da17) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 8d6894: ammonite: 0.9.3 -> 0.9.5
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8d689482b9b6fc44a73351f4f045a37598e0da17 https://github.com/NixOS/nixpkgs/commit/8d689482b9b6fc44a73351f4f045a37598e0da17 Author: Tim SteinbachDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/tools/ammonite/default.nix Log Message: --- ammonite: 0.9.3 -> 0.9.5 Commit: 54a73d7d8e7c57356ac6dbb8054ab005ea8d17a1 https://github.com/NixOS/nixpkgs/commit/54a73d7d8e7c57356ac6dbb8054ab005ea8d17a1 Author: Tim Steinbach Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/tools/ammonite/default.nix Log Message: --- Merge pull request #26264 from NeQuissimus/ammonite_0_9_5 ammonite: 0.9.3 -> 0.9.5 Compare: https://github.com/NixOS/nixpkgs/compare/3c0114d4728a...54a73d7d8e7c___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] ed9cfc: sudo: 1.8.20 -> 1.8.20p1, fixes CVE-2017-1000367
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: ed9cfc75c9bb655b2a6f50f78059df8ac93ca244 https://github.com/NixOS/nixpkgs/commit/ed9cfc75c9bb655b2a6f50f78059df8ac93ca244 Author: Daiderd JordanDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/tools/security/sudo/default.nix Log Message: --- sudo: 1.8.20 -> 1.8.20p1, fixes CVE-2017-1000367 (cherry picked from commit 3c0114d4728aff4158730ccaf89cc1d9115c83ee) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3c0114: sudo: 1.8.20 -> 1.8.20p1, fixes CVE-2017-1000367
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3c0114d4728aff4158730ccaf89cc1d9115c83ee https://github.com/NixOS/nixpkgs/commit/3c0114d4728aff4158730ccaf89cc1d9115c83ee Author: Daiderd JordanDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/tools/security/sudo/default.nix Log Message: --- sudo: 1.8.20 -> 1.8.20p1, fixes CVE-2017-1000367 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 87b4a9: lib: Move fixed-point combinators out of trivial
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 87b4a91fc4145e04ca028c08754bd144b8d1d02d https://github.com/NixOS/nixpkgs/commit/87b4a91fc4145e04ca028c08754bd144b8d1d02d Author: John EricsonDate: 2017-05-29 (Mon, 29 May 2017) Changed paths: M lib/default.nix A lib/fixed-points.nix M lib/trivial.nix Log Message: --- lib: Move fixed-point combinators out of trivial Trivia != prelude. This is a better organized and less likely to scare off new contributors. Commit: 8b273b608d48989fa30a3a2fe56f362b314157b3 https://github.com/NixOS/nixpkgs/commit/8b273b608d48989fa30a3a2fe56f362b314157b3 Author: John Ericson Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M lib/default.nix A lib/fixed-points.nix M lib/trivial.nix Log Message: --- Merge pull request #26219 from Ericson2314/lib-fix lib: Move fixed-point combinators out of trivial Compare: https://github.com/NixOS/nixpkgs/compare/de52d2450eeb...8b273b608d48___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Auto-generated expressions for applications
Freddy Rietdijkwrites: > Hi, > > At several places in Nixpkgs we use auto-generated data, mostly for the > larger package sets like Haskell. Sometimes we also use auto-generated sets > for applications that may need different versions than are offered in the > main package sets. In the past months several issues/PR's have been opened > to add rather large Python applications to Nixpkgs, generated using > `pypi2nix`. > > Using such tool to generate the expressions has some very big advantages. > However, there's also a disadvantage. The expressions shouldn't only be > updated when there's a new release of the application, but also whenever > there's security updates in any of its generated dependencies, which the > application maintainer now has to keep track of. Therefore, I find it quite > a risk to have separate package sets. At the same time, we'll also likely > run behind in the main package sets every once in a while. Regarding the security updates, if we are able to know which versions of libraries are used in the `pythonPackage` set and in all 'application pythonPackage sets', in case of a CVE on a particular package version, we could know which applications are impacted. We then have to fix them or mark them as broken. I don't really know how it is hard to get all python module versions used by applications and if this would be feasable. > What do you think of this issue? Any suggestions how we can improve this? > Maybe we could have a server/bot that runs update scripts and opens a PR > whenever there's an actual diff? > > Freddy > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] de52d2: Cleanup PostgreSQL for state version 17.09 (#25753...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: de52d2450eeb781302c1d9f1004d4da74940aff7 https://github.com/NixOS/nixpkgs/commit/de52d2450eeb781302c1d9f1004d4da74940aff7 Author: Pascal BachDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M nixos/doc/manual/release-notes/rl-1709.xml M nixos/modules/services/databases/postgresql.nix Log Message: --- Cleanup PostgreSQL for state version 17.09 (#25753) * postgresql service: make 9.6 the default version for 17.09 * postgresql service: change default superuser for 17.09 Change the default superuser from `root` to `postgres` for state version 17.09 * postgresql service: change default data directory for 17.09 The new directory includes the schema version of the database. This makes upgrades easier and is more consistent with other distros. * updated nixos release notes ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3fa1be: Add `isStorePath` tests (#26223)
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3fa1be6f491d9f3ce359234aa1e479e6d91a598f https://github.com/NixOS/nixpkgs/commit/3fa1be6f491d9f3ce359234aa1e479e6d91a598f Author: ProfpatschDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M lib/tests/misc.nix Log Message: --- Add `isStorePath` tests (#26223) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Node example?
(I got a reply offlist, I'll just answer here hoping the sender doesn't mind) node2nix works fine, but I do indeed need to build some frontend, using webpack. Currently I have two errors: Npm can't download the precompiled node-webpack binary, but rebuilds it from source every time I run nix. Downloading works fine on my laptop, but not on my CI machine (gitlab builder, nix-daemon). The error is 'getaddrinfo ENOTFOUND github.com github.com:443'. Should not be fatal (npm will build it from source), but looks fishy to me. The other, final, error is: sh: /nix/store/qvrv30xb597zr1ryw9d3n700pywxz3q9-node-my-dashboard-0.0.1/lib/node_modules/my-dashboard/node_modules/.bin/webpack: /usr/bin/env: bad interpreter: No such file or directory which, again, works fine on my test machine(s). Same nix version, same unstable nixpkgs nix-channel version. Thanks! ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 50b0e5: treq: 17.3.1
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 50b0e5bfa1ab09a366d575fea1915a3f4002eb68 https://github.com/NixOS/nixpkgs/commit/50b0e5bfa1ab09a366d575fea1915a3f4002eb68 Author: Fernando J PandoDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/treq/default.nix Log Message: --- treq: 17.3.1 - enables and fixes tests - makes docs properly - used fetchpypi - tested nixos python 27/34 Commit: c6ea7d3a66e0f6b573d7da849924b269a0a391e9 https://github.com/NixOS/nixpkgs/commit/c6ea7d3a66e0f6b573d7da849924b269a0a391e9 Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/treq/default.nix Log Message: --- Merge pull request #26222 from nand0p/treq-fixes treq: 17.3.1 fixes Compare: https://github.com/NixOS/nixpkgs/compare/ec9a23332f06...c6ea7d3a66e0___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] ed6eca: haskell-modules: refactor package set
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ed6ecacf6430e4331b2b56a4324c2e6d349bd30b https://github.com/NixOS/nixpkgs/commit/ed6ecacf6430e4331b2b56a4324c2e6d349bd30b Author: Jacob MitchellDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/haskell-modules/default.nix Log Message: --- haskell-modules: refactor package set This change is effectively a no-op to nixpkgs. However, it gives users the flexibility to create and maintain their own package sets per project, while benefiting from nix's Haskell configurations. I would make immediate use of this change in stack2nix, a project that generates nix expressions for all the dependencies of a given Haskell project. @domenkozar is familiar with the motivations and helped refine this change Commit: ec9a23332f06eca2996b15dfd83abfd54a27437a https://github.com/NixOS/nixpkgs/commit/ec9a23332f06eca2996b15dfd83abfd54a27437a Author: Peter Simons Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/haskell-modules/default.nix Log Message: --- Merge pull request #26253 from jmitchell/fix/haskell-modules-refactoring haskell-modules: refactor package set Compare: https://github.com/NixOS/nixpkgs/compare/bc7b895aa57c...ec9a23332f06___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 7cbf7f: nvidia module: allow .persistenced == null
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 7cbf7f54c1796673fc49d17da2144e39a67e2513 https://github.com/NixOS/nixpkgs/commit/7cbf7f54c1796673fc49d17da2144e39a67e2513 Author: Vladimír ČunátDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M nixos/modules/hardware/video/nvidia.nix Log Message: --- nvidia module: allow .persistenced == null Fixes #26250. This is fallout from PR #22304. It's null for 304 and 173 legacy drivers. (cherry picked from commit bc7b895aa57c52e30eb392ff2527dc850b72c87b) ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] bc7b89: nvidia module: allow .persistenced == null
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bc7b895aa57c52e30eb392ff2527dc850b72c87b https://github.com/NixOS/nixpkgs/commit/bc7b895aa57c52e30eb392ff2527dc850b72c87b Author: Vladimír ČunátDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M nixos/modules/hardware/video/nvidia.nix Log Message: --- nvidia module: allow .persistenced == null Fixes #26250. This is fallout from PR #22304. It's null for 304 and 173 legacy drivers. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] logstash-5.4.0 ruby issue
Hi Nixers, are there any Ruby devs on this list who can help me package logstash-5.4.0. See: https://github.com/NixOS/nixpkgs/pull/26252 Reproducing the issue is as easy as checking out the elk5 branch of g...@github.com:LumiGuide/nixpkgs.git and running: nix-build nixos/tests/elk.nix. Thanks, Bas ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 1dac99: ocamlPackages.janeStreet package set: init at 0.9....
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1dac99b7c96cd130847ca95adee146c3087154fd https://github.com/NixOS/nixpkgs/commit/1dac99b7c96cd130847ca95adee146c3087154fd Author: Théo ZimmermannDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/development/ocaml-modules/janestreet/default.nix A pkgs/development/ocaml-modules/janestreet/janePackage.nix M pkgs/top-level/ocaml-packages.nix Log Message: --- ocamlPackages.janeStreet package set: init at 0.9.0 This contains a collection of Jane Street packages at version 0.9.0. Packages not already present in ocamlPackages are also made available without the janeStreet prefix. Commit: 1cff0701ef8c2674c5c30462c7d6068345886700 https://github.com/NixOS/nixpkgs/commit/1cff0701ef8c2674c5c30462c7d6068345886700 Author: Théo Zimmermann Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: R pkgs/development/ocaml-modules/base/default.nix R pkgs/development/ocaml-modules/janestreet/ocaml-compiler-libs.nix R pkgs/development/ocaml-modules/janestreet/ppx_ast.nix R pkgs/development/ocaml-modules/janestreet/ppx_traverse_builtins.nix R pkgs/development/ocaml-modules/stdio/default.nix M pkgs/top-level/ocaml-packages.nix Log Message: --- ocamlPackages: remove duplicated definitions Commit: 1562201643a77c95b4c34cfdda72239974595435 https://github.com/NixOS/nixpkgs/commit/1562201643a77c95b4c34cfdda72239974595435 Author: Théo Zimmermann Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/ocaml-modules/janestreet/default.nix Log Message: --- ocamlPackages.janeStreet.{base,sexplib}: 0.9.0 -> 0.9.1 Commit: 5fd9b442f4d9ca2a164e99d3c48420edad033b27 https://github.com/NixOS/nixpkgs/commit/5fd9b442f4d9ca2a164e99d3c48420edad033b27 Author: Théo Zimmermann Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: R pkgs/development/ocaml-modules/janestreet/async_kernel-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/async_unix-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/core-113_33_02.nix R pkgs/development/ocaml-modules/janestreet/core_kernel-113_33_01.nix R pkgs/development/ocaml-modules/janestreet/ppx_bench-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_bin_prot-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_compare-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_core-113_33_01.nix R pkgs/development/ocaml-modules/janestreet/ppx_custom_printf-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_enumerate-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_expect-113_33_01.nix R pkgs/development/ocaml-modules/janestreet/ppx_fail-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_fields_conv-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_inline_test-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_jane-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_let-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_optcomp-113_33_01.nix R pkgs/development/ocaml-modules/janestreet/ppx_pipebang-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_sexp_conv-113_33_01.nix R pkgs/development/ocaml-modules/janestreet/ppx_sexp_message-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_sexp_value-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_type_conv-113_33_02.nix R pkgs/development/ocaml-modules/janestreet/ppx_typerep_conv-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/ppx_variants_conv-113_33_00.nix R pkgs/development/ocaml-modules/janestreet/sexplib-113_33_00.nix M pkgs/top-level/ocaml-packages.nix Log Message: --- ocamlPackages_4_03 (Jane Street packages): 113_33_xx -> 0.9.x Commit: f8fd5531a3147a8e6229aca98ed9b202dae9eeca https://github.com/NixOS/nixpkgs/commit/f8fd5531a3147a8e6229aca98ed9b202dae9eeca Author: Théo Zimmermann Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/tools/misc/patdiff/default.nix M pkgs/top-level/all-packages.nix Log Message: --- patdiff: init at 0.9.0 Compare: https://github.com/NixOS/nixpkgs/compare/9cbb69b11a21...f8fd5531a314___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] Node example?
Hi all, does anyone have an example of a nix expression to build a (react based) nodejs project? I'm having some problems with writing the nix expression and can't really formulate a proper question, but maybe some good example will help me on my way. Ideally something which uses webpack to build static html (node is only used at build time to generate the static files, it's not needed at runtime). Thanks! Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] cf456b: xonotic: fix audio
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cf456b9a8aa735570f1ff82525fcf054688a3cc0 https://github.com/NixOS/nixpkgs/commit/cf456b9a8aa735570f1ff82525fcf054688a3cc0 Author: Linus HeckemannDate: 2017-05-28 (Sun, 28 May 2017) Changed paths: M pkgs/games/xonotic/default.nix Log Message: --- xonotic: fix audio This fixes #26117. Also allow easy switching to debug/profiling builds. Commit: 9cbb69b11a21c4a52d8b71c754c03c2153d8e6b2 https://github.com/NixOS/nixpkgs/commit/9cbb69b11a21c4a52d8b71c754c03c2153d8e6b2 Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/games/xonotic/default.nix Log Message: --- Merge pull request #26182 from lheckemann/xonotic-audio xonotic: fix audio Compare: https://github.com/NixOS/nixpkgs/compare/72cf5a111916...9cbb69b11a21___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] f469bd: mysql service: change default data directory for 1...
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: f469bd83bb9390807f1cdbe2de8d56bb8a710eb5 https://github.com/NixOS/nixpkgs/commit/f469bd83bb9390807f1cdbe2de8d56bb8a710eb5 Author: Pascal BachDate: 2017-05-20 (Sat, 20 May 2017) Changed paths: M nixos/modules/services/databases/mysql.nix Log Message: --- mysql service: change default data directory for 17.09 The new directory is now moved to /var/lib/mysql. This makes it consistent with with upstream. Commit: 6509ba66a804390191e4bcf2f068686946e6fc56 https://github.com/NixOS/nixpkgs/commit/6509ba66a804390191e4bcf2f068686946e6fc56 Author: Herwig Hochleitner Date: 2017-05-20 (Sat, 20 May 2017) Changed paths: M pkgs/development/tools/build-managers/ninja/default.nix Log Message: --- ninja: 1.7.1 -> 1.7.2 Commit: ab65bf9dbdfdd1f5c3750ac3ec39d1217381de85 https://github.com/NixOS/nixpkgs/commit/ab65bf9dbdfdd1f5c3750ac3ec39d1217381de85 Author: Herwig Hochleitner Date: 2017-05-20 (Sat, 20 May 2017) Changed paths: M pkgs/applications/networking/browsers/chromium/upstream-info.nix Log Message: --- chromium: 57.0.2987.133 -> 58.0.3029.96 Commit: 232507a73cedbc3acfe9edb1b84938c016bf25af https://github.com/NixOS/nixpkgs/commit/232507a73cedbc3acfe9edb1b84938c016bf25af Author: Herwig Hochleitner Date: 2017-05-20 (Sat, 20 May 2017) Changed paths: M pkgs/applications/networking/browsers/chromium/upstream-info.nix Log Message: --- chromium: 58.0.3029.96 -> 58.0.3029.110 Commit: bafcf4226ead4a6bdc5d652164e4d18509af35a7 https://github.com/NixOS/nixpkgs/commit/bafcf4226ead4a6bdc5d652164e4d18509af35a7 Author: Herwig Hochleitner Date: 2017-05-20 (Sat, 20 May 2017) Changed paths: M pkgs/applications/networking/browsers/chromium/common.nix A pkgs/applications/networking/browsers/chromium/patches/fix-bootstrap-gn.patch Log Message: --- chromium: add bootstrap gn patch Commit: 1fe7bd9ed6a5dd780e4991241b75fc0640576b2b https://github.com/NixOS/nixpkgs/commit/1fe7bd9ed6a5dd780e4991241b75fc0640576b2b Author: Herwig Hochleitner Date: 2017-05-20 (Sat, 20 May 2017) Changed paths: M pkgs/applications/networking/browsers/chromium/common.nix Log Message: --- chromium: softlink system nodejs into third_party somehow, the build seems to have changed with chromium 58, to not auto download the node binary. It is needed to generate webui files and we can substitute our own. Commit: 5e659e94a6061c9acd983ad0b5c26206b83f5735 https://github.com/NixOS/nixpkgs/commit/5e659e94a6061c9acd983ad0b5c26206b83f5735 Author: Will Dietz Date: 2017-05-27 (Sat, 27 May 2017) Changed paths: A pkgs/development/compilers/llvm/4/lldb-libedit.patch M pkgs/development/compilers/llvm/4/lldb.nix Log Message: --- lldb-4: Patch to fix libedit usage on Linux Idea from: https://bugs.llvm.org//show_bug.cgi?id=28898#c7 Fixes ability to use arrow keys. Commit: ac8a58b5b44859f805e9613ec6cd55c3904ecbc0 https://github.com/NixOS/nixpkgs/commit/ac8a58b5b44859f805e9613ec6cd55c3904ecbc0 Author: Robert Scott Date: 2017-05-28 (Sun, 28 May 2017) Changed paths: M pkgs/development/python-modules/django-compat/default.nix Log Message: --- python.pkgs.django_compat: get tests working & enable them also add self as maintainer Commit: fa44b72d91625bcf5aee5438b10abdd0eb4e5acb https://github.com/NixOS/nixpkgs/commit/fa44b72d91625bcf5aee5438b10abdd0eb4e5acb Author: Robert Scott Date: 2017-05-28 (Sun, 28 May 2017) Changed paths: A pkgs/development/python-modules/django-hijack/default.nix M pkgs/top-level/python-packages.nix Log Message: --- python.pkgs.django_hijack: 2.0.7 -> 2.1.4 also fix & enable tests, add self as maintainer Commit: dc955ad2d7a392757ed845caa332fda565211b6e https://github.com/NixOS/nixpkgs/commit/dc955ad2d7a392757ed845caa332fda565211b6e Author: Pascal Wittmann Date: 2017-05-29 (Mon, 29 May 2017) Changed paths: M pkgs/tools/typesetting/halibut/default.nix Log Message: --- halibut: 1.1 -> 1.2 Commit: 5831eb9afca276616cc89b2c2c17ee5f1c4b2729 https://github.com/NixOS/nixpkgs/commit/5831eb9afca276616cc89b2c2c17ee5f1c4b2729 Author: Pascal Wittmann Date: 2017-05-29 (Mon, 29 May 2017) Changed paths: M pkgs/development/compilers/colm/default.nix Log Message: --- colm: 0.13.0.4 -> 0.13.0.5 Commit: 58e5078487fcebbdfb77567fe348d0f8c3a39278 https://github.com/NixOS/nixpkgs/commit/58e5078487fcebbdfb77567fe348d0f8c3a39278
[Nix-commits] [NixOS/nixpkgs] 77edba: pythonPackages.scrapy: fix 1.4.0 update
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 77edba1fc4c6e54db54834025fbdf306df563deb https://github.com/NixOS/nixpkgs/commit/77edba1fc4c6e54db54834025fbdf306df563deb Author: Albert PescharDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/scrapy/permissions-fix.patch Log Message: --- pythonPackages.scrapy: fix 1.4.0 update Commit: 72cf5a111916d72b8f1b37c40d4996e7b89145d8 https://github.com/NixOS/nixpkgs/commit/72cf5a111916d72b8f1b37c40d4996e7b89145d8 Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/scrapy/permissions-fix.patch Log Message: --- Merge pull request #26246 from apeschar/scrapy-fix pythonPackages.scrapy: fix 1.4.0 update Compare: https://github.com/NixOS/nixpkgs/compare/218c486c1c45...72cf5a111916___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 218c48: fstar: fix build on darwin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 218c486c1c454f1ef7f2791fa1f1944d28b921e2 https://github.com/NixOS/nixpkgs/commit/218c486c1c454f1ef7f2791fa1f1944d28b921e2 Author: Vincent LaporteDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/compilers/fstar/default.nix Log Message: --- fstar: fix build on darwin ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 131812: Fix indentation
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 13181204841f151a07d1e75155d24daa641fa0de https://github.com/NixOS/nixpkgs/commit/13181204841f151a07d1e75155d24daa641fa0de Author: Eelco DolstraDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/interpreters/perl/default.nix Log Message: --- Fix indentation ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3c83ce: pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7 ...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3c83ce30142426807dd7fdef02e2e404f6ad5d9e https://github.com/NixOS/nixpkgs/commit/3c83ce30142426807dd7fdef02e2e404f6ad5d9e Author: Matthias BeyerDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/development/python-modules/pytest-localserver/default.nix M pkgs/top-level/python-packages.nix Log Message: --- pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7 (#26238) * pythonPackages.pytest-localserver: 0.3.5 -> 0.3.7 * pythonPackages.pytest-localserver: Change to use python packaging tools * pythonPackages.pytest-localserver: Move to own file ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 9f3c2b: gpxsee: 4.3 -> 4.8
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9f3c2bc8390b9e4f6f2b4cb37f08bb74fca83e27 https://github.com/NixOS/nixpkgs/commit/9f3c2bc8390b9e4f6f2b4cb37f08bb74fca83e27 Author: Kranium Gikos MendozaDate: 2017-05-31 (Wed, 31 May 2017) Changed paths: M pkgs/applications/misc/gpxsee/default.nix Log Message: --- gpxsee: 4.3 -> 4.8 Commit: 46bcd051858af15e2ee771bc46248b1d5e44bc8c https://github.com/NixOS/nixpkgs/commit/46bcd051858af15e2ee771bc46248b1d5e44bc8c Author: Gabriel Ebner Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/misc/gpxsee/default.nix Log Message: --- Merge pull request #26241 from womfoo/bump/gpxsee-3.8 gpxsee: 4.3 -> 4.8 Compare: https://github.com/NixOS/nixpkgs/compare/53835c93cb4b...46bcd051858a___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 1e51fd: i2pd: disable AVX instructions
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1e51fdc2cd77f3f68fe12406de002dd21bdcae01 https://github.com/NixOS/nixpkgs/commit/1e51fdc2cd77f3f68fe12406de002dd21bdcae01 Author: Edward TjörnhammarDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/tools/networking/i2pd/default.nix Log Message: --- i2pd: disable AVX instructions Commit: 53835c93cb4bc1c6228ee04d6788398a8ab36ab4 https://github.com/NixOS/nixpkgs/commit/53835c93cb4bc1c6228ee04d6788398a8ab36ab4 Author: Edward Tjörnhammar Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/tools/networking/i2pd/default.nix Log Message: --- i2pd: homepage update Compare: https://github.com/NixOS/nixpkgs/compare/538aa0f80847...53835c93cb4b___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 9aa354: llvm-4/clang-4: Build and install man pages
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9aa3548931e90d3a853c0cbf7fe45efe7f3b6a5a https://github.com/NixOS/nixpkgs/commit/9aa3548931e90d3a853c0cbf7fe45efe7f3b6a5a Author: Will DietzDate: 2017-05-19 (Fri, 19 May 2017) Changed paths: M pkgs/development/compilers/llvm/4/clang/default.nix M pkgs/development/compilers/llvm/4/llvm.nix Log Message: --- llvm-4/clang-4: Build and install man pages Commit: 3d1c1c5af3e1d97c2c6d0baf877817d09bb0c444 https://github.com/NixOS/nixpkgs/commit/3d1c1c5af3e1d97c2c6d0baf877817d09bb0c444 Author: Will Dietz Date: 2017-05-19 (Fri, 19 May 2017) Changed paths: M pkgs/development/compilers/llvm/4/clang/default.nix M pkgs/development/compilers/llvm/4/libc++abi.nix M pkgs/development/compilers/llvm/4/lld.nix M pkgs/development/compilers/llvm/4/lldb.nix M pkgs/development/compilers/llvm/4/llvm.nix M pkgs/development/compilers/llvm/4/openmp.nix Log Message: --- llvm-4/*: indicate which build inputs are nativeBuildInputs. Commit: 1e23b49f4652915a274781569abb21a07884e858 https://github.com/NixOS/nixpkgs/commit/1e23b49f4652915a274781569abb21a07884e858 Author: Daiderd Jordan Date: 2017-05-21 (Sun, 21 May 2017) Changed paths: M pkgs/stdenv/darwin/default.nix Log Message: --- darwin-stdenv: allow clang-unwrapped.man Commit: bd500816f75d326720c096d78db3932e3fadd9ab https://github.com/NixOS/nixpkgs/commit/bd500816f75d326720c096d78db3932e3fadd9ab Author: Armijn Hemel Date: 2017-05-24 (Wed, 24 May 2017) Changed paths: M pkgs/tools/text/diffutils/default.nix Log Message: --- diffutils: 3.5 -> 3.6 Commit: 105f51f151a1a1f446b86aea677ac23c0144abd8 https://github.com/NixOS/nixpkgs/commit/105f51f151a1a1f446b86aea677ac23c0144abd8 Author: Eelco Dolstra Date: 2017-05-24 (Wed, 24 May 2017) Changed paths: M pkgs/tools/text/diffutils/default.nix Log Message: --- Merge pull request #26057 from armijnhemel/diffutils-3.6 diffutils: 3.5 -> 3.6 Commit: 5479f742e66e90b298353a8df858840d374e1515 https://github.com/NixOS/nixpkgs/commit/5479f742e66e90b298353a8df858840d374e1515 Author: Franz Pletz Date: 2017-05-25 (Thu, 25 May 2017) Changed paths: M pkgs/development/libraries/libtasn1/default.nix Log Message: --- libtasn1: apply patch to fix CVE-2017-6891 Commit: e7fa6220d622bf352a06a4328da8679fbfffced3 https://github.com/NixOS/nixpkgs/commit/e7fa6220d622bf352a06a4328da8679fbfffced3 Author: Nikolay Amiantov Date: 2017-05-25 (Thu, 25 May 2017) Changed paths: M pkgs/development/libraries/polkit/default.nix Log Message: --- polkit: add patches from Fedora This fixes few leaks and adds ITS description files which are needed for some reverse dependencies. Commit: ae8aae1ee80e4dd10435159f35b9511a12df95eb https://github.com/NixOS/nixpkgs/commit/ae8aae1ee80e4dd10435159f35b9511a12df95eb Author: Frederik Rietdijk Date: 2017-05-26 (Fri, 26 May 2017) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- python.pkgs.urllib3: disable tests because there are transient failures too often. Commit: f71b83ad7e61137f552ee96be8f6ca7bdc29d357 https://github.com/NixOS/nixpkgs/commit/f71b83ad7e61137f552ee96be8f6ca7bdc29d357 Author: Vladimír Čunát Date: 2017-05-27 (Sat, 27 May 2017) Changed paths: M pkgs/development/libraries/libdrm/default.nix Log Message: --- libdrm: 2.4.79 -> 2.4.81 Commit: b4bb39642e80205355593468d8514c7e6a27d96a https://github.com/NixOS/nixpkgs/commit/b4bb39642e80205355593468d8514c7e6a27d96a Author: Vladimír Čunát Date: 2017-05-27 (Sat, 27 May 2017) Changed paths: M pkgs/development/libraries/libdrm/default.nix M pkgs/top-level/all-packages.nix Log Message: --- libdrm: support valgrind suppression via a lighter version Fixes #25917. It's all only about build-time dependency bloat and consequent rebuild propagation. Commit: 76a020e676f32ee47043dde3765b0a822f6a6feb https://github.com/NixOS/nixpkgs/commit/76a020e676f32ee47043dde3765b0a822f6a6feb Author: Vladimír Čunát Date: 2017-05-27 (Sat, 27 May 2017) Changed paths: M doc/cross-compilation.xml M lib/types.nix A maintainers/scripts/update-python-libraries M nixos/doc/manual/development/option-types.xml M nixos/doc/manual/release-notes/rl-1709.xml A nixos/modules/hardware/nitrokey.nix M nixos/modules/module-list.nix M nixos/modules/programs/environment.nix M nixos/modules/programs/zsh/oh-my-zsh.nix M nixos/modules/rename.nix A
Re: [Nix-dev] concatAttrs :: [attrSet] -> attrSet ?
Hello Daniel, Thus quoth Daniel Peebles at 13:58 on Tue, May 30 2017: > > My favorite interface for this type of operation is from Haskell's > Data.Map, in pseudo-Haskell notation: > > unionWithKey : (String -> a -> a -> a) -> Attrs a -> Atrs a -> Attrs a Right, that's exactly the kind of function I was looking for :-) Now, I think that in Nix the main problem is that attribute sets are very often nested and that generic functions should be capable of handling this nesting. On the other hand, you usually don't care about nesting when using Data.Map. -- Sergiu signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] concatAttrs :: [attrSet] -> attrSet ?
My favorite interface for this type of operation is from Haskell's Data.Map, in pseudo-Haskell notation: unionWithKey : (String -> a -> a -> a) -> Attrs a -> Atrs a -> Attrs a unionWith : (a -> a -> a) -> Attrs a -> Attrs a -> Attrs a unionWith = f: unionWithKey (_: f) This should be sufficient to write most other "merge" operations. The semantics are that keys common to both attrsets get their values passed into the function to figure out how it should be merged, and otherwise keys get passed through to the output attrsets unchanged. Then you can pick whether you want left-biased or right-biased behavior by simply passing in a function that selects the left or right element, or possibly merges them in more interesting ways (for example calling this function recursively) There are obvious analogs for intersections too. On Mon, May 29, 2017 at 11:19 AM, Sergiu Ivanovwrote: > Hello Tomasz, Domen, and Volth, > > Thus quoth Tomasz Czyż at 13:26 on Mon, May 29 2017: > > > > https://github.com/NixOS/nixpkgs/blob/master/lib/attrsets.nix#L413 is > also > > handy > > > > 2017-05-29 13:36 GMT+01:00 Domen Kožar : > > > >> mkMerge can be used only with NixOS modules. > >> > >> I do remember some recursive merge function, but can't find it now. > >> > >> On Mon, May 29, 2017 at 2:29 PM, Volth wrote: > >> > >>> there is also lib.mkMerge to handle nested attrs > > My use case is waay simpler than modules (lucky me) :-) > > recursiveUpdate and especially recursiveUpdateUntil are some interesting > beasts, thanks for the reference. > > -- > Sergiu > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] hydra problems
On 05/30/2017 12:29 PM, Danylo Hlynskyi wrote: > 1. https://hydra.nixos.org seems to have problems with HTTPS: in my > Firefox. I can't reproduce that. Perhaps some transient problem? > 2. no build results can be downloaded They aren't stored on Hydra (for months, maybe a couple years now). I think the easiest way to get the results is to pass their paths to `nix-store --realize` which will fetch them from the binary cache. --Vladimir ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] dfebb6: systemd: v232 -> v233
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: dfebb66f657240e5448a98d9efc90d4c66825274 https://github.com/NixOS/nixpkgs/commit/dfebb66f657240e5448a98d9efc90d4c66825274 Author: Jörg ThalheimDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/os-specific/linux/systemd/default.nix Log Message: --- systemd: v232 -> v233 Changelog: https://github.com/systemd/systemd/blob/v233/NEWS Upgrade was pretty smooth. One notably change is the new hybrid cgroup mode: https://github.com/systemd/systemd/blob/v233/NEWS#L5 It should provide better compatibility with docker. Commit: 3a994fb57920c33e123605df62fe2ac238884695 https://github.com/NixOS/nixpkgs/commit/3a994fb57920c33e123605df62fe2ac238884695 Author: Eelco Dolstra Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/os-specific/linux/systemd/default.nix Log Message: --- Merge pull request #26231 from Mic92/systemd systemd: v232 -> v233 Compare: https://github.com/NixOS/nixpkgs/compare/595141d71084...3a994fb57920___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Auto-generated expressions for applications
> Current approach seems to be doing the job except notifying people when dependency is updated. What do you base that on? With the generated data sets for applications we have another issue which I didn't mention, and that is the sometimes overly conservative pinning of versions by the application developer. Aside from reporting such issues upstream, how to handle that? Other distributions face similar issues but, at least with Python, on a smaller scale, because they cannot have multiple versions of packages and therefore having separate package sets is just not an option for them. Maybe I should have written in the initial mail that I'm looking for a policy on how we're going to deal with these ki nd of situations. On Tue, May 30, 2017 at 2:10 PM, Tomasz Czyżwrote: > Current approach seems to be doing the job except notifying people when > dependency is updated. Previously we had monitor to do some similar stuff, > and I think vulnix can check that without much effort so I wouldn't worry > about having duplicated packages for apps. > I think focusing on improving CI process and security notifications > process is the way to go. > > Probably we could set another process/job in hydra to check all apps for > security issues/updates. (I'm not sure if security team doesn't have that > already). > > 2017-05-30 10:17 GMT+01:00 Marc Weber : > >> Let met try to sum up what I remember: >> >> - There 3+ solutions to update "sources" documented on the wiki >> somewhere - ideas from comparing versions with other distributions up >> to adding scrapers getting latest version from web sites if I recall >> correctly >> >> - Putting automatically generated code into nixpkgs doesn't solve all >> issues, for corner cases you have to duplicate dependencies using >> different version constraints. >> >> -> overhead >> >> - Its not always quite clear how stable the user wants to be >> (gimp/inskscape) case, master sometimes has new features. >> >> So which versions to support ? >> >> - Whatever we do, we don't solve anything for other distros (which >> suffer the same problem), unless we switch point of view: >> >> The solution would be a cross platform cross language dependency >> management system allowing to declare dependencies in a file so that >> you can even install from gihtub automatically. >> >> systemPackages = [ (fromGithub "user/package" "HEAD") ] # sort rest out >> on your own, thanks >> >> package A could be working, package B could be working, but [A B] in the >> same environment not (because they both depend on executable C) >> >> After all we want nixpkgs to be at least stable enough to have broken >> packages marked as broken and expect everything else to at least >> compile/install. >> >> Which are the best short/middle/long term solutions ? >> >> Marc Weber >> ___ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> https://mailman.science.uu.nl/mailman/listinfo/nix-dev >> > > > > -- > Tomasz Czyż > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Background images of desktop managers
Shouldn't the wallpaper be the user/session setting rather than system setting? Looks like kde, gnome, xfce way of doing this seems to be more natural, user changes the wallpaper in his session. Personally, I'm using awesome window manager and I use it with xfce session so I have all other goodies that awesome is not offering. For all other cases I think this should be implemented on the user space. 2017-05-30 9:25 GMT+01:00 zimbatm: > Hi Maximilian, > > Welcome to the list :) > > Did you try setting `services.xserver.desktopManager.default = "none"`? I > suspect that might do what you wanted. The "none" desktop manager doesn't > do anything but should still apply the wallpaper regardless of the > windowManager that you chose. > > > On Sun, 28 May 2017, 08:53 Maximilian Bosch, wrote: > >> Hey there, >> >> before I start with the actual topic I'd like to introduce myself as this >> is the first time I submit something to the `nix-dev` mailing list: I'm >> Maximilian Bosch from Munich, I work for the Mayflower GmbH and I started >> using NixOS at the beginning of 2017 and submitted several PRs since then. >> >> Right now I'm working on the following thing: https://github.com/ >> NixOS/nixpkgs/pull/26156 >> >> As the title says, I'd like to have some background image support for >> window managers as well (XMonad in my case). Right now I solve this with >> some ugly shell in the `sessionCommands` script, but I'd like to have a >> more suitable solution for this. >> >> Right now you can set an internal option in the {desktop,window}Managers, >> but `bgSupport` isn't available for the windowManagers (see >> https://github.com/NixOS/nixpkgs/blob/master/nixos/ >> modules/services/x11/window-managers/default.nix, >> https://github.com/NixOS/nixpkgs/blob/master/nixos/ >> modules/services/x11/desktop-managers/default.nix). >> >> I decided to change this, please refer to the linked PR for more details >> there. >> >> Right now it works quite fine with `i3`, but when I tried to test it with >> desktopManagers like `gnome3` or `xfce` (both of them have `bgSupport` >> enabled ATM), I realized that they set their own background internally and >> override the stuff declared by the `feh --bg-scale` call. >> >> Therefore I'd like to know: is there any specific reason I'm missing why >> desktopManagers have this bgSupport thign? It works fine with some >> windowManagers (not all of them, `awesome` overrides the background as >> well), but it seems to break with the desktopManagers. >> >> And if that's just some legacy thing: can the bgSupport be removed from >> the desktopManagers? >> >> Have a great sunday and thanks in advance, >> >> Maximilian Bosch >> ___ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> https://mailman.science.uu.nl/mailman/listinfo/nix-dev >> > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > > -- Tomasz Czyż ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Auto-generated expressions for applications
Current approach seems to be doing the job except notifying people when dependency is updated. Previously we had monitor to do some similar stuff, and I think vulnix can check that without much effort so I wouldn't worry about having duplicated packages for apps. I think focusing on improving CI process and security notifications process is the way to go. Probably we could set another process/job in hydra to check all apps for security issues/updates. (I'm not sure if security team doesn't have that already). 2017-05-30 10:17 GMT+01:00 Marc Weber: > Let met try to sum up what I remember: > > - There 3+ solutions to update "sources" documented on the wiki > somewhere - ideas from comparing versions with other distributions up > to adding scrapers getting latest version from web sites if I recall > correctly > > - Putting automatically generated code into nixpkgs doesn't solve all > issues, for corner cases you have to duplicate dependencies using > different version constraints. > > -> overhead > > - Its not always quite clear how stable the user wants to be > (gimp/inskscape) case, master sometimes has new features. > > So which versions to support ? > > - Whatever we do, we don't solve anything for other distros (which > suffer the same problem), unless we switch point of view: > > The solution would be a cross platform cross language dependency > management system allowing to declare dependencies in a file so that > you can even install from gihtub automatically. > > systemPackages = [ (fromGithub "user/package" "HEAD") ] # sort rest out > on your own, thanks > > package A could be working, package B could be working, but [A B] in the > same environment not (because they both depend on executable C) > > After all we want nixpkgs to be at least stable enough to have broken > packages marked as broken and expect everything else to at least > compile/install. > > Which are the best short/middle/long term solutions ? > > Marc Weber > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > -- Tomasz Czyż ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] a1c159: python.pkgs.flask_migrate: 1.7.0 -> 2.0.3
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a1c15989aa8363a80f32123ea0030ecef68576a9 https://github.com/NixOS/nixpkgs/commit/a1c15989aa8363a80f32123ea0030ecef68576a9 Author: Robert ScottDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/development/python-modules/flask-migrate/default.nix M pkgs/top-level/python-packages.nix Log Message: --- python.pkgs.flask_migrate: 1.7.0 -> 2.0.3 fixes build against new dependencies after some test tinkering, seems we can remove the python3-patching as there exists a "python" symlink now Commit: 30ce98bbc3368027875983f27be72d4a038733aa https://github.com/NixOS/nixpkgs/commit/30ce98bbc3368027875983f27be72d4a038733aa Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/development/python-modules/flask-migrate/default.nix M pkgs/top-level/python-packages.nix Log Message: --- Merge pull request #26233 from risicle/flask-migrate-bump python.pkgs.flask_migrate: 1.7.0 -> 2.0.3 Compare: https://github.com/NixOS/nixpkgs/compare/b73fd0c5627c...30ce98bbc336___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] b73fd0: global: 6.5.6 -> 6.5.7
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b73fd0c5627cb5bb387669957726c857e58f5fe2 https://github.com/NixOS/nixpkgs/commit/b73fd0c5627cb5bb387669957726c857e58f5fe2 Author: Pascal WittmannDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/tools/misc/global/default.nix Log Message: --- global: 6.5.6 -> 6.5.7 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 94be2d: libfilezilla: 0.9.1 -> 0.9.2
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 94be2db902109537ac1e3e1e17221141d3c4f799 https://github.com/NixOS/nixpkgs/commit/94be2db902109537ac1e3e1e17221141d3c4f799 Author: Pascal WittmannDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/libraries/libfilezilla/default.nix Log Message: --- libfilezilla: 0.9.1 -> 0.9.2 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] hydra problems
1. https://hydra.nixos.org seems to have problems with HTTPS: in my Firefox. 2. no build results can be downloaded ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 4730b8: scudcloud: 1.54 -> 1.58
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4730b8ba05d2f9a71168f6196a0ccb5a1641ce38 https://github.com/NixOS/nixpkgs/commit/4730b8ba05d2f9a71168f6196a0ccb5a1641ce38 Author: Mikhail VolkhovDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/networking/instant-messengers/scudcloud/default.nix Log Message: --- scudcloud: 1.54 -> 1.58 Commit: e919b2f78f99d56a54062ec6e956caae61b67b35 https://github.com/NixOS/nixpkgs/commit/e919b2f78f99d56a54062ec6e956caae61b67b35 Author: Arseniy Seroka Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/networking/instant-messengers/scudcloud/default.nix Log Message: --- Merge pull request #26232 from volhovM/update/scudcloud-1.58 scudcloud: 1.54 -> 1.58 Compare: https://github.com/NixOS/nixpkgs/compare/84a13a8bddf0...e919b2f78f99___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Auto-generated expressions for applications
Let met try to sum up what I remember: - There 3+ solutions to update "sources" documented on the wiki somewhere - ideas from comparing versions with other distributions up to adding scrapers getting latest version from web sites if I recall correctly - Putting automatically generated code into nixpkgs doesn't solve all issues, for corner cases you have to duplicate dependencies using different version constraints. -> overhead - Its not always quite clear how stable the user wants to be (gimp/inskscape) case, master sometimes has new features. So which versions to support ? - Whatever we do, we don't solve anything for other distros (which suffer the same problem), unless we switch point of view: The solution would be a cross platform cross language dependency management system allowing to declare dependencies in a file so that you can even install from gihtub automatically. systemPackages = [ (fromGithub "user/package" "HEAD") ] # sort rest out on your own, thanks package A could be working, package B could be working, but [A B] in the same environment not (because they both depend on executable C) After all we want nixpkgs to be at least stable enough to have broken packages marked as broken and expect everything else to at least compile/install. Which are the best short/middle/long term solutions ? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] 1fdf42: pythonPackages.tensorflow: Don't change the rpath ...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1fdf42d4612b6872a2625b3ba2f8750263281312 https://github.com/NixOS/nixpkgs/commit/1fdf42d4612b6872a2625b3ba2f8750263281312 Author: Jean-Philippe BernardyDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/tensorflow/default.nix Log Message: --- pythonPackages.tensorflow: Don't change the rpath to point to gcc4.9 When using cuda, the rpath was set to include GCC lib version 4.9. I am not sure what this was attempting to do, but an effect was to prevent certain python libraries to find the correct (newer) version of the std lib. Also avoid mentions of any specifc version in the propagatedBuildInputs Commit: 84a13a8bddf0a25940ab725af1dc1fd8cdbc904a https://github.com/NixOS/nixpkgs/commit/84a13a8bddf0a25940ab725af1dc1fd8cdbc904a Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/tensorflow/default.nix Log Message: --- Merge pull request #26213 from jyp/tf-standard-gcc pythonPackages.tensorflow: Don't change the rpath to point to gcc4.9 Compare: https://github.com/NixOS/nixpkgs/compare/61ce84904e72...84a13a8bddf0___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Auto-generated expressions for applications
Freddy Rietdijkwrites: > Hi, > > At several places in Nixpkgs we use auto-generated data, mostly for the > larger package sets like Haskell. Sometimes we also use auto-generated sets > for applications that may need different versions than are offered in the > main package sets. In the past months several issues/PR's have been opened > to add rather large Python applications to Nixpkgs, generated using > `pypi2nix`. > > Using such tool to generate the expressions has some very big advantages. > However, there's also a disadvantage. The expressions shouldn't only be > updated when there's a new release of the application, but also whenever > there's security updates in any of its generated dependencies, which the > application maintainer now has to keep track of. Therefore, I find it quite > a risk to have separate package sets. At the same time, we'll also likely > run behind in the main package sets every once in a while. As an example, `openstackclient` needs a version of the `requests` library which is older than our `pythonPackages.requests`. We then need to add another version but we don't want to mix different versions in the python packages set (to avoid conflicts). In this context, it seems the only way to bring `openstackclient` was to provide its dependencies as 'private' dependencies. I think several `golang` applications are also packaged in `nixpkgs` by "vendorizing" their dependencies. How dependencies of these applications are managed? > What do you think of this issue? Any suggestions how we can improve this? > Maybe we could have a server/bot that runs update scripts and opens a PR > whenever there's an actual diff? I don't know how but I think it would be nice to be able to know the python module versions that are currently used by all applications. > Freddy > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Background images of desktop managers
Hi Maximilian, Welcome to the list :) Did you try setting `services.xserver.desktopManager.default = "none"`? I suspect that might do what you wanted. The "none" desktop manager doesn't do anything but should still apply the wallpaper regardless of the windowManager that you chose. On Sun, 28 May 2017, 08:53 Maximilian Bosch,wrote: > Hey there, > > before I start with the actual topic I'd like to introduce myself as this > is the first time I submit something to the `nix-dev` mailing list: I'm > Maximilian Bosch from Munich, I work for the Mayflower GmbH and I started > using NixOS at the beginning of 2017 and submitted several PRs since then. > > Right now I'm working on the following thing: > https://github.com/NixOS/nixpkgs/pull/26156 > > As the title says, I'd like to have some background image support for > window managers as well (XMonad in my case). Right now I solve this with > some ugly shell in the `sessionCommands` script, but I'd like to have a > more suitable solution for this. > > Right now you can set an internal option in the {desktop,window}Managers, > but `bgSupport` isn't available for the windowManagers (see > https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/window-managers/default.nix, > > https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/desktop-managers/default.nix > ). > > I decided to change this, please refer to the linked PR for more details > there. > > Right now it works quite fine with `i3`, but when I tried to test it with > desktopManagers like `gnome3` or `xfce` (both of them have `bgSupport` > enabled ATM), I realized that they set their own background internally and > override the stuff declared by the `feh --bg-scale` call. > > Therefore I'd like to know: is there any specific reason I'm missing why > desktopManagers have this bgSupport thign? It works fine with some > windowManagers (not all of them, `awesome` overrides the background as > well), but it seems to break with the desktopManagers. > > And if that's just some legacy thing: can the bgSupport be removed from > the desktopManagers? > > Have a great sunday and thanks in advance, > > Maximilian Bosch > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Auto-generated expressions for applications
This actually ties into my question about nodePackages. It seems to me that for these large packaging systems, we should have separate repos that update from their source, and you can then include them into your nixpkgs configuration. Only packages that are useful by themselves should get a derivation in nixpkgs, the rest would be in these add-on repos. For nodejs, that would be e.g. yarn. No idea how to accomplish this though. On Tue, May 30, 2017 at 9:31 AM Freddy Rietdijkwrote: > Hi, > > At several places in Nixpkgs we use auto-generated data, mostly for the > larger package sets like Haskell. Sometimes we also use auto-generated sets > for applications that may need different versions than are offered in the > main package sets. In the past months several issues/PR's have been opened > to add rather large Python applications to Nixpkgs, generated using > `pypi2nix`. > > Using such tool to generate the expressions has some very big advantages. > However, there's also a disadvantage. The expressions shouldn't only be > updated when there's a new release of the application, but also whenever > there's security updates in any of its generated dependencies, which the > application maintainer now has to keep track of. Therefore, I find it quite > a risk to have separate package sets. At the same time, we'll also likely > run behind in the main package sets every once in a while. > > What do you think of this issue? Any suggestions how we can improve this? > Maybe we could have a server/bot that runs update scripts and opens a PR > whenever there's an actual diff? > > Freddy > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev > ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Auto-generated expressions for applications
Hi, At several places in Nixpkgs we use auto-generated data, mostly for the larger package sets like Haskell. Sometimes we also use auto-generated sets for applications that may need different versions than are offered in the main package sets. In the past months several issues/PR's have been opened to add rather large Python applications to Nixpkgs, generated using `pypi2nix`. Using such tool to generate the expressions has some very big advantages. However, there's also a disadvantage. The expressions shouldn't only be updated when there's a new release of the application, but also whenever there's security updates in any of its generated dependencies, which the application maintainer now has to keep track of. Therefore, I find it quite a risk to have separate package sets. At the same time, we'll also likely run behind in the main package sets every once in a while. What do you think of this issue? Any suggestions how we can improve this? Maybe we could have a server/bot that runs update scripts and opens a PR whenever there's an actual diff? Freddy ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-commits] [NixOS/nixpkgs] ac8a58: python.pkgs.django_compat: get tests working & ena...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ac8a58b5b44859f805e9613ec6cd55c3904ecbc0 https://github.com/NixOS/nixpkgs/commit/ac8a58b5b44859f805e9613ec6cd55c3904ecbc0 Author: Robert ScottDate: 2017-05-28 (Sun, 28 May 2017) Changed paths: M pkgs/development/python-modules/django-compat/default.nix Log Message: --- python.pkgs.django_compat: get tests working & enable them also add self as maintainer Commit: fa44b72d91625bcf5aee5438b10abdd0eb4e5acb https://github.com/NixOS/nixpkgs/commit/fa44b72d91625bcf5aee5438b10abdd0eb4e5acb Author: Robert Scott Date: 2017-05-28 (Sun, 28 May 2017) Changed paths: A pkgs/development/python-modules/django-hijack/default.nix M pkgs/top-level/python-packages.nix Log Message: --- python.pkgs.django_hijack: 2.0.7 -> 2.1.4 also fix & enable tests, add self as maintainer Commit: 61ce84904e728c4d340a48b5a56405afec2fdbba https://github.com/NixOS/nixpkgs/commit/61ce84904e728c4d340a48b5a56405afec2fdbba Author: Lancelot SIX Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/django-compat/default.nix A pkgs/development/python-modules/django-hijack/default.nix M pkgs/top-level/python-packages.nix Log Message: --- Merge pull request #26166 from risicle/django-compat-hijack-tests python: django-compat & django-hijack tests (also bump django-hijack) Compare: https://github.com/NixOS/nixpkgs/compare/ccafbacd8fff...61ce84904e72___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 75a94a: mcrcon: init at 0.0.5
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 75a94a5a28b33f6bad29f17c2986f3c173929cd7 https://github.com/NixOS/nixpkgs/commit/75a94a5a28b33f6bad29f17c2986f3c173929cd7 Author: Robin StummDate: 2017-05-29 (Mon, 29 May 2017) Changed paths: M lib/maintainers.nix A pkgs/tools/networking/mcrcon/default.nix M pkgs/top-level/all-packages.nix Log Message: --- mcrcon: init at 0.0.5 Commit: ccafbacd8fff37f08275be9f48903260af1e3d01 https://github.com/NixOS/nixpkgs/commit/ccafbacd8fff37f08275be9f48903260af1e3d01 Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M lib/maintainers.nix A pkgs/tools/networking/mcrcon/default.nix M pkgs/top-level/all-packages.nix Log Message: --- Merge pull request #26215 from dermetfan/mcrcon mcrcon: init at 0.0.5 Compare: https://github.com/NixOS/nixpkgs/compare/4f6422b76cab...ccafbacd8fff___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a98794: ditaa: more general platform
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a987943fdf023bf001dda04fe5a51f817a5743e0 https://github.com/NixOS/nixpkgs/commit/a987943fdf023bf001dda04fe5a51f817a5743e0 Author: Vincent LaporteDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/tools/graphics/ditaa/default.nix Log Message: --- ditaa: more general platform Commit: 4f6422b76cab823554e481f40c8fb831a0808e98 https://github.com/NixOS/nixpkgs/commit/4f6422b76cab823554e481f40c8fb831a0808e98 Author: Vincent Laporte Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/networking/sync/unison/default.nix Log Message: --- unison: more general platform Compare: https://github.com/NixOS/nixpkgs/compare/5c04222d851b...4f6422b76cab___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 47e866: geogebra: 5-0-355-0 -> 5-0-361-0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 47e86655950d868f514bb06dd6c578fc74e5 https://github.com/NixOS/nixpkgs/commit/47e86655950d868f514bb06dd6c578fc74e5 Author: Maximilian BoschDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/science/math/geogebra/default.nix Log Message: --- geogebra: 5-0-355-0 -> 5-0-361-0 Commit: 5c04222d851b281ee586bd590bcc23351a15535d https://github.com/NixOS/nixpkgs/commit/5c04222d851b281ee586bd590bcc23351a15535d Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/applications/science/math/geogebra/default.nix Log Message: --- Merge pull request #26228 from Ma27/update/geogebra geogebra: 5-0-355-0 -> 5-0-361-0 Compare: https://github.com/NixOS/nixpkgs/compare/89a32f458635...5c04222d851b___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a61e58: pythonPackages.argcomplete: init at 1.8.2
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a61e58b12106e043970b699e58d4d743e1f27e61 https://github.com/NixOS/nixpkgs/commit/a61e58b12106e043970b699e58d4d743e1f27e61 Author: Kranium Gikos MendozaDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/development/python-modules/argcomplete/default.nix M pkgs/top-level/python-packages.nix Log Message: --- pythonPackages.argcomplete: init at 1.8.2 Commit: 4126cc18be480ffc1599488d40c4fb4b3cfe32ae https://github.com/NixOS/nixpkgs/commit/4126cc18be480ffc1599488d40c4fb4b3cfe32ae Author: Kranium Gikos Mendoza Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/tools/virtualization/cloudmonkey/default.nix M pkgs/top-level/all-packages.nix Log Message: --- cloudmonkey: init at 5.3.3 Commit: 89a32f45863506ce1ed1e19305185217ed3477dc https://github.com/NixOS/nixpkgs/commit/89a32f45863506ce1ed1e19305185217ed3477dc Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: A pkgs/development/python-modules/argcomplete/default.nix A pkgs/tools/virtualization/cloudmonkey/default.nix M pkgs/top-level/all-packages.nix M pkgs/top-level/python-packages.nix Log Message: --- Merge pull request #26124 from womfoo/init/cloudmonkey-5.3.3 cloudmonkey: init at 5.3.3 with related dependency argcomplete: init at 1.8.2 Compare: https://github.com/NixOS/nixpkgs/compare/67f6f3a42025...89a32f458635___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] eb2994: pandas: Fix build on darwin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: eb2994a0d5541d591cd4fc2435b978b00b19bc46 https://github.com/NixOS/nixpkgs/commit/eb2994a0d5541d591cd4fc2435b978b00b19bc46 Author: Josef KemetmuellerDate: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/pandas/default.nix Log Message: --- pandas: Fix build on darwin Since the commands "locale", "pbpaste" and "pbcopy" are not in nixpkgs, as they are impure darwin dependencies, we currently cannot get the clipboard and locale functionality to work properly. We disable the tests "test_locale" and "test_clipboard" on darwin, so we get a mostly working pandas. Additionally to disabling the test via py.test, we also need to provide fake pbpaste/pbcopy commands, so py.test won't fail during the collection phase. This closes #25417 and closes #11623. Commit: 67f6f3a4202511fb6c74d9a5d09da79119da3e80 https://github.com/NixOS/nixpkgs/commit/67f6f3a4202511fb6c74d9a5d09da79119da3e80 Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/pandas/default.nix Log Message: --- Merge pull request #26221 from knedlsepp/fix-pandas-darwin-build pandas: Fix build on darwin Compare: https://github.com/NixOS/nixpkgs/compare/165c116a329e...67f6f3a42025___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 798301: txaio: 2.7.1 fixes
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 79830172b5cad4d44123f58f822a64ca5a264cfd https://github.com/NixOS/nixpkgs/commit/79830172b5cad4d44123f58f822a64ca5a264cfd Author: Fernando J PandoDate: 2017-05-29 (Mon, 29 May 2017) Changed paths: M pkgs/development/python-modules/txaio/default.nix Log Message: --- txaio: 2.7.1 fixes - uses fetchpypi - fixes broken test - tested nixos python 27/34 Commit: 165c116a329e9df8886561bb22e0fc8cdf94a61c https://github.com/NixOS/nixpkgs/commit/165c116a329e9df8886561bb22e0fc8cdf94a61c Author: Frederik Rietdijk Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/development/python-modules/txaio/default.nix Log Message: --- Merge pull request #26224 from nand0p/txaio-fixes txaio: 2.7.1 fixes Compare: https://github.com/NixOS/nixpkgs/compare/86790f7d4f9c...165c116a329e___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a49eb2: restic: 0.5.0 -> 0.6.0
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a49eb2f3b8fa9adb2b6d80fe279f4f6b6cd10740 https://github.com/NixOS/nixpkgs/commit/a49eb2f3b8fa9adb2b6d80fe279f4f6b6cd10740 Author: Marius BergmannDate: 2017-05-29 (Mon, 29 May 2017) Changed paths: M pkgs/tools/backup/restic/default.nix Log Message: --- restic: 0.5.0 -> 0.6.0 Commit: 86790f7d4f9c014a7abb777d01378d4b17a69ca0 https://github.com/NixOS/nixpkgs/commit/86790f7d4f9c014a7abb777d01378d4b17a69ca0 Author: Pascal Wittmann Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M pkgs/tools/backup/restic/default.nix Log Message: --- Merge pull request #26218 from mbrgm/upgrade-restic restic: 0.5.0 -> 0.6.0 Compare: https://github.com/NixOS/nixpkgs/compare/a908ad6fd342...86790f7d4f9c___ nix-commits mailing list nix-comm...@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-commits
[Nix-dev] How to best override nodePackages?
Hi, I understand that there have been some changes that make Nixpkgs more overridable. Could anybody explain how to override the nodePackages derivations so I can use the most recent versions? Node packages update much faster than Nixpkgs/Hydra can follow, and compiling them is trivial… Ideally, this would be just in .nixpkgs/config.nix Thanks! Wout. ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev