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:
commit
348bc5de8b
@ -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…
x
Reference in New Issue
Block a user