Commit Graph
263684 Commits
Author SHA1 Message Date
Austin Seipp 9a951db846 yosys: some more small fixes from review feedback
Fixes up the usage of patches/postInstall. Also removes `stdenv.lib` and
other minor tweaks.

Based on feedback from Sandro and Mihai.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:51 -06:00
Austin Seipp 365ef90263 yosys: cherry-pick some minor fixes (cf d81e4d9f6)
d81e4d9f66 contained some minor fixes to the yosys derivation
that make it a little easier to read and maintain. Incorporate those.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00
Austin Seipp ec1830e696 init: experimental yosys-{bluespec, ghdl} plugins
These plugins can be included in a closure, along with the `yosys`
derivation, and they will be automatically picked up for use. For
example, this allows you to include 'yosys-bluespec' in your
`buildInputs`, and then immediately run:

    $ nix-shell -p yosys yosys-bluespec yosys-ghdl
    $ yosys -m bluespec -p 'help read_bluespec'
    $ yosys -m ghdl -p 'help ghdl'

These two plugins are a bit experimental, admittedly, but they are good,
clean examples of how to write and use the yosys plugin infrastructure,
and make it easy to test updates, etc.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00
Austin Seipp 2660037f8c yosys: enable loading "out of band" plugins
By default, when yosys looks for plugins with the `-m` flag or `plugin`
command, it always looks in `YOSYS_PREFIX/share/yosys/plugins` for a
`.so` file, and loads that.

By design, this is intended to be a single, global, mutable location
such as `/usr/share/yosys/...` on disk, and plugins are supposed to
install their `.so` files here after yosys is installed, and they all
coexist together. Obviously, this won't work for us, but users might
expect these plugins to still work. More importantly, they won't want to
add special cases to their build systems.

Instead, to allow Nix users to use yosys plugins with the same UX (e.g.
natively call `plugin bluespec` or `-m ghdl`), we add a patch to yosys
that allows it to search a new `NIX_YOSYS_PLUGIN_DIRS` search path
environment variable. In tandem, we add a setup hook that adds to this
search path if a package has a `$out/share/yosys/plugins` directory.

Thus, it's enough to just include `yosys`, and any package that has a
yosys plugin in `$out/share/yosys/plugins`, and you can load it with
`-m` or the `plugin` command.

We could use a style like the haskellPackages set, where the set of
packages are "encased" in a lambda, and we pass packages that are
compatible with that version of the compiler:

    haskell.packages.ghc8102.ghcWithPackages (p: with p; [ ... ])

but, realistically, there will probably only ever be one version of
yosys and one set of compatible plugins, so this seems overdone.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 10:13:56 -06:00
Austin Seipp 51d1125f24 ghdl: 0.37 -> unstable-2021.01.14
This unreleased version of GHDL fixes a bunch of bugs. It also contains
a few internal API changes for synthesis support -- required by the GHDL
yosys plugin.

Ideally, we can just remove this when 0.38 comes out.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 10:13:46 -06:00
Câju Mihai-Drosi 5ffd4e1c2c maintainers: add mcaju 2021-01-15 10:13:45 -06:00
Austin Seipp ca27105b04 Revert "Merge pull request #105709 from CajuM/symbiflow"
This reverts commit 02828f91f1, reversing
changes made to f0a7fce6ee.
2021-01-15 10:13:27 -06:00
Sandro f6a9596c4a Merge pull request #109450 from msteen/patch-2
nix-prefetch: 0.3.1 -> 0.4.0
2021-01-15 16:55:33 +01:00
Sandro 9faf1581d8 Merge pull request #109339 from OmnipotentEntity/katago-1.8.0
katago 1.6.1 -> 1.8.0
2021-01-15 16:51:44 +01:00
Tim Steinbach 10e0e8251c scala_2_12: 2.12.12 → 2.12.13 2021-01-15 10:39:11 -05:00
Tim Steinbach 518a0c1901 minecraft-server: 1.16.4 → 1.16.5 2021-01-15 10:39:11 -05:00
Tim Steinbach 4a521fb5e9 jenkins: 2.263.1 → 2.263.2 2021-01-15 10:39:10 -05:00
Tim Steinbach 3d39348aac oh-my-zsh: 2021-01-07 → 2021-01-14 2021-01-15 10:39:10 -05:00
Tim Steinbach 7bead9b8fa awscli: 1.18.211 -> 1.18.215 2021-01-15 10:39:10 -05:00
Tim Steinbach 13a904eda3 python3Packages.boto3: 1.16.51 -> 1.16.55 2021-01-15 10:39:10 -05:00
Tim Steinbach b5ea656f1b python3Packages.botocore: 1.19.51 -> 1.19.55 2021-01-15 10:39:06 -05:00
msteen a4e13d2a1a nix-prefetch: 0.3.1 -> 0.4.0 2021-01-15 16:21:08 +01:00
Sandro 78970e62f6 Merge pull request #109378 from arcz/uthenticode
uthenticode: init at 1.0.4
2021-01-15 16:18:36 +01:00
Robert Hensing 95e1ba302d Merge pull request #109447 from mikroskeem/docker-20.10-fixes
Docker 20.10 fixes
2021-01-15 15:25:24 +01:00
Milan Pässler 4000091123 nixos/docker: change misleading error message
The socketActivation option was removed, but later on socket activation
was added back without the option to disable it. The description now reflects
that socket activation is used unconditionally in the current setup.
2021-01-15 15:00:11 +01:00
Elis Hirwing 17631db07c Merge pull request #109443 from jojosch/php8-protobuf
phpExtensions.protobuf: fix build with PHP 8
2021-01-15 14:57:34 +01:00
Mark Vainomaa f53cf9a65c Revert "nixos/tests/docker: wait for docker service"
This reverts commit c14bafd6c7db3b0c03574e28831821adda22a6f1.
2021-01-15 15:53:43 +02:00
Mark Vainomaa a81c27cd54 docker: fix systemd socket activation 2021-01-15 15:53:31 +02:00
Robert Hensing 9797139cbb dockerTools: typo
Italian.
2021-01-15 14:23:51 +01:00
Michael Weiss 56c843946f gammastep: 2.0.6 -> 2.0.7 2021-01-15 14:17:42 +01:00
Johannes Schleifenbaum 48038eb328 phpExtensions.protobuf: fix build with PHP 8 2021-01-15 14:14:52 +01:00
adisbladis 5f69227d55 emacs.pkgs.melpa-packages: 2021-01-15 2021-01-15 13:07:59 +01:00
adisbladis abc6fca7ca emacs.pkgs.elpa-packages: 2021-01-15 2021-01-15 13:07:21 +01:00
clerie 10eed48d10 nixos/gitea: make more secrets persistent (#108676)
Added JWT_SECRET and INTERNAL_TOKEN to be persistent, like SECRET_KEY and LFS_JWT_SECRET do. Also renamed some vars belonging to SECRET_KEY and LFS_JWT_SECRET to get a consistent naming scheme over all secrets.
2021-01-15 12:54:14 +01:00
Jörg Thalheim f3042e3078 Merge pull request #108862 from cpcloud/refactor-nvidia-containers 2021-01-15 11:10:09 +00:00
Jörg Thalheim 147270c1c9 Merge pull request #109434 from siraben/pkgs-tools-stdenv
pkgs/tools: stdenv.lib -> lib
2021-01-15 10:48:18 +00:00
Sandro dc7dd23241 Merge pull request #108792 from wamserma/bump-pygithub
pythonPackages.PyGithub: 1.51 -> 1.54.1
2021-01-15 11:14:23 +01:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Sandro 65aca46e9e Merge pull request #109330 from CohenCyril/mathcomp-abel
coqPackages.mathcomp-abel: init at 1.0.0
2021-01-15 10:53:53 +01:00
Sandro ebd22859f2 Merge pull request #108969 from lourkeur/update/xpra 2021-01-15 10:52:16 +01:00
ppenguin d55425d2a0 vtk_7: add patches to fix build with gcc10/qt5.15
Closes #108424
2021-01-15 10:51:03 +01:00
ppenguin d959f1483e vtk_8: add patch to fix build with gcc10
Closes #108424
2021-01-15 10:51:03 +01:00
ppenguin 4f80e06846 freecad: add scipy and pyyaml to dependencies
Closes #108424
2021-01-15 10:51:03 +01:00
Michael Raskin 35da03c298 Merge pull request #93321 from chessai/puppeteer-init
puppeteer-cli: init
2021-01-15 09:36:52 +00:00
Sandro 6212342f2e Merge pull request #108663 from fabaff/geopy 2021-01-15 10:30:55 +01:00
Sandro 403ea9f27c Merge pull request #97101 from fricklerhandwerk/wxpython 2021-01-15 10:30:05 +01:00
zowoq cc2462d430 buildah: 1.19.0 -> 1.19.1
https://github.com/containers/buildah/releases/tag/v1.19.1
2021-01-15 19:24:33 +10:00
Jörg Thalheim 94f3683935 Merge pull request #109428 from andersk/openafs-1.8.7
openafs: 1.8.6 → 1.8.7 (emergency fix for unix timestamp 0x60000000)
2021-01-15 09:13:22 +00:00
markuskowa 60d0c801d2 Merge pull request #109356 from r-ryantm/auto-update/iosevka-bin
iosevka-bin: 4.3.0 -> 4.4.0
2021-01-15 09:54:42 +01:00
Martin Weinelt 511b87c7a9 Merge pull request #109427 from fabaff/bump-aresponses
python3Packages.aresponses: 2.0.0 -> 2.1.0
2021-01-15 09:46:09 +01:00
Sandro 2d0dc97981 Merge pull request #107810 from freezeboy/update-hydron
hydron: unstable-2019-02-17 -> 3.0.4
2021-01-15 09:45:29 +01:00
Jörg Thalheim 3c6230cdbf Merge pull request #109425 from siraben/stdenv-lib 2021-01-15 08:44:16 +00:00
Jörg Thalheim 9c4a18591f Merge pull request #109096 from ju1m/tor
nixos/tor: fix openFirewall when ORPort isInt
2021-01-15 08:37:22 +00:00
Maximilian Bosch 9e3a6eaec1 Merge pull request #109082 from delroth/sudo-1.9.5p1
sudo: 1.9.4p2 -> 1.9.5p1
2021-01-15 09:30:01 +01:00
Maximilian Bosch b0c732b698 Merge pull request #109403 from lsix/nano-5.5
nano: 5.4 -> 5.5
2021-01-15 09:21:21 +01:00