Loading pkgs/by-name/md/mdsf/package.nix +13 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, versionCheckHook, nix-update-script, installShellFiles, }: let pname = "mdsf"; Loading @@ -24,6 +26,17 @@ rustPlatform.buildRustPackage { # many tests fail for various reasons of which most depend on the build sandbox doCheck = false; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd mdsf \ --bash <($out/bin/mdsf completions bash) \ --zsh <($out/bin/mdsf completions zsh) \ --fish <($out/bin/mdsf completions fish) \ --nushell <($out/bin/mdsf completions nushell) ''; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru.updateScript = nix-update-script { }; Loading Loading
pkgs/by-name/md/mdsf/package.nix +13 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, versionCheckHook, nix-update-script, installShellFiles, }: let pname = "mdsf"; Loading @@ -24,6 +26,17 @@ rustPlatform.buildRustPackage { # many tests fail for various reasons of which most depend on the build sandbox doCheck = false; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd mdsf \ --bash <($out/bin/mdsf completions bash) \ --zsh <($out/bin/mdsf completions zsh) \ --fish <($out/bin/mdsf completions fish) \ --nushell <($out/bin/mdsf completions nushell) ''; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru.updateScript = nix-update-script { }; Loading