forked from mirrors/nixpkgs
Merge pull request #23631 from edef1c/verilator-shebang
verilator: fix Perl shebangs
This commit is contained in:
commit
4d13b5d201
|
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
buildInputs = [ perl flex_2_6_1 bison ];
|
||||
|
||||
postInstall = ''
|
||||
sed -i -e '3a\#!/usr/bin/env perl' -e '1,3d' $out/bin/{verilator,verilator_coverage,verilator_profcfunc}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fast and robust (System)Verilog simulator/compiler";
|
||||
homepage = "http://www.veripool.org/wiki/verilator";
|
||||
|
|
Loading…
Reference in a new issue