Skip to content

Commit

Permalink
Use install instead of cp and chmod
Browse files Browse the repository at this point in the history
Co-authored-by: Leah Amelia Chen <[email protected]>
  • Loading branch information
smaret and pluiedev authored Dec 26, 2024
1 parent 7ca8d34 commit 432af05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/by-name/im/imager/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ stdenv.mkDerivation (finalAttrs: {
mkdir -p $out/bin
cp -a ../gildas-exe/* $out
mv $out/$GAG_EXEC_SYSTEM $out/libexec
cp admin/wrapper.sh $out/bin/imager
chmod 755 $out/bin/imager
install -Dm755 admin/wrapper.sh $out/bin/imager
'';

meta = {
Expand Down

0 comments on commit 432af05

Please sign in to comment.