mustache-hpp: fix build w/glibc-2.34

Actually, this package doesn't need a build as it copies over the
.hpp-file only, so I simplified it a bit.

Failing Hydra build: https://hydra.nixos.org/build/163643601
This commit is contained in:
Maximilian Bosch 2022-01-10 16:34:40 +01:00
parent 52bba1de8a
commit 322c490803
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "mustache";
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb";
};
nativeBuildInputs = [ cmake ];
dontBuild = true;
installPhase = ''
mkdir -p $out/include
cp ../mustache.hpp $out/include
cp mustache.hpp $out/include
'';
meta = with lib; {