summary refs log tree commit diff
path: root/pkgs/development/libraries/graphene-hardened-malloc/default.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2019-07-18 14:15:33 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2019-07-19 08:16:09 +0200
commit948d2e317b54c339ae44ca7ec38639000fed5c91 (patch)
tree8e79a2140ca02f6036b89c8dbaf49bb47f3d3e3f /pkgs/development/libraries/graphene-hardened-malloc/default.nix
parent362be9608c3e0dc5216e9d1d5f5c1a5643b7f7b1 (diff)
downloadnixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.tar
nixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.tar.gz
nixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.tar.bz2
nixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.tar.lz
nixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.tar.xz
nixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.tar.zst
nixpkgs-948d2e317b54c339ae44ca7ec38639000fed5c91.zip
graphene-hardened-malloc: 190405.003.2019.04.01.19 -> 1
The initial stable standalone release.

The integer numbered tags are the standalone releases, while the
PQ3B.190705.003.2019.07.01.21 style tags are part of GrapheneOS releases.

For us it probably makes the most sense to track the standalone releases.
Diffstat (limited to 'pkgs/development/libraries/graphene-hardened-malloc/default.nix')
-rw-r--r--pkgs/development/libraries/graphene-hardened-malloc/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/graphene-hardened-malloc/default.nix b/pkgs/development/libraries/graphene-hardened-malloc/default.nix
index 0aae8ca4945..1072c8f2cbf 100644
--- a/pkgs/development/libraries/graphene-hardened-malloc/default.nix
+++ b/pkgs/development/libraries/graphene-hardened-malloc/default.nix
@@ -2,11 +2,11 @@
 
 stdenv.mkDerivation rec {
   name = "graphene-hardened-malloc-${version}";
-  version = "190405.003.2019.04.01.19";
+  version = "1";
 
   src = fetchurl {
-    url = "https://github.com/GrapheneOS/hardened_malloc/archive/PQ2A.${version}.tar.gz";
-    sha256 = "1qczmajy3q07jd236dmal4iq5xxcsrkyw26gc9r4vs4wj4m42d11";
+    url = "https://github.com/GrapheneOS/hardened_malloc/archive/${version}.tar.gz";
+    sha256 = "1z3kb9fr6w9fcdc42bh8k5b4r10sn5hrwwk4m691qjdgk5hlj3aa";
   };
 
   installPhase = ''
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
     chmod 0555 $out/bin/preload-hardened-malloc
   '';
 
+  separateDebugInfo = true;
+
   doInstallCheck = true;
   installCheckPhase = ''
     pushd test
@@ -27,7 +29,7 @@ stdenv.mkDerivation rec {
     make
 
     # these tests don't actually appear to generate overflows currently
-    rm read_after_free_small string_overflow
+    rm read_after_free_small string_overflow eight_byte_overflow_large
 
     for t in `find . -regex ".*/[a-z_]+"` ; do
       echo "Running $t..."