-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bcdca9278724
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d18e53761338
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 18 files changed
- 2 contributors
Commits on Jan 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ca27105 - Browse repository at this point
Copy the full SHA ca27105View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffd4e1 - Browse repository at this point
Copy the full SHA 5ffd4e1View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 51d1125 - Browse repository at this point
Copy the full SHA 51d1125View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 2660037 - Browse repository at this point
Copy the full SHA 2660037View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ec1830e - Browse repository at this point
Copy the full SHA ec1830eView commit details -
yosys: cherry-pick some minor fixes (cf d81e4d9)
d81e4d9 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>
Configuration menu - View commit details
-
Copy full SHA for 365ef90 - Browse repository at this point
Copy the full SHA 365ef90View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9a951db - Browse repository at this point
Copy the full SHA 9a951dbView commit details
Commits on Jan 16, 2021
-
Merge pull request #109461 from thoughtpolice/nixpkgs/yosys-plugins
yosys: add support for loading plugins, revert symbiflow changes
Configuration menu - View commit details
-
Copy full SHA for d18e537 - Browse repository at this point
Copy the full SHA d18e537View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.