gnu: containerd: Fix more paths.
* gnu/packages/docker.scm (containerd)[inputs]: Add util-linux. [arguments]<#:phases>[patch-paths]: Fix more paths.
This commit is contained in:
parent
58adcaa19f
commit
8b487bf84f
|
@ -194,6 +194,11 @@ (define-public containerd
|
|||
(string-append "DefaultCommand = \""
|
||||
(assoc-ref inputs "runc")
|
||||
"/sbin/runc\"\n")))
|
||||
(substitute* "vendor/github.com/containerd/continuity/testutil/loopback/loopback_linux.go"
|
||||
(("exec\\.Command\\(\"losetup\"") ; )
|
||||
(string-append "exec.Command(\""
|
||||
(assoc-ref inputs "util-linux")
|
||||
"/sbin/losetup\""))) ;)
|
||||
#t))
|
||||
(replace 'build
|
||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||
|
@ -206,7 +211,8 @@ (define-public containerd
|
|||
(inputs
|
||||
`(("btrfs-progs" ,btrfs-progs)
|
||||
("libseccomp" ,libseccomp)
|
||||
("runc" ,runc)))
|
||||
("runc" ,runc)
|
||||
("util-linux" ,util-linux)))
|
||||
(native-inputs
|
||||
`(("go" ,go)
|
||||
("pkg-config" ,pkg-config)))
|
||||
|
|
Loading…
Reference in a new issue