3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #23631 from edef1c/verilator-shebang

verilator: fix Perl shebangs
This commit is contained in:
Jörg Thalheim 2017-03-09 15:05:40 +01:00 committed by GitHub
commit 4d13b5d201

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