bscpkgs/test/bugs/hwloc.nix

21 lines
221 B
Nix
Raw Permalink Normal View History

2020-12-04 11:18:44 +01:00
{
stdenv
, hwloc
, strace
}:
stdenv.mkDerivation {
name = "hwloc-test";
src = ./.;
buildInputs = [ hwloc strace ];
buildPhase = ''
ls -l /sys
gcc -lhwloc hwloc.c -o hwloc
strace ./hwloc
'';
}