Merge pull request #125133 from sophrosyne97/fix_vhd2vl
vhd2vl: fix build error
This commit is contained in:
commit
5ec2eafb18
|
@ -4,6 +4,7 @@
|
||||||
, bison
|
, bison
|
||||||
, flex
|
, flex
|
||||||
, verilog
|
, verilog
|
||||||
|
, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -29,6 +30,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
bison
|
bison
|
||||||
flex
|
flex
|
||||||
|
which
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -36,8 +38,9 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
runHook preInstall
|
||||||
cp src/vhd2vl $out/bin/
|
install -D -m755 src/vhd2vl $out/bin/vdh2vl
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue