Merge pull request #133111 from NixOS/backport-125133-to-release-21.05

[Backport release-21.05] vhd2vl: fix build error
This commit is contained in:
Robert Scott 2021-08-08 13:55:51 +01:00 committed by GitHub
commit 348bc5de8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; {