2020-10-05 12:33:44 +02:00
|
|
|
{
|
|
|
|
stdenv
|
2020-10-05 16:40:22 +02:00
|
|
|
, glibc
|
2020-10-05 12:33:44 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-13 14:16:30 +02:00
|
|
|
pname = "nixtools";
|
|
|
|
version = "${src.shortRev}";
|
|
|
|
src = builtins.fetchGit {
|
2020-12-07 13:47:17 +01:00
|
|
|
url = "ssh://git@bscpm03.bsc.es/rarias/nixtools";
|
2020-10-13 14:16:30 +02:00
|
|
|
ref = "master";
|
|
|
|
};
|
2020-10-05 16:40:22 +02:00
|
|
|
buildInputs = [ glibc.static ];
|
2020-10-05 12:33:44 +02:00
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
preBuild = "env";
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
}
|