mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-11 15:08:52 +03:00
affine: copy license to docs
Moving just to $out can result in collisions. Best practise is to move the license files to the docs directory. See: https://discourse.nixos.org/t/collision-between-2-license-txt-from-2-different-packages/22071
This commit is contained in:
parent
e20d8ea9f4
commit
876e47e9e9
@ -29,7 +29,8 @@ in {
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib
|
||||
cp -r ./resources/* -t $out/lib/
|
||||
cp LICENSE* $out/
|
||||
mkdir -p $out/share/doc/affine/
|
||||
cp LICENSE* $out/share/doc/affine/
|
||||
install -Dm644 ${icon} $out/share/pixmaps/affine.png
|
||||
makeWrapper "${electron}/bin/electron" $out/bin/affine \
|
||||
--inherit-argv0 \
|
||||
|
Loading…
Reference in New Issue
Block a user