these 6 derivations will be built: /nix/store/22rg11aj630qzcm3ihl0dha3a602qlhh-ghq-sync.drv /nix/store/d39w0zk66jfyspj3l5snn1579154wncy-apm-context-compile.drv /nix/store/ii1i89iwlhagvyanj2d0msq1hykrld3d-skopeo-1.24.1.drv /nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv /nix/store/xh3h4xs39j4583anawkgi9lij3qimc15-ghq-shared-0.1.0.drv /nix/store/6b9grl9x4y1ryx1fd7w1x0kshl46barh-nix-shell.drv this path will be fetched (0.2 KiB download, 0.5 KiB unpacked): /nix/store/a88fmsifw0kaw2grlc13ks991r7g8g0k-shellcheck-0.11.0 building '/nix/store/d39w0zk66jfyspj3l5snn1579154wncy-apm-context-compile.drv' on 'grpc://[fddb:4344:343b:14b9:399:9324:19d9:3451]:50051?ca-cert=/run/nix-grpc-store/ca.crt&connect-timeout=5' building '/nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv' on 'grpc://[fddb:4344:343b:14b9:399:9324:19d9:3451]:50051?ca-cert=/run/nix-grpc-store/ca.crt&connect-timeout=5' building '/nix/store/ii1i89iwlhagvyanj2d0msq1hykrld3d-skopeo-1.24.1.drv' on 'grpc://[fddb:4344:343b:14b9:399:9324:19d9:3451]:50051?ca-cert=/run/nix-grpc-store/ca.crt&connect-timeout=5' building '/nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv' on [fddb:4344:343b:14b9:399:9324:19d9:3451]:50051 nix-fast-build-2.0.4> stibnite: building whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv building '/nix/store/22rg11aj630qzcm3ihl0dha3a602qlhh-ghq-sync.drv' on 'grpc://[fddb:4344:343b:14b9:399:9324:19d9:3451]:50051?ca-cert=/run/nix-grpc-store/ca.crt&connect-timeout=5' building '/nix/store/ii1i89iwlhagvyanj2d0msq1hykrld3d-skopeo-1.24.1.drv' on [fddb:4344:343b:14b9:399:9324:19d9:3451]:50051 skopeo-1.24.1> stibnite: building ii1i89iwlhagvyanj2d0msq1hykrld3d-skopeo-1.24.1.drv building '/nix/store/d39w0zk66jfyspj3l5snn1579154wncy-apm-context-compile.drv' on [fddb:4344:343b:14b9:399:9324:19d9:3451]:50051 apm-context-compile> stibnite: building d39w0zk66jfyspj3l5snn1579154wncy-apm-context-compile.drv apm-context-compile> structuredAttrs is enabled building '/nix/store/22rg11aj630qzcm3ihl0dha3a602qlhh-ghq-sync.drv' on [fddb:4344:343b:14b9:399:9324:19d9:3451]:50051 ghq-sync> stibnite: building 22rg11aj630qzcm3ihl0dha3a602qlhh-ghq-sync.drv nix-fast-build-2.0.4> structuredAttrs is enabled nix-fast-build-2.0.4> Sourcing python-remove-tests-dir-hook nix-fast-build-2.0.4> Sourcing python-catch-conflicts-hook.sh nix-fast-build-2.0.4> Sourcing python-remove-bin-bytecode-hook.sh nix-fast-build-2.0.4> Sourcing pypa-build-hook nix-fast-build-2.0.4> Using pypaBuildPhase nix-fast-build-2.0.4> Sourcing python-runtime-deps-check-hook nix-fast-build-2.0.4> Using pythonRuntimeDepsCheckHook nix-fast-build-2.0.4> Sourcing pypa-install-hook nix-fast-build-2.0.4> Using pypaInstallPhase nix-fast-build-2.0.4> Sourcing python-imports-check-hook.sh nix-fast-build-2.0.4> Using pythonImportsCheckPhase nix-fast-build-2.0.4> Sourcing python-namespaces-hook nix-fast-build-2.0.4> Sourcing python-catch-conflicts-hook.sh nix-fast-build-2.0.4> Running phase: unpackPhase nix-fast-build-2.0.4> unpacking source archive /nix/store/xqf7idn68k5xkibs8hc0rrbh1rs6yw9l-source nix-fast-build-2.0.4> source root is source nix-fast-build-2.0.4> setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/treefmt.nix" nix-fast-build-2.0.4> Running phase: patchPhase nix-fast-build-2.0.4> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-fast-build-2.0.4> Running phase: configurePhase nix-fast-build-2.0.4> no configure script, doing nothing nix-fast-build-2.0.4> Running phase: buildPhase nix-fast-build-2.0.4> Executing pypaBuildPhase nix-fast-build-2.0.4> Creating a wheel... nix-fast-build-2.0.4> pypa build flags: --no-isolation --outdir dist/ --wheel skopeo-1.24.1> Running phase: unpackPhase skopeo-1.24.1> unpacking source archive /nix/store/94b2i5k17351kyhbcw1l636hbsrm66wy-source nix-fast-build-2.0.4> * Getting build dependencies for wheel... ghq-sync> structuredAttrs is enabled nix-fast-build-2.0.4> running egg_info nix-fast-build-2.0.4> creating nix_fast_build.egg-info nix-fast-build-2.0.4> writing nix_fast_build.egg-info/PKG-INFO nix-fast-build-2.0.4> writing dependency_links to nix_fast_build.egg-info/dependency_links.txt nix-fast-build-2.0.4> writing entry points to nix_fast_build.egg-info/entry_points.txt nix-fast-build-2.0.4> writing top-level names to nix_fast_build.egg-info/top_level.txt nix-fast-build-2.0.4> writing manifest file 'nix_fast_build.egg-info/SOURCES.txt' nix-fast-build-2.0.4> reading manifest file 'nix_fast_build.egg-info/SOURCES.txt' nix-fast-build-2.0.4> adding license file 'LICENSE.md' nix-fast-build-2.0.4> writing manifest file 'nix_fast_build.egg-info/SOURCES.txt' nix-fast-build-2.0.4> * Building wheel... nix-fast-build-2.0.4> running bdist_wheel nix-fast-build-2.0.4> running build nix-fast-build-2.0.4> running build_py nix-fast-build-2.0.4> creating build/lib/tests nix-fast-build-2.0.4> copying tests/test_retry.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/conftest.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/command.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/ports.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/__init__.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_term.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/sshd.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_github_integration.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_upload.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_ci_renderer.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/root.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_log_format.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_cli.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_built_drvs.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_workers.py -> build/lib/tests nix-fast-build-2.0.4> copying tests/test_tty_renderer.py -> build/lib/tests nix-fast-build-2.0.4> creating build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/build.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/options.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/log_format.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/tty_renderer.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/upload.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/results.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/renderer.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/term.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/__init__.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/ci_renderer.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/processes.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/sources.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/errors.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/workers.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> copying nix_fast_build/report.py -> build/lib/nix_fast_build nix-fast-build-2.0.4> running egg_info nix-fast-build-2.0.4> writing nix_fast_build.egg-info/PKG-INFO nix-fast-build-2.0.4> writing dependency_links to nix_fast_build.egg-info/dependency_links.txt nix-fast-build-2.0.4> writing entry points to nix_fast_build.egg-info/entry_points.txt nix-fast-build-2.0.4> writing top-level names to nix_fast_build.egg-info/top_level.txt nix-fast-build-2.0.4> reading manifest file 'nix_fast_build.egg-info/SOURCES.txt' nix-fast-build-2.0.4> adding license file 'LICENSE.md' nix-fast-build-2.0.4> writing manifest file 'nix_fast_build.egg-info/SOURCES.txt' nix-fast-build-2.0.4> installing to build/bdist.macosx-14.0-arm64/wheel nix-fast-build-2.0.4> running install nix-fast-build-2.0.4> running install_lib nix-fast-build-2.0.4> creating build/bdist.macosx-14.0-arm64/wheel nix-fast-build-2.0.4> creating build/bdist.macosx-14.0-arm64/wheel/tests nix-fast-build-2.0.4> copying build/lib/tests/test_retry.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/conftest.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/command.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/ports.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_term.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/sshd.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_github_integration.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_upload.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_ci_renderer.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/root.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_log_format.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_cli.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_built_drvs.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_workers.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> copying build/lib/tests/test_tty_renderer.py -> build/bdist.macosx-14.0-arm64/wheel/./tests nix-fast-build-2.0.4> creating build/bdist.macosx-14.0-arm64/wheel/nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/build.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/options.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/log_format.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/tty_renderer.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/upload.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/results.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/renderer.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/term.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/ci_renderer.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/processes.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/sources.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/errors.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/workers.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> copying build/lib/nix_fast_build/report.py -> build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build nix-fast-build-2.0.4> running install_egg_info nix-fast-build-2.0.4> Copying nix_fast_build.egg-info to build/bdist.macosx-14.0-arm64/wheel/./nix_fast_build-2.0.4-py3.14.egg-info nix-fast-build-2.0.4> running install_scripts nix-fast-build-2.0.4> creating build/bdist.macosx-14.0-arm64/wheel/nix_fast_build-2.0.4.dist-info/WHEEL nix-fast-build-2.0.4> creating '/nix/var/nix/builds/nix-49180-2099326111/source/dist/.tmp-9a02qibd/nix_fast_build-2.0.4-py3-none-any.whl' and adding 'build/bdist.macosx-14.0-arm64/wheel' to it nix-fast-build-2.0.4> adding 'nix_fast_build/__init__.py' nix-fast-build-2.0.4> adding 'nix_fast_build/build.py' nix-fast-build-2.0.4> adding 'nix_fast_build/ci_renderer.py' nix-fast-build-2.0.4> adding 'nix_fast_build/errors.py' nix-fast-build-2.0.4> adding 'nix_fast_build/log_format.py' nix-fast-build-2.0.4> adding 'nix_fast_build/options.py' nix-fast-build-2.0.4> adding 'nix_fast_build/processes.py' nix-fast-build-2.0.4> adding 'nix_fast_build/renderer.py' nix-fast-build-2.0.4> adding 'nix_fast_build/report.py' nix-fast-build-2.0.4> adding 'nix_fast_build/results.py' nix-fast-build-2.0.4> adding 'nix_fast_build/sources.py' nix-fast-build-2.0.4> adding 'nix_fast_build/term.py' nix-fast-build-2.0.4> adding 'nix_fast_build/tty_renderer.py' nix-fast-build-2.0.4> adding 'nix_fast_build/upload.py' nix-fast-build-2.0.4> adding 'nix_fast_build/workers.py' nix-fast-build-2.0.4> adding 'nix_fast_build-2.0.4.dist-info/licenses/LICENSE.md' nix-fast-build-2.0.4> adding 'tests/__init__.py' nix-fast-build-2.0.4> adding 'tests/command.py' nix-fast-build-2.0.4> adding 'tests/conftest.py' nix-fast-build-2.0.4> adding 'tests/ports.py' nix-fast-build-2.0.4> adding 'tests/root.py' nix-fast-build-2.0.4> adding 'tests/sshd.py' nix-fast-build-2.0.4> adding 'tests/test_built_drvs.py' nix-fast-build-2.0.4> adding 'tests/test_ci_renderer.py' nix-fast-build-2.0.4> adding 'tests/test_cli.py' nix-fast-build-2.0.4> adding 'tests/test_github_integration.py' nix-fast-build-2.0.4> adding 'tests/test_log_format.py' nix-fast-build-2.0.4> adding 'tests/test_retry.py' nix-fast-build-2.0.4> adding 'tests/test_term.py' nix-fast-build-2.0.4> adding 'tests/test_tty_renderer.py' nix-fast-build-2.0.4> adding 'tests/test_upload.py' nix-fast-build-2.0.4> adding 'tests/test_workers.py' nix-fast-build-2.0.4> adding 'nix_fast_build-2.0.4.dist-info/METADATA' nix-fast-build-2.0.4> adding 'nix_fast_build-2.0.4.dist-info/WHEEL' nix-fast-build-2.0.4> adding 'nix_fast_build-2.0.4.dist-info/entry_points.txt' nix-fast-build-2.0.4> adding 'nix_fast_build-2.0.4.dist-info/top_level.txt' nix-fast-build-2.0.4> adding 'nix_fast_build-2.0.4.dist-info/RECORD' nix-fast-build-2.0.4> removing build/bdist.macosx-14.0-arm64/wheel nix-fast-build-2.0.4> Successfully built nix_fast_build-2.0.4-py3-none-any.whl nix-fast-build-2.0.4> Finished creating a wheel... nix-fast-build-2.0.4> Finished executing pypaBuildPhase nix-fast-build-2.0.4> Running phase: pythonRuntimeDepsCheckHook nix-fast-build-2.0.4> Executing pythonRuntimeDepsCheck nix-fast-build-2.0.4> Checking runtime dependencies for nix_fast_build-2.0.4-py3-none-any.whl skopeo-1.24.1> source root is source skopeo-1.24.1> Running phase: patchPhase nix-fast-build-2.0.4> Finished executing pythonRuntimeDepsCheck skopeo-1.24.1> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-fast-build-2.0.4> Running phase: installPhase nix-fast-build-2.0.4> Executing pypaInstallPhase skopeo-1.24.1> Running phase: configurePhase skopeo-1.24.1> Running phase: buildPhase skopeo-1.24.1> diff --git a/image/transports/alltransports/alltransports.go b/image/transports/alltransports/alltransports.go skopeo-1.24.1> --- a/image/transports/alltransports/alltransports.go skopeo-1.24.1> +++ b/image/transports/alltransports/alltransports.go skopeo-1.24.1> @@ -18,6 +18,7 @@ skopeo-1.24.1> _ "go.podman.io/image/v5/openshift" skopeo-1.24.1> _ "go.podman.io/image/v5/sif" skopeo-1.24.1> _ "go.podman.io/image/v5/tarball" skopeo-1.24.1> + _ "go.podman.io/image/v5/nix" skopeo-1.24.1> // The docker-daemon transport is registeredy by docker_daemon*.go skopeo-1.24.1> // The storage transport is registered by storage*.go skopeo-1.24.1> ) skopeo-1.24.1> --- /dev/null skopeo-1.24.1> +++ b/image/nix/transport.go skopeo-1.24.1> @@ -0,0 +1,206 @@ skopeo-1.24.1> +package nix skopeo-1.24.1> + skopeo-1.24.1> +import ( skopeo-1.24.1> + "context" skopeo-1.24.1> + "encoding/json" skopeo-1.24.1> + "fmt" skopeo-1.24.1> + "go.podman.io/image/v5/docker/reference" skopeo-1.24.1> + "go.podman.io/image/v5/image" skopeo-1.24.1> + "go.podman.io/image/v5/manifest" skopeo-1.24.1> + "go.podman.io/image/v5/transports" skopeo-1.24.1> + "go.podman.io/image/v5/types" skopeo-1.24.1> + "github.com/nlewo/nix2container/nix" skopeo-1.24.1> + nixtypes "github.com/nlewo/nix2container/types" skopeo-1.24.1> + digest "github.com/opencontainers/go-digest" skopeo-1.24.1> + imgspecv1 "github.com/opencontainers/image-spec/specs-go/v1" skopeo-1.24.1> + "github.com/pkg/errors" skopeo-1.24.1> + "io" skopeo-1.24.1> +) skopeo-1.24.1> + skopeo-1.24.1> +func init() { skopeo-1.24.1> + transports.Register(Transport) skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// Transport is an ImageTransport for nix2container JSON image specification. skopeo-1.24.1> +var Transport = nixTransport{} skopeo-1.24.1> + skopeo-1.24.1> +type nixTransport struct{} skopeo-1.24.1> + skopeo-1.24.1> +func (t nixTransport) Name() string { skopeo-1.24.1> + return "nix" skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +type nixReference struct { skopeo-1.24.1> + path string skopeo-1.24.1> + nixImage nixtypes.Image skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an ImageReference. skopeo-1.24.1> +func (t nixTransport) ParseReference(reference string) (types.ImageReference, error) { skopeo-1.24.1> + nixImage, err := nix.NewImageFromFile(reference) skopeo-1.24.1> + if err != nil { skopeo-1.24.1> + return nil, err skopeo-1.24.1> + } skopeo-1.24.1> + imageReference := nixReference{ skopeo-1.24.1> + path: reference, skopeo-1.24.1> + nixImage: nixImage, skopeo-1.24.1> + } skopeo-1.24.1> + return imageReference, nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// ValidatePolicyConfigurationScope checks that scope is a valid name for a signature.PolicyTransportScopes keys skopeo-1.24.1> +// (i.e. a valid PolicyConfigurationIdentity() or PolicyConfigurationNamespaces() return value). skopeo-1.24.1> +// It is acceptable to allow an invalid value which will never be matched, it can "only" cause user confusion. skopeo-1.24.1> +// scope passed to this function will not be "", that value is always allowed. skopeo-1.24.1> +func (t nixTransport) ValidatePolicyConfigurationScope(scope string) error { skopeo-1.24.1> + // See the explanation in archiveReference.PolicyConfigurationIdentity. skopeo-1.24.1> + return errors.New(`nix: does not support any scopes except the default "" one`) skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// StringWithinTransport returns a string representation of the reference, which MUST be such that skopeo-1.24.1> +// reference.Transport().ParseReference(reference.StringWithinTransport()) returns an equivalent reference. skopeo-1.24.1> +func (ref nixReference) StringWithinTransport() string { skopeo-1.24.1> + return fmt.Sprintf("%s", ref.path) skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +func (ref nixReference) Transport() types.ImageTransport { skopeo-1.24.1> + return Transport skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// DeleteImage deletes the named image from the registry, if supported. skopeo-1.24.1> +func (ref nixReference) DeleteImage(ctx context.Context, sys *types.SystemContext) error { skopeo-1.24.1> + return errors.New("Deleting images not implemented for nix: images") skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// DockerReference returns a Docker reference associated with this reference skopeo-1.24.1> +// (fully explicit, i.e. !reference.IsNameOnly, but reflecting user intent, skopeo-1.24.1> +// not e.g. after redirect or alias processing), or nil if unknown/not applicable. skopeo-1.24.1> +func (ref nixReference) DockerReference() reference.Named { skopeo-1.24.1> + return nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// NewImage returns a types.ImageCloser for this reference, possibly specialized for this ImageTransport. skopeo-1.24.1> +// The caller must call .Close() on the returned ImageCloser. skopeo-1.24.1> +// NOTE: If any kind of signature verification should happen, build an UnparsedImage from the value returned by NewImageSource, skopeo-1.24.1> +// verify that UnparsedImage, and convert it into a real Image via image.FromUnparsedImage. skopeo-1.24.1> +// WARNING: This may not do the right thing for a manifest list, see image.FromSource for details. skopeo-1.24.1> +func (ref nixReference) NewImage(ctx context.Context, sys *types.SystemContext) (types.ImageCloser, error) { skopeo-1.24.1> + src, err := newImageSource(ctx, sys, ref) skopeo-1.24.1> + if err != nil { skopeo-1.24.1> + return nil, err skopeo-1.24.1> + } skopeo-1.24.1> + return image.FromSource(ctx, sys, src) skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// NewImageSource returns a types.ImageSource for this reference. skopeo-1.24.1> +// The caller must call .Close() on the returned ImageSource. skopeo-1.24.1> +func (ref nixReference) NewImageSource(ctx context.Context, sys *types.SystemContext) (types.ImageSource, error) { skopeo-1.24.1> + return newImageSource(ctx, sys, ref) skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// PolicyConfigurationIdentity returns a string representation of the reference, suitable for policy lookup. skopeo-1.24.1> +func (ref nixReference) PolicyConfigurationIdentity() string { skopeo-1.24.1> + return "" skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// PolicyConfigurationNamespaces returns a list of other policy configuration namespaces to search skopeo-1.24.1> +// for if explicit configuration for PolicyConfigurationIdentity() is not set skopeo-1.24.1> +func (ref nixReference) PolicyConfigurationNamespaces() []string { skopeo-1.24.1> + return []string{} skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// NewImageDestination returns a types.ImageDestination for this reference. skopeo-1.24.1> +// The caller must call .Close() on the returned ImageDestination. skopeo-1.24.1> +func (ref nixReference) NewImageDestination(ctx context.Context, sys *types.SystemContext) (types.ImageDestination, error) { skopeo-1.24.1> + return nil, errors.New("It is not possible to copy to nix: images") skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// newImageSource returns an ImageSource for reading from an existing directory. skopeo-1.24.1> +// newImageSource untars the file and saves it in a temp directory skopeo-1.24.1> +func newImageSource(ctx context.Context, sys *types.SystemContext, ref nixReference) (types.ImageSource, error) { skopeo-1.24.1> + return &nixImageSource{ skopeo-1.24.1> + ref: ref, skopeo-1.24.1> + }, nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +type nixImageSource struct { skopeo-1.24.1> + ref nixReference skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// Close removes resources associated with an initialized ImageSource, if any. skopeo-1.24.1> +// Close deletes the temporary directory at dst skopeo-1.24.1> +func (s *nixImageSource) Close() error { skopeo-1.24.1> + return nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +func (s *nixImageSource) GetBlob(ctx context.Context, info types.BlobInfo, cache types.BlobInfoCache) (io.ReadCloser, int64, error) { skopeo-1.24.1> + // TODO: returning the blob size here leads to the following error on image copy: skopeo-1.24.1> + // FATA[0000] writing blob: archive/tar: write too long skopeo-1.24.1> + rc, _, err := nix.GetBlob(s.ref.nixImage, info.Digest) skopeo-1.24.1> + return rc, -1, err skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// GetManifest returns the image's manifest along with its MIME type (which may be empty when it can't be determined but the manifest is available). skopeo-1.24.1> +// It may use a remote (= slow) service. skopeo-1.24.1> +// If instanceDigest is not nil, it contains a digest of the specific manifest instance to retrieve (when the primary manifest is a manifest list); skopeo-1.24.1> +// this never happens if the primary manifest is not a manifest list (e.g. if the source never returns manifest lists). skopeo-1.24.1> +func (s *nixImageSource) GetManifest(ctx context.Context, instanceDigest *digest.Digest) ([]byte, string, error) { skopeo-1.24.1> + configDigest, size, err := nix.GetConfigDigest(s.ref.nixImage) skopeo-1.24.1> + if err != nil { skopeo-1.24.1> + return nil, "", err skopeo-1.24.1> + } skopeo-1.24.1> + config := imgspecv1.Descriptor{ skopeo-1.24.1> + MediaType: imgspecv1.MediaTypeImageConfig, skopeo-1.24.1> + Size: size, skopeo-1.24.1> + Digest: configDigest, skopeo-1.24.1> + } skopeo-1.24.1> + skopeo-1.24.1> + var layers []imgspecv1.Descriptor skopeo-1.24.1> + for _, layer := range s.ref.nixImage.Layers { skopeo-1.24.1> + digest, err := digest.Parse(layer.Digest) skopeo-1.24.1> + if err != nil { skopeo-1.24.1> + return nil, "", err skopeo-1.24.1> + } skopeo-1.24.1> + layers = append(layers, imgspecv1.Descriptor{ skopeo-1.24.1> + MediaType: layer.MediaType, skopeo-1.24.1> + Size: layer.Size, skopeo-1.24.1> + Digest: digest, skopeo-1.24.1> + }) skopeo-1.24.1> + } skopeo-1.24.1> + skopeo-1.24.1> + m := manifest.OCI1FromComponents( skopeo-1.24.1> + config, skopeo-1.24.1> + layers, skopeo-1.24.1> + ) skopeo-1.24.1> + manifestBytes, err := json.Marshal(&m) skopeo-1.24.1> + if err != nil { skopeo-1.24.1> + return nil, "", err skopeo-1.24.1> + } skopeo-1.24.1> + return manifestBytes, imgspecv1.MediaTypeImageManifest, nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +func (s *nixImageSource) GetSignatures(ctx context.Context, instanceDigest *digest.Digest) ([][]byte, error) { skopeo-1.24.1> + return [][]byte{}, nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// HasThreadSafeGetBlob indicates whether GetBlob can be executed concurrently. skopeo-1.24.1> +func (s *nixImageSource) HasThreadSafeGetBlob() bool { skopeo-1.24.1> + return true skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// LayerInfosForCopy returns either nil (meaning the values in the manifest are fine), or updated values for the layer skopeo-1.24.1> +// blobsums that are listed in the image's manifest. If values are returned, they should be used when using GetBlob() skopeo-1.24.1> +// to read the image's layers. skopeo-1.24.1> +// If instanceDigest is not nil, it contains a digest of the specific manifest instance to retrieve BlobInfos for skopeo-1.24.1> +// (when the primary manifest is a manifest list); this never happens if the primary manifest is not a manifest list skopeo-1.24.1> +// (e.g. if the source never returns manifest lists). skopeo-1.24.1> +// The Digest field is guaranteed to be provided; Size may be -1. skopeo-1.24.1> +// WARNING: The list may contain duplicates, and they are semantically relevant. skopeo-1.24.1> +func (s *nixImageSource) LayerInfosForCopy(ctx context.Context, instanceDigest *digest.Digest) ([]types.BlobInfo, error) { skopeo-1.24.1> + return nil, nil skopeo-1.24.1> +} skopeo-1.24.1> + skopeo-1.24.1> +// Reference returns the reference used to set up this source. skopeo-1.24.1> +func (s *nixImageSource) Reference() types.ImageReference { skopeo-1.24.1> + return s.ref skopeo-1.24.1> +} skopeo-1.24.1> patching file transports/alltransports/alltransports.go skopeo-1.24.1> patching file nix/transport.go skopeo-1.24.1> /nix/var/nix/builds/nix-49185-1820205290/source skopeo-1.24.1> patching script interpreter paths in . skopeo-1.24.1> ./systemtest/make-noarch-manifest: interpreter directive changed from "#!/bin/sh" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/sh" skopeo-1.24.1> ./systemtest/run-tests: interpreter directive changed from "#!/bin/bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" nix-fast-build-2.0.4> Successfully installed nix_fast_build-2.0.4-py3-none-any.whl nix-fast-build-2.0.4> Finished executing pypaInstallPhase nix-fast-build-2.0.4> Running phase: pythonOutputDistPhase nix-fast-build-2.0.4> Executing pythonOutputDistPhase nix-fast-build-2.0.4> Finished executing pythonOutputDistPhase nix-fast-build-2.0.4> Running phase: fixupPhase skopeo-1.24.1> ./hack/test-system.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./hack/warn-destructive-tests.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" nix-fast-build-2.0.4> checking for references to /nix/var/nix/builds/nix-49180-2099326111/ in /nix/store/5zplw6ra9ccchrrgar5xwkvm5px0fw0w-nix-fast-build-2.0.4-dist... skopeo-1.24.1> ./hack/btrfs_installed_tag.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./hack/validate-git-marks.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" nix-fast-build-2.0.4> patching script interpreter paths in /nix/store/5zplw6ra9ccchrrgar5xwkvm5px0fw0w-nix-fast-build-2.0.4-dist nix-fast-build-2.0.4> checking for references to /nix/var/nix/builds/nix-49180-2099326111/ in /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4... skopeo-1.24.1> ./hack/sqlite_tag.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./hack/man-page-checker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./hack/libsubid_tag.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" nix-fast-build-2.0.4> patching script interpreter paths in /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4 nix-fast-build-2.0.4> stripping (with command strip and flags -S) in /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4/lib /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4/bin skopeo-1.24.1> ./hack/validate-vet.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./hack/tree_status.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./contrib/cirrus/mac_cleanup.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" skopeo-1.24.1> ./contrib/cirrus/runner.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash" nix-fast-build-2.0.4> Rewriting #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/bin/python3.14 to #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8 nix-fast-build-2.0.4> wrapping `/nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4/bin/nix-fast-build'... nix-fast-build-2.0.4> nix-fast-build-2.0.4> Builder called die: makeWrapper doesn't understand the arg --prefix PATH : /nix/store/9bwlwb6w731vnvn6x3hpa3qnvxcibkz0-nix-eval-jobs-2.35.4/bin:/nix/store/i609rdl5xi1fl1cpl70rn6dccqlbah6r-nix-2.35.3/bin:/nix/store/a8r42jvrfindh7hcbg535mab0kylnfr6-bash-interactive-5.3p20/bin nix-fast-build-2.0.4> Backtrace: nix-fast-build-2.0.4> 197 makeShellWrapper /nix/store/31s5k66q35jahgjgd86azshrw03h84xy-make-shell-wrapper-hook/nix-support/setup-hook nix-fast-build-2.0.4> 236 wrapProgramShell /nix/store/31s5k66q35jahgjgd86azshrw03h84xy-make-shell-wrapper-hook/nix-support/setup-hook nix-fast-build-2.0.4> 224 wrapProgram /nix/store/31s5k66q35jahgjgd86azshrw03h84xy-make-shell-wrapper-hook/nix-support/setup-hook nix-fast-build-2.0.4> 117 wrapPythonProgramsIn /nix/store/4pxf2s3bj73m9565cbxk26nhcfkrj6n3-wrap-python-hook/nix-support/setup-hook nix-fast-build-2.0.4> 4 wrapPythonPrograms /nix/store/4pxf2s3bj73m9565cbxk26nhcfkrj6n3-wrap-python-hook/nix-support/setup-hook nix-fast-build-2.0.4> 272 _callImplicitHook /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup nix-fast-build-2.0.4> 289 _eval /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup nix-fast-build-2.0.4> 228 runHook /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup nix-fast-build-2.0.4> 1674 fixupPhase /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup nix-fast-build-2.0.4> 1779 runPhase /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup nix-fast-build-2.0.4> 1834 genericBuild /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup nix-fast-build-2.0.4> 1 source /nix/store/shkw4qm9qcw5sc5n1k5jznc83ny02r39-default-builder.sh nix-fast-build-2.0.4> 3 main /nix/store/l622p70vy8k5sh7y5wizi5f2mic6ynpg-source-stdenv.sh nix-fast-build-2.0.4> warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy error: build of '/nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv' on 'grpc://[fddb:4344:343b:14b9:399:9324:19d9:3451]:50051?ca-cert=/run/nix-grpc-store/ca.crt&connect-timeout=5' failed: Cannot build '/nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4 /nix/store/5zplw6ra9ccchrrgar5xwkvm5px0fw0w-nix-fast-build-2.0.4-dist Last 25 log lines: > Running phase: fixupPhase > checking for references to /nix/var/nix/builds/nix-49180-2099326111/ in /nix/store/5zplw6ra9ccchrrgar5xwkvm5px0fw0w-nix-fast-build-2.0.4-dist... > patching script interpreter paths in /nix/store/5zplw6ra9ccchrrgar5xwkvm5px0fw0w-nix-fast-build-2.0.4-dist > checking for references to /nix/var/nix/builds/nix-49180-2099326111/ in /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4... > patching script interpreter paths in /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4 > stripping (with command strip and flags -S) in /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4/lib /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4/bin > Rewriting #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/bin/python3.14 to #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8 > wrapping `/nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4/bin/nix-fast-build'... > > Builder called die: makeWrapper doesn't understand the arg --prefix PATH : /nix/store/9bwlwb6w731vnvn6x3hpa3qnvxcibkz0-nix-eval-jobs-2.35.4/bin:/nix/store/i609rdl5xi1fl1cpl70rn6dccqlbah6r-nix-2.35.3/bin:/nix/store/a8r42jvrfindh7hcbg535mab0kylnfr6-bash-interactive-5.3p20/bin > Backtrace: > 197 makeShellWrapper /nix/store/31s5k66q35jahgjgd86azshrw03h84xy-make-shell-wrapper-hook/nix-support/setup-hook > 236 wrapProgramShell /nix/store/31s5k66q35jahgjgd86azshrw03h84xy-make-shell-wrapper-hook/nix-support/setup-hook > 224 wrapProgram /nix/store/31s5k66q35jahgjgd86azshrw03h84xy-make-shell-wrapper-hook/nix-support/setup-hook > 117 wrapPythonProgramsIn /nix/store/4pxf2s3bj73m9565cbxk26nhcfkrj6n3-wrap-python-hook/nix-support/setup-hook > 4 wrapPythonPrograms /nix/store/4pxf2s3bj73m9565cbxk26nhcfkrj6n3-wrap-python-hook/nix-support/setup-hook > 272 _callImplicitHook /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup > 289 _eval /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup > 228 runHook /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup > 1674 fixupPhase /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup > 1779 runPhase /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup > 1834 genericBuild /nix/store/4gqzn5ia76rp74p8fb6nvry3arbn3l7j-stdenv-darwin/setup > 1 source /nix/store/shkw4qm9qcw5sc5n1k5jznc83ny02r39-default-builder.sh > 3 main /nix/store/l622p70vy8k5sh7y5wizi5f2mic6ynpg-source-stdenv.sh > For full logs, run: nix log /nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv skopeo-1.24.1> go build -ldflags '-X go.podman.io/image/v5/signature/internal/sequoia.sequoiaLibraryDir= ' -gcflags "" -tags "exclude_graphdriver_btrfs " -o bin/skopeo ./cmd/skopeo error: Cannot build '/nix/store/whk39gbp2hi4wz2zp8kjx96kkp4lzhgj-nix-fast-build-2.0.4.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/4hi96hz26j18zrrc2gvv90vl16fb1ra0-nix-fast-build-2.0.4 /nix/store/5zplw6ra9ccchrrgar5xwkvm5px0fw0w-nix-fast-build-2.0.4-dist building '/nix/store/xh3h4xs39j4583anawkgi9lij3qimc15-ghq-shared-0.1.0.drv' on 'grpc://[fddb:4344:343b:14b9:399:9324:19d9:3451]:50051?ca-cert=/run/nix-grpc-store/ca.crt&connect-timeout=5' building '/nix/store/xh3h4xs39j4583anawkgi9lij3qimc15-ghq-shared-0.1.0.drv' on [fddb:4344:343b:14b9:399:9324:19d9:3451]:50051 ghq-shared-0.1.0> stibnite: building xh3h4xs39j4583anawkgi9lij3qimc15-ghq-shared-0.1.0.drv ghq-shared-0.1.0> Running phase: unpackPhase ghq-shared-0.1.0> unpacking source archive /nix/store/fik398xsxrdq8q7c17zrk1b3aqnqj49m-source ghq-shared-0.1.0> source root is source ghq-shared-0.1.0> Running phase: patchPhase ghq-shared-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase ghq-shared-0.1.0> Running phase: configurePhase ghq-shared-0.1.0> no configure script, doing nothing ghq-shared-0.1.0> Running phase: buildPhase ghq-shared-0.1.0> no Makefile or custom buildPhase, doing nothing ghq-shared-0.1.0> Running phase: installPhase ghq-shared-0.1.0> Running phase: fixupPhase ghq-shared-0.1.0> checking for references to /nix/var/nix/builds/nix-50282-1420312581/ in /nix/store/884y2zq25bq1i7z9qaymxjqhssgiarsg-ghq-shared-0.1.0... ghq-shared-0.1.0> patching script interpreter paths in /nix/store/884y2zq25bq1i7z9qaymxjqhssgiarsg-ghq-shared-0.1.0 ghq-shared-0.1.0> Running phase: installCheckPhase skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-copy.1.md | go-md2man -in /dev/stdin -out docs/skopeo-copy.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-delete.1.md | go-md2man -in /dev/stdin -out docs/skopeo-delete.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-generate-sigstore-key.1.md | go-md2man -in /dev/stdin -out docs/skopeo-generate-sigstore-key.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-inspect.1.md | go-md2man -in /dev/stdin -out docs/skopeo-inspect.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-list-tags.1.md | go-md2man -in /dev/stdin -out docs/skopeo-list-tags.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-login.1.md | go-md2man -in /dev/stdin -out docs/skopeo-login.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-logout.1.md | go-md2man -in /dev/stdin -out docs/skopeo-logout.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-manifest-digest.1.md | go-md2man -in /dev/stdin -out docs/skopeo-manifest-digest.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-standalone-sign.1.md | go-md2man -in /dev/stdin -out docs/skopeo-standalone-sign.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-standalone-verify.1.md | go-md2man -in /dev/stdin -out docs/skopeo-standalone-verify.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo-sync.1.md | go-md2man -in /dev/stdin -out docs/skopeo-sync.1 skopeo-1.24.1> sed -e 's/\((skopeo.*\.md)\)//' -e 's/\[\(skopeo.*\)\]/\1/' docs/skopeo.1.md | go-md2man -in /dev/stdin -out docs/skopeo.1 skopeo-1.24.1> go build -ldflags '-X go.podman.io/image/v5/signature/internal/sequoia.sequoiaLibraryDir= ' -gcflags "" -tags "exclude_graphdriver_btrfs " -o bin/skopeo ./cmd/skopeo skopeo-1.24.1> install -d -m 755 completions/bash completions/zsh completions/fish completions/powershell skopeo-1.24.1> ./bin/skopeo completion bash >| completions/bash/skopeo skopeo-1.24.1> ./bin/skopeo completion zsh >| completions/zsh/_skopeo skopeo-1.24.1> ./bin/skopeo completion fish >| completions/fish/skopeo.fish skopeo-1.24.1> ./bin/skopeo completion powershell >| completions/powershell/skopeo.ps1 skopeo-1.24.1> buildPhase completed in 1 minutes 27 seconds skopeo-1.24.1> Running phase: glibPreInstallPhase skopeo-1.24.1> Running phase: installPhase skopeo-1.24.1> go build -ldflags '-X go.podman.io/image/v5/signature/internal/sequoia.sequoiaLibraryDir= ' -gcflags "" -tags "exclude_graphdriver_btrfs " -o bin/skopeo ./cmd/skopeo skopeo-1.24.1> install -d -m 755 /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/bin skopeo-1.24.1> install -m 755 bin/skopeo /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/bin/skopeo skopeo-1.24.1> install -d -m 755 /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/man/man1 skopeo-1.24.1> install -m 644 docs/*.1 /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/man/man1 skopeo-1.24.1> go build -ldflags '-X go.podman.io/image/v5/signature/internal/sequoia.sequoiaLibraryDir= ' -gcflags "" -tags "exclude_graphdriver_btrfs " -o bin/skopeo ./cmd/skopeo skopeo-1.24.1> install -d -m 755 completions/bash completions/zsh completions/fish completions/powershell skopeo-1.24.1> ./bin/skopeo completion bash >| completions/bash/skopeo skopeo-1.24.1> ./bin/skopeo completion zsh >| completions/zsh/_skopeo skopeo-1.24.1> ./bin/skopeo completion fish >| completions/fish/skopeo.fish skopeo-1.24.1> ./bin/skopeo completion powershell >| completions/powershell/skopeo.ps1 skopeo-1.24.1> install -d -m 755 /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/bash-completion/completions skopeo-1.24.1> install -m 644 completions/bash/skopeo /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/bash-completion/completions skopeo-1.24.1> install -d -m 755 /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/zsh/site-functions skopeo-1.24.1> install -m 644 completions/zsh/_skopeo /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/zsh/site-functions skopeo-1.24.1> install -d -m 755 /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/fish/vendor_completions.d skopeo-1.24.1> install -m 644 completions/fish/skopeo.fish /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/fish/vendor_completions.d skopeo-1.24.1> # There is no common location for powershell files so do not install them. Users have to source the file from their powershell profile. skopeo-1.24.1> Running phase: fixupPhase skopeo-1.24.1> Moving /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/share/man to /nix/store/5jnzraj5chh9cigyy2gi2a7kr5lrv3z8-skopeo-1.24.1-man/share/man skopeo-1.24.1> checking for references to /nix/var/nix/builds/nix-49185-1820205290/ in /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1... skopeo-1.24.1> patching script interpreter paths in /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1 skopeo-1.24.1> stripping (with command strip and flags -S) in /nix/store/4q52sc46ygpf79rwjbpi219mqcqfi92a-skopeo-1.24.1/bin skopeo-1.24.1> checking for references to /nix/var/nix/builds/nix-49185-1820205290/ in /nix/store/5jnzraj5chh9cigyy2gi2a7kr5lrv3z8-skopeo-1.24.1-man... skopeo-1.24.1> gzipping man pages under /nix/store/5jnzraj5chh9cigyy2gi2a7kr5lrv3z8-skopeo-1.24.1-man/share/man/ skopeo-1.24.1> patching script interpreter paths in /nix/store/5jnzraj5chh9cigyy2gi2a7kr5lrv3z8-skopeo-1.24.1-man error: Cannot build '/nix/store/6b9grl9x4y1ryx1fd7w1x0kshl46barh-nix-shell.drv'. Reason: 1 dependency failed. Output paths: /nix/store/kl8a35xkmirfvapv0v0523k4ba1f1vr8-nix-shell