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 @@ Python without keeping their credentials in a Docker configuration file.")
|
||||||
(string-append "DefaultCommand = \""
|
(string-append "DefaultCommand = \""
|
||||||
(assoc-ref inputs "runc")
|
(assoc-ref inputs "runc")
|
||||||
"/sbin/runc\"\n")))
|
"/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))
|
#t))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
|
@ -206,7 +211,8 @@ Python without keeping their credentials in a Docker configuration file.")
|
||||||
(inputs
|
(inputs
|
||||||
`(("btrfs-progs" ,btrfs-progs)
|
`(("btrfs-progs" ,btrfs-progs)
|
||||||
("libseccomp" ,libseccomp)
|
("libseccomp" ,libseccomp)
|
||||||
("runc" ,runc)))
|
("runc" ,runc)
|
||||||
|
("util-linux" ,util-linux)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("go" ,go)
|
`(("go" ,go)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
|
|
Loading…
Reference in New Issue