This commit is contained in:
@@ -44,15 +44,15 @@ stdenv.mkDerivation (final: {
|
|||||||
# https://github.com/intel/intel-lpmd?tab=readme-ov-file#build-and-install
|
# https://github.com/intel/intel-lpmd?tab=readme-ov-file#build-and-install
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
./autogen.sh --localstatedir=/var --sysconfdir=$out/etc
|
./autogen.sh --localstatedir=/var --sysconfdir=$out/etc
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make
|
make
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
cp ./intel_lpmd $out/bin/intel_lpmd
|
cp ./intel_lpmd $out/bin/intel_lpmd
|
||||||
'';
|
'';
|
||||||
# Needed for config files, which the program will not run without.
|
# Needed for config files, which the program will not run without.
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/etc/intel_lpmd/"
|
mkdir -p "$out/etc/intel_lpmd/"
|
||||||
cp $src/data/* $out/etc/intel_lpmd/ -r
|
cp $src/data/* $out/etc/intel_lpmd/ -r
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user