nix-unit: add missing wrapper
Some checks failed
checks-impure / test (pull_request) Failing after 1m0s
checks / test (pull_request) Failing after 2m35s

This commit is contained in:
Jörg Thalheim 2023-11-24 08:22:13 +01:00
parent ce1ad9f8c2
commit 882a5011c0

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";