nix-unit: add missing wrapper
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
, ninja
|
, ninja
|
||||||
, cmake
|
, cmake
|
||||||
, clang-tools
|
, clang-tools
|
||||||
|
, difftastic
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@@ -33,6 +34,10 @@ stdenv.mkDerivation {
|
|||||||
cmake
|
cmake
|
||||||
] ++ (lib.optional stdenv.cc.isClang [ clang-tools ]);
|
] ++ (lib.optional stdenv.cc.isClang [ clang-tools ]);
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/nix-unit" --prefix PATH : ${difftastic}/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Nix unit test runner";
|
description = "Nix unit test runner";
|
||||||
homepage = "https://github.com/adisbladis/nix-unit";
|
homepage = "https://github.com/adisbladis/nix-unit";
|
||||||
|
|||||||
Reference in New Issue
Block a user