edac-utils: fix makeWrapper call

This commit is contained in:
Robin Gloster 2017-08-10 03:43:04 +02:00
parent ffd46e9bce
commit 60418e9196
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -25,9 +25,7 @@ stdenv.mkDerivation {
postInstall = ''
wrapProgram "$out/sbin/edac-ctl" \
--set PATH : "" \
--prefix PATH : "${dmidecode}/bin" \
--prefix PATH : "${kmod}/bin"
--set PATH ${stdenv.lib.makeBinPath [ dmidecode kmod ]}
'';
meta = with stdenv.lib; {