tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
spin: add gcc to path
Nikolay Amiantov
10 years ago
2a288ad4
39ed265c
+11
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
analysis
spin
default.nix
+11
-3
pkgs/development/tools/analysis/spin/default.nix
···
1
1
-
{stdenv, fetchurl, yacc }:
1
1
+
{ stdenv, fetchurl, makeWrapper, yacc, gcc }:
2
2
+
3
3
+
let
4
4
+
binPath = stdenv.lib.makeBinPath [ gcc ];
2
5
3
3
-
stdenv.mkDerivation rec {
6
6
+
in stdenv.mkDerivation rec {
4
7
name = "spin-${version}";
5
8
version = "6.4.5";
6
9
url-version = stdenv.lib.replaceChars ["."] [""] version;
···
13
16
sha256 = "0x8qnwm2xa8f176c52mzpvnfzglxs6xgig7bcgvrvkb3xf114224";
14
17
};
15
18
19
19
+
nativeBuildInputs = [ makeWrapper ];
16
20
buildInputs = [ yacc ];
17
21
18
22
sourceRoot = "Spin/Src${version}";
19
23
20
20
-
installPhase = "install -D spin $out/bin/spin";
24
24
+
installPhase = ''
25
25
+
install -D spin $out/bin/spin
26
26
+
wrapProgram $out/bin/spin \
27
27
+
--prefix PATH : ${binPath}
28
28
+
'';
21
29
22
30
meta = with stdenv.lib; {
23
31
description = "Formal verification tool for distributed software systems";