The attached patch removes an extra slash during the eigen postInstall
sed expression that was causing the movit build to not find an eigen
include and fail.

>From 9ff0b500b9d614b5beb7ee883440c2d5e265de19 Mon Sep 17 00:00:00 2001
From: Karn Kallio <[email protected]>
Date: Sun, 12 Mar 2017 13:09:00 -0400
Subject: [PATCH] eigen : Fix an extra slash.

---
 pkgs/development/libraries/eigen/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/development/libraries/eigen/default.nix b/pkgs/development/libraries/eigen/default.nix
index c38759e0c7..374f52c9cb 100644
--- a/pkgs/development/libraries/eigen/default.nix
+++ b/pkgs/development/libraries/eigen/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ cmake ];
 
   postInstall = ''
-    sed -e '/Cflags:/s@''${prefix}@@' -i "$out"/share/pkgconfig/eigen3.pc
+    sed -e '/Cflags:/s@''${prefix}/@@' -i "$out"/share/pkgconfig/eigen3.pc
   '';
   
   meta = with stdenv.lib; {
-- 
2.11.1

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to