commit 0480b747353ecde4c5c462d5bbea06d31e3c6cb3
parent 8cc21fadb7756118091091abfec347af8646b139
Author: Nils Gillmann <gillmann@infotropique.org>
Date: Sat, 16 Jun 2018 13:01:59 +0000
+
Signed-off-by: Nils Gillmann <gillmann@infotropique.org>
Diffstat:
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -3,5 +3,8 @@ default: guix-environment
guix-environment:
guix environment -l guix-env.scm --pure
+run:
+ ./arrr python2 examples/extract.py README
+
clean:
rm -rf */*.pyc */*~ *~
diff --git a/arrr b/arrr
@@ -0,0 +1,5 @@
+#!/bin/sh
+export PYTHONPATH="${PYTHONPATH}:$(pwd)"
+export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:$HOME/.guix-profile/lib"
+#export DYLD_LIBRARY_PATH="$HOME/.guix-profile/lib"
+$@
diff --git a/guix-env.scm b/guix-env.scm
@@ -30,6 +30,7 @@
(gnu packages base)
(gnu packages version-control)
(gnu packages ssh)
+ (gnu packages linux)
((guix licenses) #:prefix license:))
(define %source-dir (current-source-directory))
@@ -72,5 +73,6 @@
(propagated-inputs
`(("python" ,python-2)
("openssh" ,openssh)
+ ("strace" ,strace)
("git" ,git)
,@(package-propagated-inputs python2-libextractor))))