bscpkgs/pkgs/nixtools/default.nix

19 lines
383 B
Nix
Raw Normal View History

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