cgreen: Fix some uses of /usr/bin
This commit is contained in:
parent
4b7d195177
commit
a8bc4ffbf1
|
@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-aQrfsiPuNrEMscZrOoONiN665KlNmnOiYj9ZIyzW304=";
|
sha256 = "sha256-aQrfsiPuNrEMscZrOoONiN665KlNmnOiYj9ZIyzW304=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for F in tools/discoverer_acceptance_tests.c tools/discoverer.c; do
|
||||||
|
substituteInPlace "$F" --replace "/usr/bin/nm" "nm"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue