u9fs: use install(1) for copying files
This commit is contained in:
parent
168bdc3c7d
commit
fd02a092d2
1 changed files with 2 additions and 3 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue