tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
incrtcl: Simplify package with tcl.mkTclDerivation
Andrew Brooks
4 years ago
c247eb0b
9571f536
+1
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
incrtcl
default.nix
+1
-7
pkgs/development/libraries/incrtcl/default.nix
···
1
{ lib, stdenv, fetchurl, writeText, tcl }:
2
3
-
stdenv.mkDerivation rec {
4
pname = "incrtcl";
5
version = "4.2.0";
6
···
9
sha256 = "0w28v0zaraxcq1s9pa6cihqqwqvvwfgz275lks7w4gl7hxjxmasw";
10
};
11
12
-
buildInputs = [ tcl ];
13
-
configureFlags = [ "--with-tcl=${tcl}/lib" ];
14
enableParallelBuilding = true;
15
16
patchPhase = ''
17
substituteInPlace configure --replace "\''${TCL_SRC_DIR}/generic" "${tcl}/include"
18
-
'';
19
-
20
-
preConfigure = ''
21
-
configureFlags="--exec_prefix=$prefix $configureFlags"
22
'';
23
24
postInstall = ''
···
1
{ lib, stdenv, fetchurl, writeText, tcl }:
2
3
+
tcl.mkTclDerivation rec {
4
pname = "incrtcl";
5
version = "4.2.0";
6
···
9
sha256 = "0w28v0zaraxcq1s9pa6cihqqwqvvwfgz275lks7w4gl7hxjxmasw";
10
};
11
0
0
12
enableParallelBuilding = true;
13
14
patchPhase = ''
15
substituteInPlace configure --replace "\''${TCL_SRC_DIR}/generic" "${tcl}/include"
0
0
0
0
16
'';
17
18
postInstall = ''