nix-unit: add missing wrapper

This commit is contained in:
Jörg Thalheim
2023-11-24 08:22:13 +01:00
parent 0e6840a91d
commit 642ca139d0

View File

@@ -9,6 +9,7 @@
, ninja
, cmake
, clang-tools
, difftastic
}:
stdenv.mkDerivation {
@@ -33,6 +34,10 @@ stdenv.mkDerivation {
cmake
] ++ (lib.optional stdenv.cc.isClang [ clang-tools ]);
postInstall = ''
wrapProgram "$out/bin/nix-unit" --prefix PATH : ${difftastic}/bin
'';
meta = {
description = "Nix unit test runner";
homepage = "https://github.com/adisbladis/nix-unit";