about summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* Merge pull request #82488 from r-ryantm/auto-update/libuvJörg Thalheim2020-03-16
|\ | | | | libuv: 1.34.2 -> 1.35.0
| * libuv: 1.34.2 -> 1.35.0R. RyanTM2020-03-13
| |
* | Merge pull request #82511 from alyssais/rustJörg Thalheim2020-03-15
|\ \ | | | | | | rust_1_38, rust_1_42: drop patch version from attr
| * | rust_1_38, rust_1_42: drop patch version from attrAlyssa Ross2020-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I find it extremely unlikely we'll ever package two different patch versions of the same minor Rust version. New patch versions should generally be compatible, so we shouldn't give people the expectation they'll be able to pin to one. And by including the patch version in the attribute name, we'd have to change the attribute every time a patch version was released, which would unnecessarily create diff noise and maintenance headaches for what should be a seamless upgrade.
* | | Merge #82566: gcc: 9.2.0 -> 9.3.0 (into staging)Vladimír Čunát2020-03-15
|\ \ \
| * | | gcc9: 9.2.0 -> 9.3.0Maximilian Bosch2020-03-14
| | | |
* | | | Merge #82324: mesa: 19.3.3 -> 20.0.1 (into staging)Vladimír Čunát2020-03-15
|\ \ \ \
| * | | | mesa: 19.3.3 -> 20.0.1Michael Weiss2020-03-11
| | | | | | | | | | | | | | | | | | | | New APIs implemented: OpenGL 4.6 and Vulkan 1.2
* | | | | Unbound: 1.9.5 -> 1.10.0Michiel Leenaars2020-03-14
| | | | |
* | | | | Merge pull request #82453 from adisbladis/nix-pythonprefixadisbladis2020-03-14
|\ \ \ \ \ | | | | | | | | | | | | Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES
| * | | | | Fix sys.prefix in case of a Nix envFrederik Rietdijk2020-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The prefix will now be correct in case of Nix env. Note, however, that creating a venv from a Nix env still does not function. This does not seem to be possible with the current approach either, because venv will copy or symlink our Python wrapper. In case it symlinks (the default) it won't see a pyvenv.cfg. If it is copied I think it should function but it does not...
| * | | | | Python: Add integration test verifying NIX_PYTHONPATH with Mypyadisbladis2020-03-14
| | | | | |
| * | | | | Python Add test for NIX_PYTHONPREFIXadisbladis2020-03-14
| | | | | |
| * | | | | Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXESadisbladis2020-03-14
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed in case of `python.buildEnv` to make sure site.PREFIXES does not only point to the unwrapped executable prefix. -------------------------------------------------------------------------------- This PR is a story where your valiant hero sets out on a very simple adventure but ends up having to slay dragons, starts questioning his own sanity and finally manages to gain enough knowledge to slay the evil dragon and finally win the proverbial price. It all started out on sunny spring day with trying to tackle the Nixops plugin infrastructure and make that nice enough to work with. Our story begins in the shanty town of [NixOps-AWS](https://github.com/nixos/nixops-aws) where [mypy](http://mypy-lang.org/) type checking has not yet been seen. As our deuteragonist (@grahamc) has made great strides in the capital city of [NixOps](https://github.com/nixos/nixops) our hero wanted to bring this out into the land and let the people rejoice in reliability and a wonderful development experience. The plugin work itself was straight forward and our hero quickly slayed the first small dragon, at this point things felt good and our hero thought he was going to reach the town of NixOps-AWS very quickly. But alas! Mypy did not want to go, it said: `Cannot find implementation or library stub for module named 'nixops'` Our hero felt a small sliver of life escape from his body. Things were not going to be so easy. After some frustration our hero discovered there was a [rule of the land of Python](https://www.python.org/dev/peps/pep-0561/) that governed the import of types into the kingdom, more specificaly a very special document (file) called `py.typed`. Things were looking good. But no, what the law said did not seem to match reality. How could things be so? After some frustrating debugging our valiant hero thought to himself "Hmm, I wonder if this is simply a Nix idiosyncrasy", and it turns out indeed it was. Things that were working in the blessed way of the land of Python (inside a `virtualenv`) were not working the way they were from his home town of Nix (`nix-shell` + `python.withPackages`). After even more frustrating attempts at reading the mypy documentation and trying to understand how things were supposed to work our hero started questioning his sanity. This is where things started to get truly interesting. Our hero started to use a number of powerful weapons, both forged in the land of Python (pdb) & by the mages of UNIX (printf-style-debugging & strace). After first trying to slay the dragon simply by `strace` and a keen eye our hero did not spot any weak points. Time to break out a more powerful sword (`pdb`) which also did not divulge any secrets about what was wrong. Our hero went back to the `strace` output and after a fair bit of thought and analysis a pattern started to emerge. Mypy was looking in the wrong place (i.e. not in in the environment created by `python.withPackages` but in the interpreter store path) and our princess was in another castle! Our hero went to the pub full of old grumpy men giving out the inner workings of the open source universe (Github) and acquired a copy of Mypy. He littered the code with print statements & break points. After a fierce battle full of blood, sweat & tears he ended up in https://github.com/python/mypy/blob/20f7f2dd71c21bde4d3d99f9ab69bf6670c7fa03/mypy/sitepkgs.py and realised that everything came down to the Python `site` module and more specifically https://docs.python.org/3.7/library/site.html#site.getsitepackages which in turn relies on https://docs.python.org/3.7/library/site.html#site.PREFIXES . Our hero created a copy of the environment created by `python.withPackages` and manually modified it to confirm his findings, and it turned out it was indeed the case. Our hero had damaged the dragon and it was time for a celebration. He went out and acquired some mead which he ingested while he typed up his story and waited for the dragon to finally die (the commit caused a mass-rebuild, I had to wait for my repro). In the end all was good in [NixOps-AWS](https://github.com/nixos/nixops-aws)-town and type checks could run. (PR for that incoming tomorrow).
* | | | | Merge pull request #82554 from r-ryantm/auto-update/libuninameslistRyan Mulligan2020-03-14
|\ \ \ \ \ | | | | | | | | | | | | libuninameslist: 20190701 -> 20200313
| * | | | | libuninameslist: 20190701 -> 20200313R. RyanTM2020-03-14
| | | | | |
* | | | | | Python: introduce tests for interpretersFrederik Rietdijk2020-03-14
| | | | | | | | | | | | | | | | | | | | | | | | This adds tests to the passthru of all Python interpreters.
* | | | | | pythonMinimal: don't include site-customiseGraham Christensen2020-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Experimenting with patching the site-customize file causes mass rebuilds for no reason.
* | | | | | Merge staging-next into stagingFrederik Rietdijk2020-03-14
|\ \ \ \ \ \
| * \ \ \ \ \ Merge master into staging-nextFrederik Rietdijk2020-03-14
| |\ \ \ \ \ \
| | * | | | | | gitAndTools.stgit: 0.21 -> 0.22R. RyanTM2020-03-14
| | | | | | | |
| | * | | | | | xbps: 0.58 -> 0.59R. RyanTM2020-03-14
| | | | | | | |
| | * | | | | | Merge pull request #82035 from r-ryantm/auto-update/elementary-musicFrederik Rietdijk2020-03-14
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | pantheon.elementary-music: 5.0.4 -> 5.0.5
| | | * | | | | | pantheon.elementary-music: 5.0.4 -> 5.0.5R. RyanTM2020-03-08
| | | | | | | | |
| | * | | | | | | Merge pull request #82452 from r-ryantm/auto-update/atlassian-jiraRyan Mulligan2020-03-14
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | atlassian-jira: 8.7.0 -> 8.7.1
| | | * | | | | | | atlassian-jira: 8.7.0 -> 8.7.1R. RyanTM2020-03-12
| | | | |_|_|_|_|/ | | | |/| | | | |
| | * | | | | | | sunvox: 1.9.5c -> 1.9.5dR. RyanTM2020-03-14
| | | | | | | | |
| | * | | | | | | tomcat_connectors: 1.2.46 -> 1.2.48R. RyanTM2020-03-14
| | | | | | | | |
| | * | | | | | | calibre: 4.11.2 -> 4.12.0R. RyanTM2020-03-14
| | | | | | | | |
| | * | | | | | | plata-theme: 0.9.2 -> 0.9.3R. RyanTM2020-03-14
| | | | | | | | |
| | * | | | | | | Merge pull request #82535 from r-ryantm/auto-update/docuiRyan Mulligan2020-03-14
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | docui: 2.0.0 -> 2.0.4
| | | * | | | | | | docui: 2.0.0 -> 2.0.4R. RyanTM2020-03-14
| | | | |_|/ / / / | | | |/| | | | |
| | * | | | | | | Merge pull request #81611 from r-ryantm/auto-update/RFrederik Rietdijk2020-03-14
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | R: 3.6.2 -> 3.6.3
| | | * | | | | | | R: 3.6.2 -> 3.6.3R. RyanTM2020-03-03
| | | | | | | | | |
| | * | | | | | | | osinfo-db: 20200203 -> 20200214R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | sickgear: 0.21.5 -> 0.21.17R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | opera: 66.0.3515.72 -> 67.0.3575.31R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | frostwire-bin: 6.8.3 -> 6.8.4R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | elisa: 19.12.2 -> 19.12.3R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | quilter: 2.1.1 -> 2.1.2R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | minizincide: 2.3.2 -> 2.4.2R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | cli11: 1.8.0 -> 1.9.0R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | Merge pull request #82534 from r-ryantm/auto-update/dnsproxyRyan Mulligan2020-03-14
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | dnsproxy: 0.20.0 -> 0.23.7
| | | * | | | | | | | dnsproxy: 0.20.0 -> 0.23.7R. RyanTM2020-03-14
| | | | |/ / / / / / | | | |/| | | | | |
| | * | | | | | | | lightstep-tracer-cpp: 0.11.0 -> 0.12.0R. RyanTM2020-03-14
| | | | | | | | | |
| | * | | | | | | | Merge pull request #79316 from r-ryantm/auto-update/git-ftpFrederik Rietdijk2020-03-14
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | git-ftp: 1.5.2 -> 1.6.0
| | | * | | | | | | | git-ftp: 1.5.2 -> 1.6.0R. RyanTM2020-02-06
| | | | | | | | | | |
| | * | | | | | | | | libmysofa: 0.9.1 -> 1.0R. RyanTM2020-03-14
| | | | | | | | | | |
| | * | | | | | | | | omnisharp-roslyn: 1.32.19 -> 1.34.11R. RyanTM2020-03-14
| | | | | | | | | | |
| | * | | | | | | | | Merge pull request #82006 from emilazy/enable-linux-hardened-ia32-emulationGraham Christensen2020-03-14
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | linuxPackages_{,_latest,_testing}_hardened: enable 32-bit emulation