diff options
author | Robin Gloster <mail@glob.in> | 2016-08-03 20:04:28 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-08-03 20:04:28 +0000 |
commit | 7423e029a22b0f451665caf4c2ac82a773736c43 (patch) | |
tree | e2a5831f6a8e1f07f6019e8425f11cf0c1d66079 | |
parent | 847f9994e46f2fc959f5db01ec3d4b3f448b5b00 (diff) | |
download | nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.tar nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.tar.gz nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.tar.bz2 nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.tar.lz nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.tar.xz nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.tar.zst nixlib-7423e029a22b0f451665caf4c2ac82a773736c43.zip |
convertlit: disable format hardening
-rw-r--r-- | pkgs/tools/text/convertlit/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/text/convertlit/default.nix b/pkgs/tools/text/convertlit/default.nix index 331fc3fea359..ffc2dc1c4d5c 100644 --- a/pkgs/tools/text/convertlit/default.nix +++ b/pkgs/tools/text/convertlit/default.nix @@ -1,22 +1,24 @@ -{stdenv, fetchurl, unzip, libtommath}: +{stdenv, fetchzip, libtommath}: stdenv.mkDerivation { name = "convertlit-1.8"; - - src = fetchurl { + + src = fetchzip { url = http://www.convertlit.com/convertlit18src.zip; - sha256 = "1fjpwncyc2r3ipav7c9m7jxy6i7mphbyqj3gsm046425p7sqa2np"; + sha256 = "182nsin7qscgbw2h92m0zadh3h8q410h5cza6v486yjfvla3dxjx"; + stripRoot = false; }; - buildInputs = [unzip libtommath]; + buildInputs = [libtommath]; - sourceRoot = "."; + hardeningDisable = [ "format" ]; buildPhase = '' cd lib make cd ../clit18 - substituteInPlace Makefile --replace ../libtommath-0.30/libtommath.a -ltommath + substituteInPlace Makefile \ + --replace ../libtommath-0.30/libtommath.a -ltommath make ''; |