nix-unit: pin nix version

This will always break and this way we can delay how often we update it.
This commit is contained in:
Jörg Thalheim
2023-11-24 08:26:38 +01:00
parent 882a5011c0
commit 6d670fed42

View File

@@ -10,6 +10,7 @@
, cmake , cmake
, clang-tools , clang-tools
, difftastic , difftastic
, makeWrapper
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@@ -23,7 +24,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
nlohmann_json nlohmann_json
nixVersions.stable nixVersions.nix_2_18
boost boost
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@@ -32,6 +33,7 @@ stdenv.mkDerivation {
ninja ninja
# nlohmann_json can be only discovered via cmake files # nlohmann_json can be only discovered via cmake files
cmake cmake
makeWrapper
] ++ (lib.optional stdenv.cc.isClang [ clang-tools ]); ] ++ (lib.optional stdenv.cc.isClang [ clang-tools ]);
postInstall = '' postInstall = ''