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
1
{ lib, stdenv, fetchurl, writeText, tcl }:
2
2
3
3
-
stdenv.mkDerivation rec {
3
3
+
tcl.mkTclDerivation rec {
4
4
pname = "incrtcl";
5
5
version = "4.2.0";
6
6
···
9
9
sha256 = "0w28v0zaraxcq1s9pa6cihqqwqvvwfgz275lks7w4gl7hxjxmasw";
10
10
};
11
11
12
12
-
buildInputs = [ tcl ];
13
13
-
configureFlags = [ "--with-tcl=${tcl}/lib" ];
14
12
enableParallelBuilding = true;
15
13
16
14
patchPhase = ''
17
15
substituteInPlace configure --replace "\''${TCL_SRC_DIR}/generic" "${tcl}/include"
18
18
-
'';
19
19
-
20
20
-
preConfigure = ''
21
21
-
configureFlags="--exec_prefix=$prefix $configureFlags"
22
16
'';
23
17
24
18
postInstall = ''