about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-06-13 10:15:48 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-06-13 10:15:48 +0200
commitd133a168f082d2f4c94984190e836e55f5e389a7 (patch)
tree02b1649c4b89607ffb42e4b903f9d35959146743
parente9c612cdfe9852a394fd3e68e6f88deacdd9903c (diff)
downloadnixlib-d133a168f082d2f4c94984190e836e55f5e389a7.tar
nixlib-d133a168f082d2f4c94984190e836e55f5e389a7.tar.gz
nixlib-d133a168f082d2f4c94984190e836e55f5e389a7.tar.bz2
nixlib-d133a168f082d2f4c94984190e836e55f5e389a7.tar.lz
nixlib-d133a168f082d2f4c94984190e836e55f5e389a7.tar.xz
nixlib-d133a168f082d2f4c94984190e836e55f5e389a7.tar.zst
nixlib-d133a168f082d2f4c94984190e836e55f5e389a7.zip
rr: improve the parent commit
-rw-r--r--pkgs/development/tools/analysis/rr/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/rr/default.nix b/pkgs/development/tools/analysis/rr/default.nix
index 26d98ed866b2..84ab79879b41 100644
--- a/pkgs/development/tools/analysis/rr/default.nix
+++ b/pkgs/development/tools/analysis/rr/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   postPatch = ''
     substituteInPlace src/Command.cc --replace '_BSD_SOURCE' '_DEFAULT_SOURCE'
-    sed '7i#include "math.h"' -i src/Scheduler.cc
+    sed '7i#include <math.h>' -i src/Scheduler.cc
     patchShebangs .
   '';