Skip to content

Commit

Permalink
verilator: fix Perl shebangs
Browse files Browse the repository at this point in the history
(cherry picked from commit 2c02c84)
  • Loading branch information
edef1c authored and Mic92 committed Mar 9, 2017
1 parent 7f172a4 commit f84dcaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/science/electronics/verilator/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit f84dcaa

Please sign in to comment.