about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/cbfmt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/cbfmt/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/cbfmt/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/tools/cbfmt/default.nix b/nixpkgs/pkgs/development/tools/cbfmt/default.nix
index 17340d7a7a76..f4af306400ab 100644
--- a/nixpkgs/pkgs/development/tools/cbfmt/default.nix
+++ b/nixpkgs/pkgs/development/tools/cbfmt/default.nix
@@ -13,15 +13,13 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "sha256-6oZCpjQ8t/QLFhEtF7td8KGI/kFE04pg7OELutsrJKo=";
 
-  # Work around https://github.com/NixOS/nixpkgs/issues/166205.
-  env = lib.optionalAttrs stdenv.cc.isClang { NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; };
-
   passthru.tests.version = testers.testVersion {
     package = cbfmt;
   };
 
   meta = with lib; {
     description = "A tool to format codeblocks inside markdown and org documents";
+    mainProgram = "cbfmt";
     homepage = "https://github.com/lukas-reineke/cbfmt";
     license = licenses.mit;
     maintainers = [ maintainers.stehessel ];