Commit Graph
100 Commits
Author SHA1 Message Date
adisbladis 99b1188ee1 Merge pull request #83990 from r-ryantm/auto-update/minio
minio: 2020-03-06T22-23-56Z -> 2020-03-25T07-03-04Z
2020-04-01 20:02:42 +02:00
adisbladis 98377a7405 Merge pull request #83972 from r-ryantm/auto-update/go-ethereum
go-ethereum: 1.9.11 -> 1.9.12
2020-04-01 14:42:44 +02:00
adisbladis cdf24a3c45 Merge pull request #83775 from adisbladis/pa-bluetooth-default
pulseaudio: Enable bluetooth support by default
2020-03-30 16:17:16 +02:00
adisbladis e41f3d9ef3 pulseaudio: Enable bluetooth support by default
It only increases the closure size by 0.5M and users who do not set
the NixOS option `hardware.pulseaudio.package = pkgs.pulseaudioFull;`
will be stumped by their bluetooth audio not working.
2020-03-30 14:36:06 +01:00
adisbladis 8891bc00e5 melpa-packages: 2020-03-30 2020-03-30 09:42:18 +01:00
adisbladis d4fd0ba504 elpa-packages: 2020-03-30 2020-03-30 09:41:36 +01:00
adisbladis 48a137da73 mesa: 20.0.1 -> 20.0.2 2020-03-28 14:26:09 +00:00
adisbladis e76a190ce7 firefox-devedition-bin: 75.0b2 -> 75.0b10 2020-03-28 10:31:07 +00:00
adisbladis 657d81a4c3 firefox-beta-bin: 75.0b2 -> 75.0b10 2020-03-28 10:31:07 +00:00
adisbladis aa2552c6ce poetry2nix: 1.7.0 -> 1.7.1 2020-03-27 23:47:40 +00:00
adisbladis dda52a4571 poetry2nix: 1.6.1 -> 1.7.0 2020-03-27 22:54:34 +00:00
adisbladis 7401afc428 poetry2nix: 1.6.0 -> 1.6.1 2020-03-27 14:49:31 +00:00
adisbladis a0104e225b Merge pull request #82660 from geistesk/golangci-lint-v1.24.0
golangci-lint: 1.23.8 -> 1.24.0
2020-03-15 20:31:15 +00:00
adisbladis d828748440 Merge pull request #82667 from etu/clean-up-php-derivation
php: Clean up php derivation
2020-03-15 18:18:17 +00:00
adisbladis ad81f84d1f melpa-packages: 2020-03-15 2020-03-15 18:03:00 +00:00
adisbladis 9dbe706576 elpa-packages: 2020-03-15 2020-03-15 18:03:00 +00:00
adisbladis 578c2aff63 Merge pull request #82613 from fnords/master
Add coc-spell-checker plugin for neovim
2020-03-15 18:01:59 +00:00
adisbladis 48b799e365 Merge pull request #82578 from eyJhb/coc-npm
vimPlugins.coc-*: add npm dependencies
2020-03-15 17:51:39 +00:00
adisbladis af9b839a89 nodePackages: regenerate sets 2020-03-15 17:30:37 +00:00
adisbladis f37e7adb7b nodePackages: Fix NODE_NIXPKGS_PATH in shell-generate.nix 2020-03-15 17:30:37 +00:00
adisbladis 864be2ed1c Merge pull request #72506 from earksiinni/ersin/vim-coc-prettier
vimPlugins.coc-prettier: Add override
2020-03-15 13:37:25 +00:00
adisbladis 79ca23ba68 nodePackages: regenerate set 2020-03-15 13:02:28 +00:00
adisbladis 752dd733a2 Merge pull request #82543 from r-ryantm/auto-update/go-ethereum
go-ethereum: 1.9.10 -> 1.9.11
2020-03-15 01:22:52 +00:00
adisbladis c00777042f Merge pull request #82620 from aanderse/ssh-silent
nixos/ssh: silence ssh-keygen during configuration validation
2020-03-15 01:21:38 +00:00
adisbladis d15090dbe6 Merge pull request #82604 from rycee/fix/emacs-setup-hook
emacs: improve setup hook
2020-03-15 01:20:41 +00:00
adisbladis cf719bf9a8 emacs: Add adisbladis as maintainer 2020-03-15 01:03:40 +00:00
adisbladis 58f2d11810 Merge pull request #82621 from aanderse/ssh-fix
nixos/sshd: only include AuthorizedKeysCommand and AuthorizedKeysComm…
2020-03-15 00:09:34 +00:00
adisbladis 86a3326a37 Merge pull request #82348 from etu/php-exts-as-packages
PHP extensions as packages
2020-03-14 22:52:12 +00:00
adisbladis 2ed1477d86 Merge pull request #82453 from adisbladis/nix-pythonprefix
Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES
2020-03-14 21:42:01 +00:00
adisbladis 753122388d Python: Add integration test verifying NIX_PYTHONPATH with Mypy 2020-03-14 21:39:32 +00:00
adisbladis 05571d3059 Python Add test for NIX_PYTHONPREFIX 2020-03-14 21:39:31 +00:00
adisbladis d88a7735d2 Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES
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).
2020-03-14 21:39:31 +00:00
adisbladis 77396a8c47 Merge pull request #81098 from bignaux/cadence
cadence: fix dbus,libjack and missing dependancies
2020-03-14 21:30:57 +00:00
adisbladis 920187c247 Merge pull request #82574 from r-ryantm/auto-update/rar2fs
rar2fs: 1.28.0 -> 1.29.0
2020-03-14 18:46:44 +00:00
adisbladis f3adcbd150 Merge pull request #82411 from adisbladis/ntpd-extraconfig
services.ntpd: Add extraConfig parameter
2020-03-12 16:37:25 +00:00
adisbladis 63c35a9c28 services.ntpd: Add extraConfig parameter 2020-03-12 14:44:59 +00:00
adisbladis 3e754e6bf6 melpa-packages: 2020-03-11 2020-03-11 23:43:02 +00:00
adisbladis 193987b126 elpa-packages: 2020-03-11 2020-03-11 23:42:25 +00:00
adisbladis af48019a81 firefox-beta-bin: 74.0b7 -> 75.0b2 2020-03-11 20:23:54 +00:00
adisbladis 1cbef111ff firefox-devedition-bin: 74.0b7 -> 75.0b2 2020-03-11 20:23:54 +00:00
adisbladis 77a1653ee6 Merge pull request #82261 from heyhabito/fix-skopeo-default-policy
Fix missing default-policy.json in skopeo
2020-03-10 16:52:53 +00:00
adisbladis 6fcce60fd5 Merge pull request #82139 from adisbladis/switch-to-configuration-manual
switch-to-configuration: Add new option X-OnlyManualStart
2020-03-10 11:17:33 +00:00
adisbladis db6c94304f switch-to-configuration: Add new option X-OnlyManualStart
This is to facilitate units that should _only_ be manually started and
not activated when a configuration is switched to.

More specifically this is to be used by the new Nixops deploy-*
targets created in https://github.com/NixOS/nixops/pull/1245 that are
triggered by Nixops before/after switch-to-configuration is called.
2020-03-09 11:28:07 +00:00
adisbladis 4e5b0571ed create-amis: Add eu-north-1 2020-03-05 18:00:28 +00:00
adisbladis 298b50df1d poetry: 1.0.3 -> 1.0.5 2020-03-02 10:34:49 -08:00
adisbladis d3f756d9b7 poetry2nix: 1.5.0 -> 1.6.0 2020-03-02 10:34:49 -08:00
adisbladis 096a00a709 melpa-packages: 2020-03-01 2020-03-01 18:50:01 +00:00
adisbladis 7ff2e7c96e elpa-packages: 2020-03-01 2020-03-01 18:49:17 +00:00
adisbladis b962b666a9 Merge pull request #80958 from adisbladis/poetry2nix-1_5_0
poetry2nix: 1.4.0 -> 1.5.0
2020-02-24 14:02:15 +00:00
adisbladis 48e4304adf poetry: Remove importlib-metadata override
This workaround is no longer required as the bug requiring it has been
fixed in poetry2nix.
2020-02-24 13:38:35 +00:00
adisbladis e90bf5782e poetry2nix: 1.4.0 -> 1.5.0 2020-02-24 13:38:32 +00:00
adisbladis 1b53ed149e firefox-devedition-bin: 73.0b3 -> 74.0b7 2020-02-24 10:42:37 +00:00
adisbladis 10bdcdd800 firefox-beta-bin: 73.0b3 -> 74.0b7 2020-02-24 10:42:37 +00:00
adisbladis 5c50087566 Merge pull request #80880 from Infinisil/poetry-python-3.8
poetry: Fix build with Python 3.8
2020-02-23 16:55:58 +01:00
adisbladis 8a253006e6 Merge pull request #77975 from sjmackenzie/amp
amp: git rev 2c88e8 (2019-06-09) -> 0.6.1
2020-02-12 23:08:28 +13:00
adisbladis 096a51a35a poetry: 1.0.2 -> 1.0.3 2020-02-01 21:53:05 +00:00
adisbladis 28a590897e hivemind: Patch /bin/sh to runtimeShell 2020-01-30 22:00:54 -08:00
adisbladis ba265813df Merge pull request #78835 from xrelkd/update/go-ethereum
go-ethereum: 1.9.9 -> 1.9.10
2020-01-30 18:23:53 +00:00
adisbladis 45158b5c65 poetry2nix: 1.3.0 -> 1.4.0 2020-01-27 07:56:23 +00:00
adisbladis 9127ca2546 Merge pull request #78383 from adisbladis/doc-patch-rust-block
doc: Remove comment advising to install build tooling system-wide
2020-01-23 21:41:14 +00:00
adisbladis 95917c20ab docbookrx: init at unstable-2018-05-02 2020-01-23 21:24:55 +00:00
adisbladis 3b606fefb5 kramdown-asciidoc: init at 1.0.1 2020-01-23 21:24:55 +00:00
adisbladis fece3e5ca1 doc: Remove comment advising to install build tooling system-wide
We should not encourage installing build-tooling system-wide but
instead promote nix-shell.
2020-01-23 21:09:30 +00:00
adisbladis 0df887dd7b Merge pull request #78379 from adisbladis/doc-patch-appimagetools
doc: Fix callout reference in appimagetools
2020-01-23 18:45:55 +00:00
adisbladis 65ff43e866 doc: Fix callout reference in appimagetools 2020-01-23 17:49:13 +00:00
adisbladis b2f6aa631e libvterm-neovim: 2019-10-08 -> 0.1.3 2020-01-14 12:23:37 +00:00
adisbladis 386dbd5aea poetry2nix: 1.2.1 -> 1.3.0 2020-01-13 15:46:46 +00:00
adisbladis 100012e55b Merge pull request #77538 from adisbladis/poetry2nix-1_2_1
poetry2nix: 1.2.0 -> 1.2.1
2020-01-12 00:04:23 +00:00
adisbladis 1282b60452 poetry2nix: 1.2.0 -> 1.2.1 2020-01-11 23:37:05 +00:00
adisbladis 4f2de85ac1 Merge pull request #77429 from zowoq/go
go: 1.13.5 -> 1.13.6, go_1_12: 1.12.10 -> 1.12.15
2020-01-11 02:29:40 +00:00
adisbladis 7750fd5555 firefox-beta-bin: 72.0b3 -> 73.0b3 2020-01-10 18:40:53 +00:00
adisbladis 7a023738dd firefox-devedition-bin: 72.0b11 -> 73.0b3 2020-01-10 18:40:10 +00:00
adisbladis c940155c61 poetry: 1.0.1 -> 1.0.2 2020-01-10 16:02:05 +00:00
adisbladis e4939690af poetry: 1.0.0 -> 1.0.1 2020-01-10 13:35:44 +00:00
adisbladis 9dbedf0200 poetry2nix: 1.1.0 -> 1.2.0 2020-01-10 13:35:44 +00:00
adisbladis a6298636a6 mesa: 19.3.1 -> 19.3.2 2020-01-10 09:01:07 +00:00
adisbladis 61a92baf35 melpa-packages: 2020-01-08 2020-01-08 14:34:35 +00:00
adisbladis 04c9af7d11 elpa-packages: 2020-01-08 2020-01-08 14:33:14 +00:00
adisbladis dd6970c824 Merge pull request #77319 from adisbladis/python-eggs
python: Add support for installing Python eggs
2020-01-08 14:13:03 +00:00
adisbladis 2d6f1ff4dd python: Add support for installing Python eggs 2020-01-08 13:59:04 +00:00
adisbladis 87592031a3 Merge pull request #77029 from r-ryantm/auto-update/entr
entr: 4.3 -> 4.4
2020-01-06 11:27:21 +00:00
adisbladis 12ddd9b0eb poetry: Don't propagate anything via PYTHONPATH 2020-01-04 19:19:57 +00:00
adisbladis f0c39b4b63 poetry: Don't add dependencies to PYTHONPATH
They get picked up by child processes of poetry which for example
leads to the wrong version of pip being used by `poetry install`.
2020-01-04 17:46:09 +00:00
adisbladis bc22a9ac48 Merge branch 'staging' into staging-next 2020-01-03 17:38:52 +00:00
adisbladis 9e0847e566 Merge pull request #76892 from adisbladis/mesa-19_3_1
mesa: 19.2.7 -> 19.3.1
2020-01-03 17:37:22 +00:00
adisbladis a565d094c6 mesa: 19.2.7 -> 19.3.1 2020-01-03 16:58:40 +00:00
adisbladis e41e1822a0 firefox-devedition-bin: 72.0b4 -> 72.0b11 2020-01-03 13:16:37 +00:00
adisbladis c4f6aff9dd nixos/doc: Fix manual build after renaming compton to picom 2020-01-03 13:09:40 +00:00
adisbladis 3dd9020f3e Merge pull request #74831 from adisbladis/picom-7_5
compton/picom: 7.2 -> 7.5
2020-01-03 12:54:48 +00:00
adisbladis aec68f4e7e nixos/compton: Rename module to picom
With a backwards compatibility alias
2020-01-03 12:52:02 +00:00
adisbladis 74f5c7f3d1 compton/picom: 7.2 -> 7.5
Also change the derivation attribute and name to Picom, a maintained
fork of Compton.
2020-01-03 12:52:02 +00:00
adisbladis 1b33a0aedf Merge pull request #76646 from adisbladis/poetry
poetry2nix: init at 1.1.0
2020-01-02 22:14:42 +00:00
adisbladis 54928f92ac poetry: 0.12.17 -> 1.0.0 2020-01-02 21:59:56 +00:00
adisbladis ded1080db4 poetry2nix: init at 1.1.0 2020-01-02 21:59:56 +00:00
adisbladis d3d8b776f1 Merge pull request #75618 from jsamsa/emacsmacport-fix
emacsMacport: Rename emacsVersion attribute to version
2019-12-14 18:43:24 +00:00
adisbladis 7559235792 firefox-beta-bin: 72.0b1 -> 72.0b4 2019-12-09 11:33:42 +00:00
adisbladis e8777e45e4 firefox-devedition-bin: 72.0b1 -> 72.0b4 2019-12-09 11:33:38 +00:00
adisbladis c33bd196a1 Merge pull request #75097 from xrelkd/update/go-ethereum
go-ethereum: 1.9.8 -> 1.9.9
2019-12-06 14:44:24 +00:00
adisbladis e584e5ae2c Merge pull request #75093 from sikmir/podman-compose
podman-compose: init at 0.1.5
2019-12-06 13:01:48 +00:00
adisbladis 4de58b617b Merge pull request #74965 from matthuszagh/org-9.3
org-packages: 9.2.6 -> 9.3
2019-12-05 18:39:32 +00:00