Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

incrtcl: Simplify package with tcl.mkTclDerivation

+1 -7
+1 -7
pkgs/development/libraries/incrtcl/default.nix
··· 1 1 { lib, stdenv, fetchurl, writeText, tcl }: 2 2 3 - stdenv.mkDerivation rec { 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 - buildInputs = [ tcl ]; 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 - ''; 19 - 20 - preConfigure = '' 21 - configureFlags="--exec_prefix=$prefix $configureFlags" 22 16 ''; 23 17 24 18 postInstall = ''