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 { 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 12 enableParallelBuilding = true; 13 14 patchPhase = '' 15 substituteInPlace configure --replace "\''${TCL_SRC_DIR}/generic" "${tcl}/include" 16 ''; 17 18 postInstall = ''