cri-o: drop flavor

This commit is contained in:
zowoq 2020-05-12 06:40:08 +10:00
parent 90c0191735
commit 1d909f5fdb

View File

@ -1,5 +1,4 @@
{ flavor ? "" { stdenv
, stdenv
, btrfs-progs , btrfs-progs
, buildGoPackage , buildGoPackage
, fetchFromGitHub , fetchFromGitHub
@ -18,7 +17,6 @@
buildGoPackage rec { buildGoPackage rec {
pname = "cri-o"; pname = "cri-o";
version = "1.18.0"; version = "1.18.0";
name = "${pname}-${version}${flavor}";
goPackagePath = "github.com/cri-o/cri-o"; goPackagePath = "github.com/cri-o/cri-o";
@ -54,9 +52,7 @@ buildGoPackage rec {
''; '';
installPhase = '' installPhase = ''
install -Dm755 bin/crio $out/bin/crio${flavor} install -Dm755 bin/* -t $out/bin
install -Dm755 bin/crio-status $out/bin/crio-status${flavor}
install -Dm755 bin/pinns $out/bin/pinns${flavor}
for shell in bash fish zsh; do for shell in bash fish zsh; do
installShellCompletion --$shell completions/$shell/* installShellCompletion --$shell completions/$shell/*