Change customYosys to yosys

This commit is contained in:
Roland Coeurjoly 2024-05-21 12:50:23 +02:00
parent 9884bb57a1
commit 13a6920491
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
# TODO: don't override src when ./abc is empty
# which happens when the command used is `nix build` and not `nix build ?submodules=1`
abc-verifier = pkgs.abc-verifier.overrideAttrs(x: y: {src = ./abc;});
customYosys = pkgs.clangStdenv.mkDerivation {
yosys = pkgs.clangStdenv.mkDerivation {
name = "yosys";
src = ./. ;
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git pkg-configUpstream ];
@ -38,8 +38,8 @@
};
};
in {
packages.default = customYosys;
defaultPackage = customYosys;
packages.default = yosys;
defaultPackage = yosys;
devShell = pkgs.mkShell {
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git gtest abc-verifier ];
};