u9fs: use install(1) for copying files

This commit is contained in:
sternenseemann 2022-03-22 10:55:06 +01:00 committed by ehmry
parent 168bdc3c7d
commit fd02a092d2

View file

@ -11,9 +11,8 @@ stdenv.mkDerivation {
};
installPhase = ''
mkdir -p $out/bin $out/share/man/man4
cp u9fs.man $out/share/man/man4/u9fs.4
cp u9fs $out/bin
install -Dm644 u9fs.man "$out/share/man/man4/u9fs.4"
install -Dm755 u9fs -t "$out/bin"
'';
meta = with lib; {