Merge pull request #125133 from sophrosyne97/fix_vhd2vl

vhd2vl: fix build error
This commit is contained in:
Jörg Thalheim 2021-08-08 11:12:45 +01:00 committed by GitHub
commit 5ec2eafb18
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; {