Loading pkgs/by-name/sk/skopeo/package.nix +18 −7 Original line number Diff line number Diff line Loading @@ -51,17 +51,28 @@ buildGoModule rec { btrfs-progs ]; buildPhase = '' buildPhase = '' runHook preBuild patchShebangs . make bin/skopeo completions docs make bin/skopeo docs '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' make completions '' + '' runHook postBuild ''; installPhase = '' runHook preInstall PREFIX=${placeholder "out"} make install-binary install-completions install-docs PREFIX=${placeholder "out"} make install-binary install-docs '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' PREFIX=${placeholder "out"} make install-completions '' + '' install ${passthru.policy}/default-policy.json -Dt $out/etc/containers '' + lib.optionalString stdenv.hostPlatform.isLinux '' Loading Loading
pkgs/by-name/sk/skopeo/package.nix +18 −7 Original line number Diff line number Diff line Loading @@ -51,17 +51,28 @@ buildGoModule rec { btrfs-progs ]; buildPhase = '' buildPhase = '' runHook preBuild patchShebangs . make bin/skopeo completions docs make bin/skopeo docs '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' make completions '' + '' runHook postBuild ''; installPhase = '' runHook preInstall PREFIX=${placeholder "out"} make install-binary install-completions install-docs PREFIX=${placeholder "out"} make install-binary install-docs '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' PREFIX=${placeholder "out"} make install-completions '' + '' install ${passthru.policy}/default-policy.json -Dt $out/etc/containers '' + lib.optionalString stdenv.hostPlatform.isLinux '' Loading