-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sby: 0.47 -> 0.48 #369528
sby: 0.47 -> 0.48 #369528
Conversation
Its tag naming was changed the same as Yosys, so r-ryantm couldn't update it either. This also gets sby working with Yosys 0.48; I didn't notice it being broken in NixOS#368946 because I only ran `nixpkgs-review` on macOS where sby doesn't build due to broken dependencies anyway. Sorry!
|
You can additionally put the test programs in the correct input: diff --git a/pkgs/by-name/sb/sby/package.nix b/pkgs/by-name/sb/sby/package.nix
index ca9687a2e70d..28ee23e1947f 100644
--- a/pkgs/by-name/sb/sby/package.nix
+++ b/pkgs/by-name/sb/sby/package.nix
@@ -19,18 +19,21 @@ in
stdenv.mkDerivation rec {
pname = "sby";
- version = "0.47";
+ version = "0.48";
src = fetchFromGitHub {
owner = "YosysHQ";
repo = "sby";
- rev = "yosys-${version}";
- hash = "sha256-Il2pXw2doaoZrVme2p0dSUUa8dCQtJJrmYitn1MkTD4=";
+ rev = "v${version}";
+ hash = "sha256-icOlWutvajHMCi2YUIGU4v5S63YobXw4fYYUvPoSzo4=";
};
- nativeBuildInputs = [ bash ];
- buildInputs = [
+ nativeBuildInputs = [
+ bash
pythonEnv
+ ];
+
+ nativeCheckInputs = [
yosys
boolector
yices
@@ -40,7 +43,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
- patchShebangs docs/source/conf.py \
+ patchShebangs --build docs/source/conf.py \
docs/source/conf.diff \
tests/autotune/*.sh \
tests/keepgoing/*.sh \
The references patched in postPatch will still work. |
It would be nice to include the fixes mentioned by @FliegendeWurst but it's not absolutely mandatory. I can wait a bit until merging this to give you a chance to fix it. |
|
Seems like nixpkgs-review was working right this time lol |
Its tag naming was changed the same as Yosys, so r-ryantm couldn't update it either.
This also gets sby working with Yosys 0.48; I didn't notice it being broken in #368946 because I only ran
nixpkgs-review
on macOS where sby doesn't build due to broken dependencies anyway. Sorry!Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.