Skip to content

Commit

Permalink
Change customYosys to yosys
Browse files Browse the repository at this point in the history
  • Loading branch information
RCoeurjoly committed May 21, 2024
1 parent 9884bb5 commit 13a6920
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand All @@ -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 ];
};
Expand Down

0 comments on commit 13a6920

Please sign in to comment.