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:
@@ -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 = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user