mirror of https://github.com/YosysHQ/yosys.git
Change customYosys to yosys
This commit is contained in:
parent
9884bb57a1
commit
13a6920491
|
@ -15,7 +15,7 @@
|
||||||
# TODO: don't override src when ./abc is empty
|
# TODO: don't override src when ./abc is empty
|
||||||
# which happens when the command used is `nix build` and not `nix build ?submodules=1`
|
# 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;});
|
abc-verifier = pkgs.abc-verifier.overrideAttrs(x: y: {src = ./abc;});
|
||||||
customYosys = pkgs.clangStdenv.mkDerivation {
|
yosys = pkgs.clangStdenv.mkDerivation {
|
||||||
name = "yosys";
|
name = "yosys";
|
||||||
src = ./. ;
|
src = ./. ;
|
||||||
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git pkg-configUpstream ];
|
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git pkg-configUpstream ];
|
||||||
|
@ -38,8 +38,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
packages.default = customYosys;
|
packages.default = yosys;
|
||||||
defaultPackage = customYosys;
|
defaultPackage = yosys;
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git gtest abc-verifier ];
|
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git gtest abc-verifier ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue