3
0
Fork 0
forked from mirrors/nixpkgs

mmc-utils: don't manually run make

It's better to let this be handled by stdenv.
This commit is contained in:
Alyssa Ross 2022-06-09 11:19:44 +00:00
parent dc08e07e7c
commit 77d0ed11f6

View file

@ -10,10 +10,9 @@ stdenv.mkDerivation {
sha256 = "D2QgntRsa6Y39nCkXQupXFbJR++JfBpMeEZE0Gv0btc=";
};
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "prefix=$(out)" ];
installPhase = ''
make install prefix=$out
postInstall = ''
mkdir -p $out/share/man/man1
cp man/mmc.1 $out/share/man/man1/
'';