|Paste number 324254:||Firejail.scm|
|When:||3 years, 9 months ago|
|Share:||Tweet this! | http://paste.lisp.org/+6Y72|
;; There are several problems with this package. ;; While it does indeed build, the binary does not work. Firejail looks for /bin/cp ;; so the way I got around this was by symlinking /gnu/store/../cp to /bin/cp ;; Second problem I had is that I had to make a /var/run/utmp file. ;; The third and the most hard problem was that it would just exit, and I was not able to do a --output=log.txt due to execvp saying it cant find the directory. ;; I hope someone who is better than packaging than I can fix this! (use-modules (guix) (guix build-system gnu) (gnu packages base) (guix licenses)) (package (name "firejail") (version "0.9.42-rc1") (source (origin (method url-fetch) (uri (string-append "https://sourceforge.net/projects/firejail/files/firejail/firejail-" version "tar.bz2/download")) (sha256 (base32 "11br6xp86bxs1ic2x683hbvg1hk8v2wp8cw6blj0zz3cdl0pcjqf")))) (build-system gnu-build-system) (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (add-before 'build 'setup-environment (lambda* (#:key outputs #:allow-other-keys) (setenv "CC" "gcc") (setenv "prefix" (assoc-ref outputs "out")) #t))) #:make-flags (list "--environment-overrides"))) (inputs `(("which" ,which))) (home-page "http://l3net.wordpress.com/projects/firejail/") (synopsis "Namespace-based sandboxing tool for Linux") (description #f) (license gpl2+))
This paste has no annotations.