3
0
Fork 0
forked from mirrors/nixpkgs

verilator: fix Perl shebangs

This commit is contained in:
edef 2017-03-08 11:33:01 +01:00
parent 2c99575c66
commit 2c02c84cdc

View file

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