3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #170322 from jhh/fix/nut-compile

nut: fix compile error
This commit is contained in:
Sandro 2022-04-26 01:49:20 +02:00 committed by GitHub
commit 31ae5f95a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
postInstall = ''
wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
"$out/lib:${neon}/lib:${libusb-compat-0_1.out}/lib:${avahi}/lib:${freeipmi}/lib"