mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
spin: add gcc to path
This commit is contained in:
parent
39ed265c80
commit
2a288ad435
@ -1,6 +1,9 @@
|
||||
{stdenv, fetchurl, yacc }:
|
||||
{ stdenv, fetchurl, makeWrapper, yacc, gcc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
binPath = stdenv.lib.makeBinPath [ gcc ];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "spin-${version}";
|
||||
version = "6.4.5";
|
||||
url-version = stdenv.lib.replaceChars ["."] [""] version;
|
||||
@ -13,11 +16,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0x8qnwm2xa8f176c52mzpvnfzglxs6xgig7bcgvrvkb3xf114224";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ yacc ];
|
||||
|
||||
sourceRoot = "Spin/Src${version}";
|
||||
|
||||
installPhase = "install -D spin $out/bin/spin";
|
||||
installPhase = ''
|
||||
install -D spin $out/bin/spin
|
||||
wrapProgram $out/bin/spin \
|
||||
--prefix PATH : ${binPath}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Formal verification tool for distributed software systems";
|
||||
|
Loading…
Reference in New Issue
Block a user